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

Side by Side Diff: trunk/src/chrome/renderer/extensions/dispatcher.h

Issue 13852042: Revert 195143 "Prevent chrome.app JSON schema from loading on ev..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_RENDERER_EXTENSIONS_DISPATCHER_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_DISPATCHER_H_
6 #define CHROME_RENDERER_EXTENSIONS_DISPATCHER_H_ 6 #define CHROME_RENDERER_EXTENSIONS_DISPATCHER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 // Sets up the host permissions for |extension|. 186 // Sets up the host permissions for |extension|.
187 void InitOriginPermissions(const Extension* extension); 187 void InitOriginPermissions(const Extension* extension);
188 void AddOrRemoveOriginPermissions( 188 void AddOrRemoveOriginPermissions(
189 UpdatedExtensionPermissionsInfo::Reason reason, 189 UpdatedExtensionPermissionsInfo::Reason reason,
190 const Extension* extension, 190 const Extension* extension,
191 const URLPatternSet& origins); 191 const URLPatternSet& origins);
192 192
193 void RegisterNativeHandlers(ModuleSystem* module_system, 193 void RegisterNativeHandlers(ModuleSystem* module_system,
194 ChromeV8Context* context); 194 ChromeV8Context* context);
195 void RegisterSchemaGeneratedBindings(ModuleSystem* module_system, 195 void RegisterSchemaGeneratedBindings(ModuleSystem* module_system,
196 ChromeV8Context* context); 196 ChromeV8Context* context,
197 v8::Handle<v8::Context> v8_context);
197 198
198 // Inserts static source code into |source_map_|. 199 // Inserts static source code into |source_map_|.
199 void PopulateSourceMap(); 200 void PopulateSourceMap();
200 201
201 // Inserts BindingInstallers into |lazy_bindings_map_|. 202 // Inserts BindingInstallers into |lazy_bindings_map_|.
202 void PopulateLazyBindingsMap(); 203 void PopulateLazyBindingsMap();
203 204
204 // Sets up the bindings for the given api. 205 // Sets up the bindings for the given api.
205 void InstallBindings(ModuleSystem* module_system, 206 void InstallBindings(ModuleSystem* module_system,
206 v8::Handle<v8::Context> v8_context, 207 v8::Handle<v8::Context> v8_context,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 268
268 // Sends API requests to the extension host. 269 // Sends API requests to the extension host.
269 scoped_ptr<RequestSender> request_sender_; 270 scoped_ptr<RequestSender> request_sender_;
270 271
271 DISALLOW_COPY_AND_ASSIGN(Dispatcher); 272 DISALLOW_COPY_AND_ASSIGN(Dispatcher);
272 }; 273 };
273 274
274 } // namespace extensions 275 } // namespace extensions
275 276
276 #endif // CHROME_RENDERER_EXTENSIONS_DISPATCHER_H_ 277 #endif // CHROME_RENDERER_EXTENSIONS_DISPATCHER_H_
OLDNEW
« no previous file with comments | « trunk/src/chrome/renderer/extensions/chrome_v8_context.cc ('k') | trunk/src/chrome/renderer/extensions/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698