| Index: mojo/shell/application_manager/application_manager.h
|
| diff --git a/mojo/shell/application_manager/application_manager.h b/mojo/shell/application_manager/application_manager.h
|
| index 44e581da17a2e7114c167382e3fda5aed5eccaf5..3ce1599b5d14137ea9f094a445eb2f1e1c4cd376 100644
|
| --- a/mojo/shell/application_manager/application_manager.h
|
| +++ b/mojo/shell/application_manager/application_manager.h
|
| @@ -36,9 +36,16 @@ class ApplicationManager {
|
| public:
|
| class Delegate {
|
| public:
|
| - virtual ~Delegate();
|
| - virtual GURL ResolveURL(const GURL& url);
|
| - virtual GURL ResolveMappings(const GURL& url);
|
| + // Gives the delegate a chance to apply any mappings for the specified url.
|
| + // This should not resolve 'mojo' urls, that is done by ResolveMojoURL().
|
| + virtual GURL ResolveMappings(const GURL& url) = 0;
|
| +
|
| + // Used to map a url with the scheme 'mojo' to the appropriate url. Return
|
| + // |url| if the scheme is not 'mojo'.
|
| + virtual GURL ResolveMojoURL(const GURL& url) = 0;
|
| +
|
| + protected:
|
| + virtual ~Delegate() {}
|
| };
|
|
|
| // API for testing.
|
|
|