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

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, 5 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 #include "extensions/renderer/binding_access_checker.h" 20 #include "extensions/renderer/bindings/binding_access_checker.h"
21 21
22 namespace base { 22 namespace base {
23 class DictionaryValue; 23 class DictionaryValue;
24 class ListValue; 24 class ListValue;
25 } 25 }
26 26
27 namespace extensions { 27 namespace extensions {
28 class APIBindingHooks; 28 class APIBindingHooks;
29 29
30 // A class encompassing the necessary pieces to construct the JS entry points 30 // A class encompassing the necessary pieces to construct the JS entry points
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 // The method to retrieve the DictionaryValue describing a given extension 140 // The method to retrieve the DictionaryValue describing a given extension
141 // API. Curried in for testing purposes so we can use fake APIs. 141 // API. Curried in for testing purposes so we can use fake APIs.
142 GetAPISchemaMethod get_api_schema_; 142 GetAPISchemaMethod get_api_schema_;
143 143
144 DISALLOW_COPY_AND_ASSIGN(APIBindingsSystem); 144 DISALLOW_COPY_AND_ASSIGN(APIBindingsSystem);
145 }; 145 };
146 146
147 } // namespace 147 } // namespace
148 148
149 #endif // EXTENSIONS_RENDERER_API_BINDINGS_SYSTEM_H_ 149 #endif // EXTENSIONS_RENDERER_BINDINGS_API_BINDINGS_SYSTEM_H_
OLDNEW
« no previous file with comments | « extensions/renderer/bindings/api_binding_unittest.cc ('k') | extensions/renderer/bindings/api_bindings_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698