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

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

Issue 10831045: Add PP_FlashLSORestrictions to the list of settings supported by the Flash_GetSetting Pepper API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: brett 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 #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
112 bool ContentBrowserClient::AllowSaveLocalState(ResourceContext* context) { 125 bool ContentBrowserClient::AllowSaveLocalState(ResourceContext* context) {
113 return true; 126 return true;
114 } 127 }
115 128
116 bool ContentBrowserClient::AllowWorkerDatabase( 129 bool ContentBrowserClient::AllowWorkerDatabase(
117 const GURL& url, 130 const GURL& url,
118 const string16& name, 131 const string16& name,
119 const string16& display_name, 132 const string16& display_name,
120 unsigned long estimated_size, 133 unsigned long estimated_size,
121 ResourceContext* context, 134 ResourceContext* context,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 #endif 234 #endif
222 235
223 #if defined(USE_NSS) 236 #if defined(USE_NSS)
224 crypto::CryptoModuleBlockingPasswordDelegate* 237 crypto::CryptoModuleBlockingPasswordDelegate*
225 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 238 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
226 return NULL; 239 return NULL;
227 } 240 }
228 #endif 241 #endif
229 242
230 } // namespace content 243 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/renderer/pepper/pepper_plugin_delegate_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698