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

Side by Side Diff: chrome/browser/extensions/extension_function_dispatcher.h

Issue 10815028: Make ActiveTabPermissionManager also grant the tabs permission. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: oops Created 8 years, 4 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_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // |params|. Can be called on any thread. 113 // |params|. Can be called on any thread.
114 // Does not set subclass properties, or include_incognito. 114 // Does not set subclass properties, or include_incognito.
115 static ExtensionFunction* CreateExtensionFunction( 115 static ExtensionFunction* CreateExtensionFunction(
116 const ExtensionHostMsg_Request_Params& params, 116 const ExtensionHostMsg_Request_Params& params,
117 const extensions::Extension* extension, 117 const extensions::Extension* extension,
118 int requesting_process_id, 118 int requesting_process_id,
119 const extensions::ProcessMap& process_map, 119 const extensions::ProcessMap& process_map,
120 extensions::ExtensionAPI* api, 120 extensions::ExtensionAPI* api,
121 void* profile, 121 void* profile,
122 IPC::Sender* ipc_sender, 122 IPC::Sender* ipc_sender,
123 content::RenderViewHost* render_view_host,
123 int routing_id); 124 int routing_id);
124 125
125 // Helper to send an access denied error to the requesting renderer. Can be 126 // Helper to send an access denied error to the requesting renderer. Can be
126 // called on any thread. 127 // called on any thread.
127 static void SendAccessDenied(IPC::Sender* ipc_sender, 128 static void SendAccessDenied(IPC::Sender* ipc_sender,
128 int routing_id, 129 int routing_id,
129 int request_id); 130 int request_id);
130 131
131 Profile* profile_; 132 Profile* profile_;
132 133
133 Delegate* delegate_; 134 Delegate* delegate_;
134 }; 135 };
135 136
136 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_ 137 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_DISPATCHER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_function.cc ('k') | chrome/browser/extensions/extension_function_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698