Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Unified Diff: shell/application_manager/network_fetcher.h

Issue 1351693007: Add invalidation to url_response_disk_cache. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: shell/application_manager/network_fetcher.h
diff --git a/shell/application_manager/network_fetcher.h b/shell/application_manager/network_fetcher.h
index 2ef483be2ca1cdd2c366e5bafe0462fe5a08ef2a..d7bea830bda3a41876f0b8a16a9a0cfaa79c02ca 100644
--- a/shell/application_manager/network_fetcher.h
+++ b/shell/application_manager/network_fetcher.h
@@ -49,18 +49,19 @@ class NetworkFetcher : public Fetcher {
// are not loaded from cache to allow effective development.
bool CanLoadDirectlyFromCache();
- void LoadFromCache(bool schedule_update);
+ void LoadFromCache();
etiennej 2015/09/22 14:53:29 Some documentation on these methods would be helpf
qsr 2015/09/24 08:08:24 Done.
- void OnCachedResponseReceived(bool schedule_update,
- mojo::URLResponsePtr response,
- mojo::Array<uint8_t> path_as_array,
- mojo::Array<uint8_t> cache_dir);
+ void OnResponseReceived(bool schedule_update,
+ mojo::URLResponsePtr response,
+ mojo::Array<uint8_t> path_as_array,
+ mojo::Array<uint8_t> cache_dir);
void StartNetworkRequest();
void OnLoadComplete(mojo::URLResponsePtr response);
- void OnFileSavedToCache(mojo::Array<uint8_t> path_as_array,
+ void OnFileSavedToCache(mojo::URLResponsePtr response,
+ mojo::Array<uint8_t> path_as_array,
mojo::Array<uint8_t> cache_dir);
static void RecordCacheToURLMapping(const base::FilePath& path,
« no previous file with comments | « services/url_response_disk_cache/url_response_disk_cache_impl.cc ('k') | shell/application_manager/network_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698