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

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

Issue 7745048: Allow content to get the system request context, a request context not tied to any profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 <string> 9 #include <string>
10 10
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 virtual void UpdateInspectorSetting(RenderViewHost* rvh, 112 virtual void UpdateInspectorSetting(RenderViewHost* rvh,
113 const std::string& key, 113 const std::string& key,
114 const std::string& value) OVERRIDE; 114 const std::string& value) OVERRIDE;
115 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; 115 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE;
116 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; 116 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE;
117 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; 117 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE;
118 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; 118 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE;
119 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; 119 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE;
120 virtual net::URLRequestContextGetter* 120 virtual net::URLRequestContextGetter*
121 GetDefaultRequestContextDeprecatedCrBug64339() OVERRIDE; 121 GetDefaultRequestContextDeprecatedCrBug64339() OVERRIDE;
122 virtual net::URLRequestContextGetter* GetSystemRequestContext() OVERRIDE;
122 123
123 #if defined(OS_POSIX) && !defined(OS_MACOSX) 124 #if defined(OS_POSIX) && !defined(OS_MACOSX)
124 virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE; 125 virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE;
125 #endif 126 #endif
126 127
127 #if defined(OS_WIN) 128 #if defined(OS_WIN)
128 virtual const wchar_t* GetResourceDllName() OVERRIDE; 129 virtual const wchar_t* GetResourceDllName() OVERRIDE;
129 #endif 130 #endif
130 131
131 #if defined(USE_NSS) 132 #if defined(USE_NSS)
132 virtual 133 virtual
133 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 134 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
134 const GURL& url) OVERRIDE; 135 const GURL& url) OVERRIDE;
135 #endif 136 #endif
136 }; 137 };
137 138
138 } // namespace content 139 } // namespace content
139 140
140 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_ 141 #endif // CONTENT_BROWSER_MOCK_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/content_browser_client.h ('k') | content/browser/mock_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698