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

Unified Diff: shell/application_manager/local_fetcher.cc

Issue 943053003: Simple multi-url support for mojo apps (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebase + fix android Created 5 years, 10 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/local_fetcher.cc
diff --git a/shell/application_manager/local_fetcher.cc b/shell/application_manager/local_fetcher.cc
index ad58ee03ccc6a3b0f49c47903e858267376509b1..62271a93389c4136ef5429346e544ddef78ce4cd 100644
--- a/shell/application_manager/local_fetcher.cc
+++ b/shell/application_manager/local_fetcher.cc
@@ -25,8 +25,9 @@ void IgnoreResult(bool result) {
// A loader for local files.
LocalFetcher::LocalFetcher(const GURL& url,
+ const GURL& url_without_query,
const FetchCallback& loader_callback)
- : Fetcher(loader_callback), url_(url), path_(UrlToFile(url)) {
+ : Fetcher(loader_callback), url_(url), path_(UrlToFile(url_without_query)) {
loader_callback_.Run(make_scoped_ptr(this));
}

Powered by Google App Engine
This is Rietveld 408576698