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

Unified Diff: shell/application_manager/local_fetcher.cc

Issue 951643002: Register application connections under their post-redirect URL. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cleanup 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 19d2febd833fb863b5cf3c746f37e10058b65aff..ad58ee03ccc6a3b0f49c47903e858267376509b1 100644
--- a/shell/application_manager/local_fetcher.cc
+++ b/shell/application_manager/local_fetcher.cc
@@ -45,6 +45,14 @@ base::FilePath LocalFetcher::UrlToFile(const GURL& url) {
return path;
}
+const GURL& LocalFetcher::GetURL() const {
+ return url_;
+}
+
+GURL LocalFetcher::GetRedirectURL() const {
+ return GURL::EmptyGURL();
+}
+
URLResponsePtr LocalFetcher::AsURLResponse(base::TaskRunner* task_runner,
uint32_t skip) {
URLResponsePtr response(URLResponse::New());

Powered by Google App Engine
This is Rietveld 408576698