Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Side by Side Diff: extensions/renderer/bindings/api_bindings_system.h

Issue 2947463002: [Extensions Bindings] Add a bindings/ subdirectory under renderer (Closed)
Patch Set: . Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 EXTENSIONS_RENDERER_API_BINDINGS_SYSTEM_H_ 5 #ifndef EXTENSIONS_RENDERER_BINDINGS_API_BINDINGS_SYSTEM_H_
6 #define EXTENSIONS_RENDERER_API_BINDINGS_SYSTEM_H_ 6 #define EXTENSIONS_RENDERER_BINDINGS_API_BINDINGS_SYSTEM_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "extensions/renderer/api_binding.h" 14 #include "extensions/renderer/bindings/api_binding.h"
15 #include "extensions/renderer/api_binding_types.h" 15 #include "extensions/renderer/bindings/api_binding_types.h"
16 #include "extensions/renderer/api_event_handler.h" 16 #include "extensions/renderer/bindings/api_event_handler.h"
17 #include "extensions/renderer/api_last_error.h" 17 #include "extensions/renderer/bindings/api_last_error.h"
18 #include "extensions/renderer/api_request_handler.h" 18 #include "extensions/renderer/bindings/api_request_handler.h"
19 #include "extensions/renderer/api_type_reference_map.h" 19 #include "extensions/renderer/bindings/api_type_reference_map.h"
20 20
21 namespace base { 21 namespace base {
22 class DictionaryValue; 22 class DictionaryValue;
23 class ListValue; 23 class ListValue;
24 } 24 }
25 25
26 namespace extensions { 26 namespace extensions {
27 class APIBindingHooks; 27 class APIBindingHooks;
28 28
29 // A class encompassing the necessary pieces to construct the JS entry points 29 // A class encompassing the necessary pieces to construct the JS entry points
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // API. Curried in for testing purposes so we can use fake APIs. 135 // API. Curried in for testing purposes so we can use fake APIs.
136 GetAPISchemaMethod get_api_schema_; 136 GetAPISchemaMethod get_api_schema_;
137 137
138 APIBinding::AvailabilityCallback is_available_; 138 APIBinding::AvailabilityCallback is_available_;
139 139
140 DISALLOW_COPY_AND_ASSIGN(APIBindingsSystem); 140 DISALLOW_COPY_AND_ASSIGN(APIBindingsSystem);
141 }; 141 };
142 142
143 } // namespace 143 } // namespace
144 144
145 #endif // EXTENSIONS_RENDERER_API_BINDINGS_SYSTEM_H_ 145 #endif // EXTENSIONS_RENDERER_BINDINGS_API_BINDINGS_SYSTEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698