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

Side by Side Diff: chrome/browser/chrome_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
« no previous file with comments | « no previous file | chrome/browser/chrome_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) 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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 virtual void UpdateInspectorSetting(RenderViewHost* rvh, 108 virtual void UpdateInspectorSetting(RenderViewHost* rvh,
109 const std::string& key, 109 const std::string& key,
110 const std::string& value) OVERRIDE; 110 const std::string& value) OVERRIDE;
111 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE; 111 virtual void ClearInspectorSettings(RenderViewHost* rvh) OVERRIDE;
112 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE; 112 virtual void BrowserURLHandlerCreated(BrowserURLHandler* handler) OVERRIDE;
113 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE; 113 virtual void ClearCache(RenderViewHost* rvh) OVERRIDE;
114 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE; 114 virtual void ClearCookies(RenderViewHost* rvh) OVERRIDE;
115 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE; 115 virtual FilePath GetDefaultDownloadDirectory() OVERRIDE;
116 virtual net::URLRequestContextGetter* 116 virtual net::URLRequestContextGetter*
117 GetDefaultRequestContextDeprecatedCrBug64339() OVERRIDE; 117 GetDefaultRequestContextDeprecatedCrBug64339() OVERRIDE;
118 virtual net::URLRequestContextGetter* GetSystemRequestContext() OVERRIDE;
118 119
119 #if defined(OS_POSIX) && !defined(OS_MACOSX) 120 #if defined(OS_POSIX) && !defined(OS_MACOSX)
120 // Can return an optional fd for crash handling, otherwise returns -1. 121 // Can return an optional fd for crash handling, otherwise returns -1.
121 virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE; 122 virtual int GetCrashSignalFD(const std::string& process_type) OVERRIDE;
122 #endif 123 #endif
123 #if defined(OS_WIN) 124 #if defined(OS_WIN)
124 virtual const wchar_t* GetResourceDllName() OVERRIDE; 125 virtual const wchar_t* GetResourceDllName() OVERRIDE;
125 #endif 126 #endif
126 #if defined(USE_NSS) 127 #if defined(USE_NSS)
127 virtual 128 virtual
128 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 129 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
129 const GURL& url) OVERRIDE; 130 const GURL& url) OVERRIDE;
130 #endif 131 #endif
131 }; 132 };
132 133
133 } // namespace chrome 134 } // namespace chrome
134 135
135 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 136 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698