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

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

Issue 10675007: Move each permission classes to its own files in extensions/permissions (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase again Created 8 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 (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_EXTENSION_DISPATCHER_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_
6 #define CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_ 6 #define CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 void OnLoaded( 143 void OnLoaded(
144 const std::vector<ExtensionMsg_Loaded_Params>& loaded_extensions); 144 const std::vector<ExtensionMsg_Loaded_Params>& loaded_extensions);
145 void OnUnloaded(const std::string& id); 145 void OnUnloaded(const std::string& id);
146 void OnSetScriptingWhitelist( 146 void OnSetScriptingWhitelist(
147 const extensions::Extension::ScriptingWhitelist& extension_ids); 147 const extensions::Extension::ScriptingWhitelist& extension_ids);
148 void OnPageActionsUpdated(const std::string& extension_id, 148 void OnPageActionsUpdated(const std::string& extension_id,
149 const std::vector<std::string>& page_actions); 149 const std::vector<std::string>& page_actions);
150 void OnActivateExtension(const std::string& extension_id); 150 void OnActivateExtension(const std::string& extension_id);
151 void OnUpdatePermissions(int reason_id, 151 void OnUpdatePermissions(int reason_id,
152 const std::string& extension_id, 152 const std::string& extension_id,
153 const ExtensionAPIPermissionSet& apis, 153 const extensions::APIPermissionSet& apis,
154 const URLPatternSet& explicit_hosts, 154 const URLPatternSet& explicit_hosts,
155 const URLPatternSet& scriptable_hosts); 155 const URLPatternSet& scriptable_hosts);
156 void OnUpdateTabSpecificPermissions(int page_id, 156 void OnUpdateTabSpecificPermissions(int page_id,
157 int tab_id, 157 int tab_id,
158 const std::string& extension_id, 158 const std::string& extension_id,
159 const URLPatternSet& origin_set); 159 const URLPatternSet& origin_set);
160 void OnClearTabSpecificPermissions( 160 void OnClearTabSpecificPermissions(
161 int tab_id, 161 int tab_id,
162 const std::vector<std::string>& extension_ids); 162 const std::vector<std::string>& extension_ids);
163 void OnUpdateUserScripts(base::SharedMemoryHandle table); 163 void OnUpdateUserScripts(base::SharedMemoryHandle table);
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 scoped_ptr<ExtensionRequestSender> request_sender_; 255 scoped_ptr<ExtensionRequestSender> request_sender_;
256 256
257 // The current channel. From VersionInfo::GetChannel(). 257 // The current channel. From VersionInfo::GetChannel().
258 // TODO(aa): Remove when we can restrict non-permission APIs to dev-only. 258 // TODO(aa): Remove when we can restrict non-permission APIs to dev-only.
259 int chrome_channel_; 259 int chrome_channel_;
260 260
261 DISALLOW_COPY_AND_ASSIGN(ExtensionDispatcher); 261 DISALLOW_COPY_AND_ASSIGN(ExtensionDispatcher);
262 }; 262 };
263 263
264 #endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_ 264 #endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_render_view_observer.cc ('k') | chrome/renderer/extensions/extension_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698