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

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

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
« no previous file with comments | « content/common/pepper_messages.h ('k') | content/public/browser/content_browser_client.cc » ('j') | 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 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 // Allow the embedder to control if the given cookie can be set. 200 // Allow the embedder to control if the given cookie can be set.
201 // This is called on the IO thread. 201 // This is called on the IO thread.
202 virtual bool AllowSetCookie(const GURL& url, 202 virtual bool AllowSetCookie(const GURL& url,
203 const GURL& first_party, 203 const GURL& first_party,
204 const std::string& cookie_line, 204 const std::string& cookie_line,
205 ResourceContext* context, 205 ResourceContext* context,
206 int render_process_id, 206 int render_process_id,
207 int render_view_id, 207 int render_view_id,
208 net::CookieOptions* options); 208 net::CookieOptions* options);
209 209
210 // Returns whether plug-ins should access locally stored data or whether all
211 // access should be blocked. The default is to allow local data access.
212 // This is called on the IO thread.
213 virtual bool AllowPluginLocalDataAccess(
214 const GURL& document_url,
215 const GURL& plugin_url,
216 content::ResourceContext* context);
217
218 // Returns whether plug-ins should keep locally stored data for the session
219 // only. The default is to store local data permanently.
220 // This is called on the IO thread.
221 virtual bool AllowPluginLocalDataSessionOnly(
222 const GURL& url,
223 content::ResourceContext* context);
224
210 // This is called on the IO thread. 225 // This is called on the IO thread.
211 virtual bool AllowSaveLocalState(ResourceContext* context); 226 virtual bool AllowSaveLocalState(ResourceContext* context);
212 227
213 // Allow the embedder to control if access to web database by a shared worker 228 // Allow the embedder to control if access to web database by a shared worker
214 // is allowed. |render_views| is a vector of pairs of 229 // is allowed. |render_views| is a vector of pairs of
215 // RenderProcessID/RenderViewID of RenderViews that are using this worker. 230 // RenderProcessID/RenderViewID of RenderViews that are using this worker.
216 // This is called on the IO thread. 231 // This is called on the IO thread.
217 virtual bool AllowWorkerDatabase( 232 virtual bool AllowWorkerDatabase(
218 const GURL& url, 233 const GURL& url,
219 const string16& name, 234 const string16& name,
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 // This is called on a worker thread. 446 // This is called on a worker thread.
432 virtual 447 virtual
433 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 448 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
434 const GURL& url); 449 const GURL& url);
435 #endif 450 #endif
436 }; 451 };
437 452
438 } // namespace content 453 } // namespace content
439 454
440 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 455 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/common/pepper_messages.h ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698