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

Unified Diff: chrome/browser/renderer_host/pepper/pepper_flash_browser_host.h

Issue 11705003: Change PepperFlashBrowserHost to use CookieSettings to get the LSO settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years 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
Index: chrome/browser/renderer_host/pepper/pepper_flash_browser_host.h
diff --git a/chrome/browser/renderer_host/pepper/pepper_flash_browser_host.h b/chrome/browser/renderer_host/pepper/pepper_flash_browser_host.h
index 6b38c368941fb9eb22dad05f7e4e2daadd88f8d9..466e4f4a3d7c28317c18017f784ca155eec20661 100644
--- a/chrome/browser/renderer_host/pepper/pepper_flash_browser_host.h
+++ b/chrome/browser/renderer_host/pepper/pepper_flash_browser_host.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_BROWSER_HOST_H_
#include "base/basictypes.h"
+#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "ppapi/host/host_message_context.h"
#include "ppapi/host/resource_host.h"
@@ -19,6 +20,7 @@ class BrowserPpapiHost;
class ResourceContext;
}
+class CookieSettings;
class GURL;
namespace chrome {
@@ -46,12 +48,12 @@ class PepperFlashBrowserHost : public ppapi::host::ResourceHost {
void GetLocalDataRestrictions(ppapi::host::ReplyMessageContext reply_context,
const GURL& document_url,
const GURL& plugin_url,
- content::ResourceContext* resource_context);
+ scoped_refptr<CookieSettings> cookie_settings);
content::BrowserPpapiHost* host_;
int render_process_id_;
// For fetching the Flash LSO settings.
- content::ResourceContext* resource_context_;
+ scoped_refptr<CookieSettings> cookie_settings_;
base::WeakPtrFactory<PepperFlashBrowserHost> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(PepperFlashBrowserHost);
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698