Chromium Code Reviews| 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 b647427b1bdf18ab319e29ca36d9cbbced6ea76c..bc3660306a205e87feca22daabe5ea615e07ae33 100644 |
| --- a/mojo/public/cpp/application/application_impl.h |
| +++ b/mojo/public/cpp/application/application_impl.h |
| @@ -60,7 +60,7 @@ class ApplicationImpl : public InterfaceImpl<Application> { |
| Shell* shell() const { return shell_.get(); } |
| // Returns any initial configuration arguments, passed by the Shell. |
| - const Array<String>& args() { return args_; } |
| + const std::vector<std::string>& args() { return args_; } |
|
viettrungluu
2014/10/16 22:47:19
This method should be const.
|
| // Establishes a new connection to an application. Caller does not own. |
| ApplicationConnection* ConnectToApplication(const String& application_url); |
| @@ -102,7 +102,7 @@ class ApplicationImpl : public InterfaceImpl<Application> { |
| ApplicationDelegate* delegate_; |
| ShellPtr shell_; |
| ShellPtrWatcher* shell_watch_; |
| - Array<String> args_; |
| + std::vector<std::string> args_; |
| MOJO_DISALLOW_COPY_AND_ASSIGN(ApplicationImpl); |
| }; |