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

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

Issue 7720022: Third-party appcache blocking. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Moving checks. Created 9 years, 3 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 16 matching lines...) Expand all
27 const GURL& url) OVERRIDE; 27 const GURL& url) OVERRIDE;
28 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; 28 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE;
29 virtual std::string GetCanonicalEncodingNameByAliasName( 29 virtual std::string GetCanonicalEncodingNameByAliasName(
30 const std::string& alias_name) OVERRIDE; 30 const std::string& alias_name) OVERRIDE;
31 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, 31 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
32 int child_process_id) OVERRIDE; 32 int child_process_id) OVERRIDE;
33 virtual std::string GetApplicationLocale() OVERRIDE; 33 virtual std::string GetApplicationLocale() OVERRIDE;
34 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; 34 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE;
35 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; 35 virtual SkBitmap* GetDefaultFavicon() OVERRIDE;
36 virtual bool AllowAppCache(const GURL& manifest_url, 36 virtual bool AllowAppCache(const GURL& manifest_url,
37 const GURL& first_party,
37 const content::ResourceContext& context) OVERRIDE; 38 const content::ResourceContext& context) OVERRIDE;
38 virtual bool AllowGetCookie(const GURL& url, 39 virtual bool AllowGetCookie(const GURL& url,
39 const GURL& first_party, 40 const GURL& first_party,
40 const net::CookieList& cookie_list, 41 const net::CookieList& cookie_list,
41 const content::ResourceContext& context, 42 const content::ResourceContext& context,
42 int render_process_id, 43 int render_process_id,
43 int render_view_id) OVERRIDE; 44 int render_view_id) OVERRIDE;
44 virtual bool AllowSetCookie(const GURL& url, 45 virtual bool AllowSetCookie(const GURL& url,
45 const GURL& first_party, 46 const GURL& first_party,
46 const std::string& cookie_line, 47 const std::string& cookie_line,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 #if defined(USE_NSS) 118 #if defined(USE_NSS)
118 virtual 119 virtual
119 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 120 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
120 const GURL& url) OVERRIDE; 121 const GURL& url) OVERRIDE;
121 #endif 122 #endif
122 }; 123 };
123 124
124 } // namespace content 125 } // namespace content
125 126
126 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 127 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698