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

Side by Side Diff: android_webview/browser/aw_browser_context.h

Issue 369703002: Remember user decisions on invalid certificates behind a flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed broken include Created 6 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) 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 ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "android_webview/browser/aw_download_manager_delegate.h" 10 #include "android_webview/browser/aw_download_manager_delegate.h"
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "components/visitedlink/browser/visitedlink_delegate.h" 16 #include "components/visitedlink/browser/visitedlink_delegate.h"
17 #include "content/public/browser/browser_context.h" 17 #include "content/public/browser/browser_context.h"
18 #include "content/public/browser/content_browser_client.h" 18 #include "content/public/browser/content_browser_client.h"
19 #include "net/url_request/url_request_job_factory.h" 19 #include "net/url_request/url_request_job_factory.h"
20 20
21 class GURL; 21 class GURL;
22 class PrefService; 22 class PrefService;
23 23
24 namespace content { 24 namespace content {
25 class ResourceContext; 25 class ResourceContext;
26 class SSLHostStateDelegate;
26 class WebContents; 27 class WebContents;
27 } 28 }
28 29
29 namespace data_reduction_proxy { 30 namespace data_reduction_proxy {
30 class DataReductionProxyAuthRequestHandler; 31 class DataReductionProxyAuthRequestHandler;
31 class DataReductionProxySettings; 32 class DataReductionProxySettings;
32 } 33 }
33 34
34 namespace net { 35 namespace net {
35 class CookieStore; 36 class CookieStore;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 int renderer_child_id) OVERRIDE; 105 int renderer_child_id) OVERRIDE;
105 virtual net::URLRequestContextGetter* 106 virtual net::URLRequestContextGetter*
106 GetMediaRequestContextForStoragePartition( 107 GetMediaRequestContextForStoragePartition(
107 const base::FilePath& partition_path, bool in_memory) OVERRIDE; 108 const base::FilePath& partition_path, bool in_memory) OVERRIDE;
108 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 109 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
109 virtual content::DownloadManagerDelegate* 110 virtual content::DownloadManagerDelegate*
110 GetDownloadManagerDelegate() OVERRIDE; 111 GetDownloadManagerDelegate() OVERRIDE;
111 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; 112 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE;
112 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 113 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
113 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; 114 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE;
115 virtual content::SSLHostStateDelegate* GetSSLHostStateDelegate() OVERRIDE;
114 116
115 // visitedlink::VisitedLinkDelegate implementation. 117 // visitedlink::VisitedLinkDelegate implementation.
116 virtual void RebuildTable( 118 virtual void RebuildTable(
117 const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE; 119 const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE;
118 120
119 private: 121 private:
120 static bool data_reduction_proxy_enabled_; 122 static bool data_reduction_proxy_enabled_;
121 123
122 // The file path where data for this context is persisted. 124 // The file path where data for this context is persisted.
123 base::FilePath context_storage_path_; 125 base::FilePath context_storage_path_;
(...skipping 14 matching lines...) Expand all
138 scoped_ptr<DataReductionProxySettings> data_reduction_proxy_settings_; 140 scoped_ptr<DataReductionProxySettings> data_reduction_proxy_settings_;
139 scoped_ptr<DataReductionProxyAuthRequestHandler> 141 scoped_ptr<DataReductionProxyAuthRequestHandler>
140 data_reduction_proxy_auth_request_handler_; 142 data_reduction_proxy_auth_request_handler_;
141 143
142 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); 144 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext);
143 }; 145 };
144 146
145 } // namespace android_webview 147 } // namespace android_webview
146 148
147 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 149 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_context.cc » ('j') | content/browser/ssl/ssl_host_state.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698