| OLD | NEW |
| 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" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 class VisitedLinkMaster; | 50 class VisitedLinkMaster; |
| 51 } | 51 } |
| 52 | 52 |
| 53 namespace android_webview { | 53 namespace android_webview { |
| 54 | 54 |
| 55 class AwFormDatabaseService; | 55 class AwFormDatabaseService; |
| 56 class AwQuotaManagerBridge; | 56 class AwQuotaManagerBridge; |
| 57 class AwURLRequestContextGetter; | 57 class AwURLRequestContextGetter; |
| 58 class JniDependencyFactory; | 58 class JniDependencyFactory; |
| 59 | 59 |
| 60 namespace prefs { |
| 61 |
| 62 // Used for Kerberos authentication. |
| 63 extern const char kAuthAndroidNegotiateAccountType[]; |
| 64 extern const char kAuthServerWhitelist[]; |
| 65 |
| 66 } // namespace prefs |
| 67 |
| 60 class AwBrowserContext : public content::BrowserContext, | 68 class AwBrowserContext : public content::BrowserContext, |
| 61 public visitedlink::VisitedLinkDelegate { | 69 public visitedlink::VisitedLinkDelegate { |
| 62 public: | 70 public: |
| 63 | 71 |
| 64 AwBrowserContext(const base::FilePath path, | 72 AwBrowserContext(const base::FilePath path, |
| 65 JniDependencyFactory* native_factory); | 73 JniDependencyFactory* native_factory); |
| 66 ~AwBrowserContext() override; | 74 ~AwBrowserContext() override; |
| 67 | 75 |
| 68 // Currently only one instance per process is supported. | 76 // Currently only one instance per process is supported. |
| 69 static AwBrowserContext* GetDefault(); | 77 static AwBrowserContext* GetDefault(); |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 scoped_ptr<data_reduction_proxy::DataReductionProxyService> | 177 scoped_ptr<data_reduction_proxy::DataReductionProxyService> |
| 170 data_reduction_proxy_service_; | 178 data_reduction_proxy_service_; |
| 171 scoped_ptr<content::PermissionManager> permission_manager_; | 179 scoped_ptr<content::PermissionManager> permission_manager_; |
| 172 | 180 |
| 173 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 181 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
| 174 }; | 182 }; |
| 175 | 183 |
| 176 } // namespace android_webview | 184 } // namespace android_webview |
| 177 | 185 |
| 178 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 186 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
| OLD | NEW |