| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SHELL_CONTEXT_H_ | 5 #ifndef SHELL_CONTEXT_H_ |
| 6 #define SHELL_CONTEXT_H_ | 6 #define SHELL_CONTEXT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "mojo/application_manager/application_manager.h" | 11 #include "mojo/application_manager/application_manager.h" |
| 12 #include "mojo/common/trace_controller_impl.h" |
| 12 #include "shell/mojo_url_resolver.h" | 13 #include "shell/mojo_url_resolver.h" |
| 13 #include "shell/task_runners.h" | 14 #include "shell/task_runners.h" |
| 14 | 15 |
| 15 namespace mojo { | 16 namespace mojo { |
| 16 | 17 |
| 17 class Spy; | 18 class Spy; |
| 18 | 19 |
| 19 namespace shell { | 20 namespace shell { |
| 20 | 21 |
| 21 class DynamicApplicationLoader; | 22 class DynamicApplicationLoader; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 45 // ApplicationManager::Delegate override. | 46 // ApplicationManager::Delegate override. |
| 46 void OnApplicationError(const GURL& url) override; | 47 void OnApplicationError(const GURL& url) override; |
| 47 GURL ResolveURL(const GURL& url) override; | 48 GURL ResolveURL(const GURL& url) override; |
| 48 | 49 |
| 49 std::set<GURL> app_urls_; | 50 std::set<GURL> app_urls_; |
| 50 scoped_ptr<TaskRunners> task_runners_; | 51 scoped_ptr<TaskRunners> task_runners_; |
| 51 scoped_ptr<ExternalApplicationListener> listener_; | 52 scoped_ptr<ExternalApplicationListener> listener_; |
| 52 ApplicationManager application_manager_; | 53 ApplicationManager application_manager_; |
| 53 MojoURLResolver mojo_url_resolver_; | 54 MojoURLResolver mojo_url_resolver_; |
| 54 scoped_ptr<Spy> spy_; | 55 scoped_ptr<Spy> spy_; |
| 56 TraceControllerImpl trace_controller_; |
| 55 | 57 |
| 56 DISALLOW_COPY_AND_ASSIGN(Context); | 58 DISALLOW_COPY_AND_ASSIGN(Context); |
| 57 }; | 59 }; |
| 58 | 60 |
| 59 } // namespace shell | 61 } // namespace shell |
| 60 } // namespace mojo | 62 } // namespace mojo |
| 61 | 63 |
| 62 #endif // SHELL_CONTEXT_H_ | 64 #endif // SHELL_CONTEXT_H_ |
| OLD | NEW |