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

Unified Diff: mojo/shell/application_manager_unittest.cc

Issue 1346143004: Don't use resolved url for instance identity in ApplicationManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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 | « mojo/shell/application_manager.cc ('k') | mojo/shell/package_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/application_manager_unittest.cc
diff --git a/mojo/shell/application_manager_unittest.cc b/mojo/shell/application_manager_unittest.cc
index c626b01e557fd0a5c0605e6ff12b388eee6218f3..8cc0456236a4cca79976c25cd077e0402bdc86a1 100644
--- a/mojo/shell/application_manager_unittest.cc
+++ b/mojo/shell/application_manager_unittest.cc
@@ -474,16 +474,6 @@ class AMTestPackageManager : public TestPackageManager {
void set_mime_type(const std::string& mime_type) { mime_type_ = mime_type; }
// TestPackageManager:
- GURL ResolveURL(const GURL& url) override {
- GURL resolved_url = url;
- // The shell automatically map mojo URLs.
- if (resolved_url.scheme() == "mojo") {
- url::Replacements<char> replacements;
- replacements.SetScheme("file", url::Component(0, 4));
- resolved_url = resolved_url.ReplaceComponents(replacements);
- }
- return resolved_url;
- }
void FetchRequest(URLRequestPtr request,
const Fetcher::FetchCallback& loader_callback) override {
if (create_test_fetcher_)
« no previous file with comments | « mojo/shell/application_manager.cc ('k') | mojo/shell/package_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698