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

Side by Side Diff: chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.h

Issue 315413004: Remove param |context_type| from InitOriginPermissions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: is_extension_active Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_DISPATCHER_DELEGATE_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_DISPATCHER_DELEGATE_H_
6 #define CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_DISPATCHER_DELEGATE_H_ 6 #define CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_DISPATCHER_DELEGATE_H_
7 7
8 #include "extensions/renderer/dispatcher_delegate.h" 8 #include "extensions/renderer/dispatcher_delegate.h"
9 9
10 class ChromeExtensionsDispatcherDelegate 10 class ChromeExtensionsDispatcherDelegate
(...skipping 13 matching lines...) Expand all
24 return webrequest_other_; 24 return webrequest_other_;
25 } 25 }
26 26
27 private: 27 private:
28 // extensions::DispatcherDelegate implementation. 28 // extensions::DispatcherDelegate implementation.
29 virtual scoped_ptr<extensions::ScriptContext> CreateScriptContext( 29 virtual scoped_ptr<extensions::ScriptContext> CreateScriptContext(
30 const v8::Handle<v8::Context>& v8_context, 30 const v8::Handle<v8::Context>& v8_context,
31 blink::WebFrame* frame, 31 blink::WebFrame* frame,
32 const extensions::Extension* extension, 32 const extensions::Extension* extension,
33 extensions::Feature::Context context_type) OVERRIDE; 33 extensions::Feature::Context context_type) OVERRIDE;
34 virtual void InitOriginPermissions( 34 virtual void InitOriginPermissions(const extensions::Extension* extension,
35 const extensions::Extension* extension, 35 bool is_extension_active) OVERRIDE;
36 extensions::Feature::Context context_type) OVERRIDE;
37 virtual void RegisterNativeHandlers( 36 virtual void RegisterNativeHandlers(
38 extensions::Dispatcher* dispatcher, 37 extensions::Dispatcher* dispatcher,
39 extensions::ModuleSystem* module_system, 38 extensions::ModuleSystem* module_system,
40 extensions::ScriptContext* context) OVERRIDE; 39 extensions::ScriptContext* context) OVERRIDE;
41 virtual void PopulateSourceMap( 40 virtual void PopulateSourceMap(
42 extensions::ResourceBundleSourceMap* source_map) OVERRIDE; 41 extensions::ResourceBundleSourceMap* source_map) OVERRIDE;
43 virtual void RequireAdditionalModules( 42 virtual void RequireAdditionalModules(
44 extensions::ModuleSystem* module_system, 43 extensions::ModuleSystem* module_system,
45 const extensions::Extension* extension, 44 const extensions::Extension* extension,
46 extensions::Feature::Context context_type, 45 extensions::Feature::Context context_type,
(...skipping 18 matching lines...) Expand all
65 // Status of webrequest usage for known extensions. 64 // Status of webrequest usage for known extensions.
66 // TODO(mpcomplete): remove. http://crbug.com/100411 65 // TODO(mpcomplete): remove. http://crbug.com/100411
67 bool webrequest_adblock_; 66 bool webrequest_adblock_;
68 bool webrequest_adblock_plus_; 67 bool webrequest_adblock_plus_;
69 bool webrequest_other_; 68 bool webrequest_other_;
70 69
71 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsDispatcherDelegate); 70 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsDispatcherDelegate);
72 }; 71 };
73 72
74 #endif // CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_DISPATCHER_DELEGATE_H_ 73 #endif // CHROME_RENDERER_EXTENSIONS_CHROME_EXTENSIONS_DISPATCHER_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698