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

Side by Side Diff: content/public/browser/content_browser_client.cc

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 7 years, 11 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 | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "content/public/browser/content_browser_client.h" 5 #include "content/public/browser/content_browser_client.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
9 #include "ui/gfx/image/image_skia.h" 9 #include "ui/gfx/image/image_skia.h"
10 10
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 bool ContentBrowserClient::AllowSetCookie(const GURL& url, 102 bool ContentBrowserClient::AllowSetCookie(const GURL& url,
103 const GURL& first_party, 103 const GURL& first_party,
104 const std::string& cookie_line, 104 const std::string& cookie_line,
105 ResourceContext* context, 105 ResourceContext* context,
106 int render_process_id, 106 int render_process_id,
107 int render_view_id, 107 int render_view_id,
108 net::CookieOptions* options) { 108 net::CookieOptions* options) {
109 return true; 109 return true;
110 } 110 }
111 111
112 bool ContentBrowserClient::AllowPluginLocalDataAccess(
113 const GURL& document_url,
114 const GURL& plugin_url,
115 content::ResourceContext* context) {
116 return true;
117 }
118
119 bool ContentBrowserClient::AllowPluginLocalDataSessionOnly(
120 const GURL& url,
121 content::ResourceContext* context) {
122 return false;
123 }
124
125 bool ContentBrowserClient::AllowSaveLocalState(ResourceContext* context) { 112 bool ContentBrowserClient::AllowSaveLocalState(ResourceContext* context) {
126 return true; 113 return true;
127 } 114 }
128 115
129 bool ContentBrowserClient::AllowWorkerDatabase( 116 bool ContentBrowserClient::AllowWorkerDatabase(
130 const GURL& url, 117 const GURL& url,
131 const string16& name, 118 const string16& name,
132 const string16& display_name, 119 const string16& display_name,
133 unsigned long estimated_size, 120 unsigned long estimated_size,
134 ResourceContext* context, 121 ResourceContext* context,
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 #endif 248 #endif
262 249
263 #if defined(USE_NSS) 250 #if defined(USE_NSS)
264 crypto::CryptoModuleBlockingPasswordDelegate* 251 crypto::CryptoModuleBlockingPasswordDelegate*
265 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 252 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
266 return NULL; 253 return NULL;
267 } 254 }
268 #endif 255 #endif
269 256
270 } // namespace content 257 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698