OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 IOS_WEB_WEBUI_MOJO_FACADE_H_ | 5 #ifndef IOS_WEB_WEBUI_MOJO_FACADE_H_ |
6 #define IOS_WEB_WEBUI_MOJO_FACADE_H_ | 6 #define IOS_WEB_WEBUI_MOJO_FACADE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #import "base/ios/weak_nsobject.h" | 11 #import "base/ios/weak_nsobject.h" |
12 #import "mojo/public/cpp/system/watcher.h" | 12 #include "mojo/public/cpp/system/watcher.h" |
13 | 13 |
14 @protocol CRWJSInjectionEvaluator; | 14 @protocol CRWJSInjectionEvaluator; |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class DictionaryValue; | 17 class DictionaryValue; |
18 class Value; | 18 class Value; |
19 } // base | 19 } // base |
20 | 20 |
21 namespace service_manager { | 21 namespace service_manager { |
22 namespace mojom { | 22 namespace mojom { |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 base::WeakNSProtocol<id<CRWJSInjectionEvaluator>> script_evaluator_; | 131 base::WeakNSProtocol<id<CRWJSInjectionEvaluator>> script_evaluator_; |
132 // Id of the last created watch. | 132 // Id of the last created watch. |
133 int last_watch_id_; | 133 int last_watch_id_; |
134 // Currently active watches created through this facade. | 134 // Currently active watches created through this facade. |
135 std::map<int, mojo::Watcher> watchers_; | 135 std::map<int, mojo::Watcher> watchers_; |
136 }; | 136 }; |
137 | 137 |
138 } // web | 138 } // web |
139 | 139 |
140 #endif // IOS_WEB_WEBUI_MOJO_FACADE_H_ | 140 #endif // IOS_WEB_WEBUI_MOJO_FACADE_H_ |
OLD | NEW |