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

Unified Diff: chrome/renderer/render_thread.h

Issue 173166: Implement granular cross-origin XHR for extensions. (Closed)
Patch Set: some cleanup Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/extensions/extension_process_bindings.cc ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_thread.h
diff --git a/chrome/renderer/render_thread.h b/chrome/renderer/render_thread.h
index f90a6a9e0adb0e32a4da80f961763f34c0697f0b..12972572ba83fa7c322ed070fce8dafc8c0a0ebf 100644
--- a/chrome/renderer/render_thread.h
+++ b/chrome/renderer/render_thread.h
@@ -22,12 +22,13 @@ class DBMessageFilter;
class DevToolsAgentFilter;
class FilePath;
class ListValue;
-
class RenderDnsMaster;
class RendererHistogram;
class RendererWebKitClientImpl;
class SkBitmap;
class UserScriptSlave;
+class URLPattern;
+
struct ModalDialogEvent;
struct RendererPreferences;
struct WebPreferences;
@@ -126,8 +127,10 @@ class RenderThread : public RenderThreadBase,
void OnSetExtensionFunctionNames(const std::vector<std::string>& names);
void OnPageActionsUpdated(const std::string& extension_id,
const std::vector<std::string>& page_actions);
- void OnExtensionSetPermissions(const std::string& extension_id,
- const std::vector<std::string>& permissions);
+ void OnExtensionSetAPIPermissions(const std::string& extension_id,
+ const std::vector<std::string>& permissions);
Matt Perry 2009/08/21 00:30:06 80 chars
+ void OnExtensionSetHostPermissions(const GURL& extension_url,
+ const std::vector<URLPattern>& permissions);
void OnSetNextPageID(int32 next_page_id);
void OnSetCSSColors(const std::vector<CSSColors::CSSColorMapping>& colors);
void OnCreateNewView(gfx::NativeViewId parent_hwnd,
« no previous file with comments | « chrome/renderer/extensions/extension_process_bindings.cc ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698