1. 23 May, 2017 2 commits
    • michaeln's avatar
      Add uma stats to help evaluate the impact of changes to the quota allocation logic. · 93ccede5
      michaeln authored
      This CL adds several Storage.BytesRead.XXX and Storage.BytesWritten.XXX histograms.
      The size of each read or write is logged at a low level for:
      CacheStorage, IndexedDB, ServiceWorker, and AppCache.
      
      Storage.BytesXXX.LevelDBEnv.IDB corresponds to IndexedDB. Some other leveldb consumers
      are also instrumented, for example LevelDBEnv.ServiceWorker, but not all of them are
      differentiated from one another, they are logged as LevelDBEnv, and some aren't
      instrumented at all.
      
      Here are the labels...
      
      <histogram_suffixes name="Storage.Bytes" separator=".">
        <suffix name="DiskCache.AppCache" label="AppCache usage."/>
        <suffix name="DiskCache.CacheStorage" label="CacheStorage usage."/>
        <suffix name="DiskCache.ServiceWorker"
            label="ServiceWorker scriptcache usage."/>
        <suffix name="LevelDBEnv" label="Undifferentiated leveldb usage."/>
        <suffix name="LevelDBEnv.IDB" label="IndexedDB usage."/>
        <suffix name="LevelDBEnv.ServiceWorker"
            label="ServiceWorker database usage."/>
        <suffix name="MojoLevelDBEnv" label="Mojo leveldb component usage."/>
        <affected-histogram name="Storage.BytesRead"/>
        <affected-histogram name="Storage.BytesWritten"/>
      </histogram_suffixes>
      
      BUG=605758
      
      Review-Url: https://codereview.chromium.org/2858133002
      Cr-Commit-Position: refs/heads/master@{#473752}
      93ccede5
    • twellington's avatar
      [Home] Make the new NTP over the tab switcher design the default · 075c148a
      twellington authored
      Removes the flags guarding the new NTP over the tab switcher design
      and replaces ChromeHomeNewTabPageTest with
      BottomSheetNewTabControllerTest.
      
      BUG=695973
      
      Review-Url: https://codereview.chromium.org/2891343003
      Cr-Commit-Position: refs/heads/master@{#473751}
      075c148a
  2. 22 May, 2017 38 commits