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

Unified Diff: shell/application_manager/application_manager.cc

Issue 1354623002: Force offline by default for warm benchmarks. (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
« no previous file with comments | « shell/application_manager/application_manager.h ('k') | shell/application_manager/network_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/application_manager/application_manager.cc
diff --git a/shell/application_manager/application_manager.cc b/shell/application_manager/application_manager.cc
index 374b6c92bbcedbcc13438d6262039c24bf43518a..3d411a7c32bdc0205da247675e3b069241ea916c 100644
--- a/shell/application_manager/application_manager.cc
+++ b/shell/application_manager/application_manager.cc
@@ -215,8 +215,9 @@ void ApplicationManager::ConnectToApplicationWithParameters(
initialized_authentication_interceptor_ = true;
}
- new NetworkFetcher(options_.disable_cache, resolved_url,
- url_response_disk_cache_.get(), network_service, callback);
+ new NetworkFetcher(options_.disable_cache, options_.force_offline_by_default,
+ resolved_url, url_response_disk_cache_.get(),
+ network_service, callback);
}
bool ApplicationManager::ConnectToRunningApplication(
« no previous file with comments | « shell/application_manager/application_manager.h ('k') | shell/application_manager/network_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698