| Index: mojo/public/cpp/application/application_impl.h
|
| diff --git a/mojo/public/cpp/application/application_impl.h b/mojo/public/cpp/application/application_impl.h
|
| index 46d368def198f5b7ba595a2e59b45c03afd0bbbc..68574fcc9f108e66fefacfd21c4a347b5c1be4c6 100644
|
| --- a/mojo/public/cpp/application/application_impl.h
|
| +++ b/mojo/public/cpp/application/application_impl.h
|
| @@ -58,6 +58,8 @@ class ApplicationImpl : public Application {
|
|
|
| Shell* shell() const { return shell_.get(); }
|
|
|
| + const std::string& url() const { return url_; }
|
| +
|
| // Returns any initial configuration arguments, passed by the Shell.
|
| const std::vector<std::string>& args() const { return args_; }
|
| bool HasArg(const std::string& arg) const;
|
| @@ -74,7 +76,9 @@ class ApplicationImpl : public Application {
|
| }
|
|
|
| // Application implementation.
|
| - void Initialize(ShellPtr shell, Array<String> args) override;
|
| + void Initialize(ShellPtr shell,
|
| + Array<String> args,
|
| + const mojo::String& url) override;
|
|
|
| // Block until the Application is initialized, if it is not already.
|
| void WaitForInitialize();
|
| @@ -113,6 +117,7 @@ class ApplicationImpl : public Application {
|
| Binding<Application> binding_;
|
| ShellPtr shell_;
|
| ShellPtrWatcher* shell_watch_;
|
| + std::string url_;
|
| std::vector<std::string> args_;
|
|
|
| MOJO_DISALLOW_COPY_AND_ASSIGN(ApplicationImpl);
|
|
|