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

Unified Diff: mojo/shell/context.h

Issue 696563002: Cache ShellImpl by resolved URL, not initial URL (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebase Created 6 years, 1 month 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/application_manager/application_manager_unittest.cc ('k') | mojo/shell/context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/context.h
diff --git a/mojo/shell/context.h b/mojo/shell/context.h
index 5b559101c662bbd2efa8c5061be4d12c57d60f23..33fb26693313d6aafa4a542103c0322444d16b36 100644
--- a/mojo/shell/context.h
+++ b/mojo/shell/context.h
@@ -33,9 +33,6 @@ class Context : ApplicationManager::Delegate {
void Init();
- // ApplicationManager::Delegate override.
- void OnApplicationError(const GURL& gurl) override;
-
void Run(const GURL& url);
ScopedMessagePipeHandle ConnectToServiceByName(
const GURL& application_url,
@@ -53,6 +50,10 @@ class Context : ApplicationManager::Delegate {
private:
class NativeViewportApplicationLoader;
+ // ApplicationManager::Delegate override.
+ void OnApplicationError(const GURL& url) override;
+ GURL ResolveURL(const GURL& url) override;
+
std::set<GURL> app_urls_;
scoped_ptr<TaskRunners> task_runners_;
scoped_ptr<ExternalApplicationListener> listener_;
« no previous file with comments | « mojo/application_manager/application_manager_unittest.cc ('k') | mojo/shell/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698