| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MOJO_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ | 5 #ifndef SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ |
| 6 #define MOJO_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ | 6 #define SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "mojo/application_manager/application_loader.h" | |
| 16 #include "mojo/application_manager/application_manager_export.h" | |
| 17 #include "mojo/application_manager/shell_impl.h" | |
| 18 #include "mojo/public/interfaces/application/service_provider.mojom.h" | 15 #include "mojo/public/interfaces/application/service_provider.mojom.h" |
| 16 #include "shell/application_manager/application_loader.h" |
| 17 #include "shell/application_manager/application_manager_export.h" |
| 18 #include "shell/application_manager/shell_impl.h" |
| 19 #include "url/gurl.h" | 19 #include "url/gurl.h" |
| 20 | 20 |
| 21 namespace mojo { | 21 namespace mojo { |
| 22 | 22 |
| 23 class MOJO_APPLICATION_MANAGER_EXPORT ApplicationManager { | 23 class MOJO_APPLICATION_MANAGER_EXPORT ApplicationManager { |
| 24 public: | 24 public: |
| 25 class MOJO_APPLICATION_MANAGER_EXPORT Delegate { | 25 class MOJO_APPLICATION_MANAGER_EXPORT Delegate { |
| 26 public: | 26 public: |
| 27 virtual ~Delegate(); | 27 virtual ~Delegate(); |
| 28 // Send when the Application holding the handle on the other end of the | 28 // Send when the Application holding the handle on the other end of the |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 URLToContentHandlerMap url_to_content_handler_; | 146 URLToContentHandlerMap url_to_content_handler_; |
| 147 URLToArgsMap url_to_args_; | 147 URLToArgsMap url_to_args_; |
| 148 | 148 |
| 149 base::WeakPtrFactory<ApplicationManager> weak_ptr_factory_; | 149 base::WeakPtrFactory<ApplicationManager> weak_ptr_factory_; |
| 150 | 150 |
| 151 DISALLOW_COPY_AND_ASSIGN(ApplicationManager); | 151 DISALLOW_COPY_AND_ASSIGN(ApplicationManager); |
| 152 }; | 152 }; |
| 153 | 153 |
| 154 } // namespace mojo | 154 } // namespace mojo |
| 155 | 155 |
| 156 #endif // MOJO_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ | 156 #endif // SHELL_APPLICATION_MANAGER_APPLICATION_MANAGER_H_ |
| OLD | NEW |