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

Side by Side Diff: content/browser/mock_content_browser_client.h

Issue 7480041: Adding session-only localStorage. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Streamlining: Moving ResourceContext& from DOMStorageContext to DOMMessageFilter. Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/browser/content_browser_client.h" 10 #include "content/browser/content_browser_client.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 int render_view_id) OVERRIDE; 42 int render_view_id) OVERRIDE;
43 virtual bool AllowSetCookie(const GURL& url, 43 virtual bool AllowSetCookie(const GURL& url,
44 const GURL& first_party, 44 const GURL& first_party,
45 const std::string& cookie_line, 45 const std::string& cookie_line,
46 const content::ResourceContext& context, 46 const content::ResourceContext& context,
47 int render_process_id, 47 int render_process_id,
48 int render_view_id, 48 int render_view_id,
49 net::CookieOptions* options) OVERRIDE; 49 net::CookieOptions* options) OVERRIDE;
50 virtual bool AllowSaveLocalState( 50 virtual bool AllowSaveLocalState(
51 const content::ResourceContext& context) OVERRIDE; 51 const content::ResourceContext& context) OVERRIDE;
52 virtual bool EnforceSessionOnlyStorage(
53 const GURL& url,
54 const GURL& first_party,
55 const content::ResourceContext& context) OVERRIDE;
52 virtual net::URLRequestContext* OverrideRequestContextForURL( 56 virtual net::URLRequestContext* OverrideRequestContextForURL(
53 const GURL& url, const content::ResourceContext& context) OVERRIDE; 57 const GURL& url, const content::ResourceContext& context) OVERRIDE;
54 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; 58 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE;
55 virtual void RevealFolderInOS(const FilePath& path) OVERRIDE; 59 virtual void RevealFolderInOS(const FilePath& path) OVERRIDE;
56 virtual void AllowCertificateError( 60 virtual void AllowCertificateError(
57 SSLCertErrorHandler* handler, 61 SSLCertErrorHandler* handler,
58 bool overridable, 62 bool overridable,
59 Callback2<SSLCertErrorHandler*, bool>::Type* callback) OVERRIDE; 63 Callback2<SSLCertErrorHandler*, bool>::Type* callback) OVERRIDE;
60 virtual void ShowClientCertificateRequestDialog( 64 virtual void ShowClientCertificateRequestDialog(
61 int render_process_id, 65 int render_process_id,
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 #if defined(USE_NSS) 119 #if defined(USE_NSS)
116 virtual 120 virtual
117 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 121 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
118 const GURL& url) OVERRIDE; 122 const GURL& url) OVERRIDE;
119 #endif 123 #endif
120 }; 124 };
121 125
122 } // namespace content 126 } // namespace content
123 127
124 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 128 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/in_process_webkit/dom_storage_namespace.cc ('k') | content/browser/mock_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698