/external/chromium_org/components/ |
precache.gypi | 8 # GN Version: //components/precache/content 22 'precache/content/precache_manager.cc', 23 'precache/content/precache_manager.h', 24 'precache/content/precache_manager_factory.cc', 25 'precache/content/precache_manager_factory.h', 29 # GN version: //components/precache/core 42 'precache/core/precache_database.cc', 43 'precache/core/precache_database.h', 44 'precache/core/precache_fetcher.cc', 45 'precache/core/precache_fetcher.h' [all...] |
/external/chromium_org/components/precache/ |
DEPS | 2 # Precache is a layered component; subdirectories must introduce the ability 5 "-components/precache", 6 "+components/precache/core",
|
README | 1 The precache component contains code for an experimental prototype to 4 To enable this feature use the command line flag --enable-precache. 6 Precache is a layered component. See:
|
precache_defines.gypi | 8 # //components/precache/core:precache_config
|
/external/chromium_org/components/precache/core/ |
precache_switches.cc | 5 #include "components/precache/core/precache_switches.h" 7 namespace precache { namespace 12 const char kEnablePrecache[] = "enable-precache"; 15 const char kPrecacheConfigSettingsURL[] = "precache-config-settings-url"; 17 // Precache manifests will be served from URLs with this prefix. 18 const char kPrecacheManifestURLPrefix[] = "precache-manifest-url-prefix"; 21 } // namespace precache
|
precache_database_unittest.cc | 5 #include "components/precache/core/precache_database.h" 27 const char* kHistogramNames[] = {"Precache.DownloadedPrecacheMotivated", 28 "Precache.DownloadedNonPrecache", 29 "Precache.DownloadedNonPrecache.Cellular", 30 "Precache.Saved", 31 "Precache.Saved.Cellular"}; 52 namespace precache { namespace 72 UMA_HISTOGRAM_COUNTS("Precache.DownloadedPrecacheMotivated", 0); 73 UMA_HISTOGRAM_COUNTS("Precache.DownloadedNonPrecache", 0); 74 UMA_HISTOGRAM_COUNTS("Precache.DownloadedNonPrecache.Cellular", 0) [all...] |
precache_switches.h | 8 namespace precache { namespace 18 } // namespace precache
|
precache_url_table.h | 18 namespace precache { namespace 23 // since then. Manages one table { URL (primary key), precache timestamp }. 29 // Initialize the precache URL table for use with the specified database 35 // precache timestamp. Replaces the row if one already exists. 59 } // namespace precache
|
precache_database.h | 17 #include "components/precache/core/precache_url_table.h" 30 namespace precache { namespace 40 // Initializes the precache database, using the specified database file path. 44 // Deletes precache history from the precache URL table that is more than 60 48 // Report precache-related metrics in response to a URL being fetched, where 53 // Report precache-related metrics in response to a URL being fetched, where 107 } // namespace precache
|
url_list_provider.h | 13 namespace precache { namespace 26 } // namespace precache
|
precache_database.cc | 5 #include "components/precache/core/precache_database.h" 18 // The number of days old that an entry in the precache URL table can be before 24 namespace precache { namespace 43 db_->set_histogram_tag("Precache"); 68 // Delete old precache history that has expired. 93 // Since the precache came from the cache, and there's no entry in the URL 95 // because of user browsing. Thus, this precache had no effect, so ignore 101 // The precache only counts as overhead if it was downloaded over the 103 UMA_HISTOGRAM_COUNTS("Precache.DownloadedPrecacheMotivated", size); 132 // Ignore cache hits that precache can't take credit for [all...] |
precache_fetcher.cc | 5 #include "components/precache/core/precache_fetcher.h" 14 #include "components/precache/core/precache_switches.h" 15 #include "components/precache/core/proto/precache.pb.h" 25 namespace precache { namespace 39 // The precache config settings URL could not be determined, so return an 55 // The precache manifest URL prefix could not be determined, so return an 61 // Construct the URL of the precache manifest for the given starting URL. 140 DCHECK(precache_delegate_); // Precache delegate must be non-NULL. 143 << "Could not determine the precache config settings URL." [all...] |
precache_fetcher.h | 20 namespace precache { namespace 36 // PrecacheFetcher to work. This includes the URL that the precache 37 // configuration settings are fetched from and the prefix of URLs where precache 79 // Starts fetching resources to precache. URLs are fetched sequentially. Can 93 // Called when the precache configuration settings have been fetched. 95 // |starting_urls_| and information from the precache configuration settings. 99 // Called when a precache manifest has been fetched. Builds the list of 125 } // namespace precache
|
precache_url_table.cc | 5 #include "components/precache/core/precache_url_table.h" 24 namespace precache { namespace 90 } // namespace precache
|
BUILD.gn | 45 sources = [ "proto/precache.proto" ]
|
precache_fetcher_unittest.cc | 5 #include "components/precache/core/precache_fetcher.h" 17 #include "components/precache/core/precache_switches.h" 18 #include "components/precache/core/proto/precache.pb.h" 26 namespace precache { namespace 230 // OnDone to be called on the precache delegate. 244 // If the default precache configuration settings URL is defined, then test that 273 // If the default precache manifest URL prefix is defined, then test that it 310 } // namespace precache
|
precache_url_table_unittest.cc | 5 #include "components/precache/core/precache_url_table.h" 15 namespace precache { namespace 116 } // namespace precache
|
/external/chromium_org/components/precache/content/ |
precache_manager_factory.cc | 5 #include "components/precache/content/precache_manager_factory.h" 8 #include "components/precache/content/precache_manager.h" 11 namespace precache { namespace 36 } // namespace precache
|
BUILD.gn | 13 configs += [ "//components/precache/core:precache_config" ] 17 "//components/precache/core",
|
precache_manager_factory.h | 16 namespace precache { namespace 39 } // namespace precache
|
precache_manager_unittest.cc | 5 #include "components/precache/content/precache_manager.h" 21 #include "components/precache/core/precache_switches.h" 22 #include "components/precache/core/url_list_provider.h" 32 namespace precache { namespace 51 const char* kHistogramNames[] = {"Precache.DownloadedPrecacheMotivated", 52 "Precache.DownloadedNonPrecache", 53 "Precache.Saved"}; 151 // Make the fetch of the precache configuration settings fail. Precaching 216 // been called on the PrecacheFetcher, and the precache config settings have 229 // Even though the response for the precache config settings should not hav [all...] |
precache_manager.h | 16 #include "components/precache/core/precache_fetcher.h" 27 namespace precache { namespace 37 // TODO(sclittle): Delete precache history when browsing history is deleted. 69 // Update precache-related metrics in response to a URL being fetched. 87 // The PrecacheFetcher used to precache resources. Should only be used on the 95 // The PrecacheDatabase for tracking precache metrics. Should only be used on 105 } // namespace precache
|
precache_manager.cc | 5 #include "components/precache/content/precache_manager.h" 15 #include "components/precache/core/precache_database.h" 16 #include "components/precache/core/precache_switches.h" 17 #include "components/precache/core/url_list_provider.h" 27 const char kPrecacheFieldTrialName[] = "Precache"; 32 namespace precache { namespace 118 // Assume that precache is responsible for all requests made while 120 // TODO(sclittle): Make PrecacheFetcher explicitly mark precache-motivated 172 } // namespace precache
|
/external/chromium_org/chrome/browser/precache/ |
most_visited_urls_provider.h | 11 #include "components/precache/core/url_list_provider.h" 17 namespace precache { namespace 36 } // namespace precache
|
most_visited_urls_provider.cc | 5 #include "chrome/browser/precache/most_visited_urls_provider.h" 19 const precache::URLListProvider::GetURLsCallback& callback, 33 namespace precache { namespace 45 } // namespace precache
|