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

Unified Diff: shell/application_manager/application_manager.cc

Issue 1131953006: Shell: switches cleanup. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: gn android fix Created 5 years, 7 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/application_manager.cc
diff --git a/shell/application_manager/application_manager.cc b/shell/application_manager/application_manager.cc
index 3b1128919b7dfc3c99af54f1f364ef9a20c51b4f..680c5016aff672bb9489fa2d889f58d12c581f86 100644
--- a/shell/application_manager/application_manager.cc
+++ b/shell/application_manager/application_manager.cc
@@ -94,10 +94,11 @@ bool ApplicationManager::TestAPI::HasFactoryForURL(const GURL& url) const {
manager_->identity_to_shell_impl_.end();
}
-ApplicationManager::ApplicationManager(Delegate* delegate)
- : delegate_(delegate),
+ApplicationManager::ApplicationManager(const Options& options,
+ Delegate* delegate)
+ : options_(options),
+ delegate_(delegate),
blocking_pool_(nullptr),
- disable_cache_(false),
weak_ptr_factory_(this) {
}
@@ -186,7 +187,8 @@ void ApplicationManager::ConnectToApplicationWithParameters(
&url_response_disk_cache_);
}
- new NetworkFetcher(disable_cache_, resolved_url, network_service_.get(),
+ new NetworkFetcher(options_.disable_cache, options_.predictable_app_filenames,
+ resolved_url, network_service_.get(),
url_response_disk_cache_.get(), callback);
}
« no previous file with comments | « shell/application_manager/application_manager.h ('k') | shell/application_manager/application_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698