| 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 #include "android_webview/browser/aw_content_browser_client.h" | 5 #include "android_webview/browser/aw_content_browser_client.h" |
| 6 | 6 |
| 7 #include "android_webview/browser/aw_browser_context.h" | 7 #include "android_webview/browser/aw_browser_context.h" |
| 8 #include "android_webview/browser/aw_browser_main_parts.h" | 8 #include "android_webview/browser/aw_browser_main_parts.h" |
| 9 #include "android_webview/browser/aw_contents_client_bridge_base.h" | 9 #include "android_webview/browser/aw_contents_client_bridge_base.h" |
| 10 #include "android_webview/browser/aw_cookie_access_policy.h" | 10 #include "android_webview/browser/aw_cookie_access_policy.h" |
| 11 #include "android_webview/browser/aw_quota_permission_context.h" | 11 #include "android_webview/browser/aw_quota_permission_context.h" |
| 12 #include "android_webview/browser/jni_dependency_factory.h" | 12 #include "android_webview/browser/jni_dependency_factory.h" |
| 13 #include "android_webview/browser/net_disk_cache_remover.h" | 13 #include "android_webview/browser/net_disk_cache_remover.h" |
| 14 #include "android_webview/browser/renderer_host/aw_resource_dispatcher_host_dele
gate.h" | 14 #include "android_webview/browser/renderer_host/aw_resource_dispatcher_host_dele
gate.h" |
| 15 #include "android_webview/common/url_constants.h" | 15 #include "android_webview/common/url_constants.h" |
| 16 #include "base/android/locale_utils.h" | 16 #include "base/android/locale_utils.h" |
| 17 #include "base/base_paths_android.h" | 17 #include "base/base_paths_android.h" |
| 18 #include "base/path_service.h" | 18 #include "base/path_service.h" |
| 19 #include "content/public/browser/access_token_store.h" | 19 #include "content/public/browser/access_token_store.h" |
| 20 #include "content/public/browser/child_process_security_policy.h" | 20 #include "content/public/browser/child_process_security_policy.h" |
| 21 #include "content/public/browser/render_process_host.h" | 21 #include "content/public/browser/render_process_host.h" |
| 22 #include "content/public/browser/render_view_host.h" | 22 #include "content/public/browser/render_view_host.h" |
| 23 #include "content/public/common/url_constants.h" | 23 #include "content/public/common/url_constants.h" |
| 24 #include "grit/ui_resources.h" | 24 #include "grit/ui_resources.h" |
| 25 #include "net/android/network_library.h" | 25 #include "net/android/network_library.h" |
| 26 #include "net/base/ssl_info.h" | 26 #include "net/ssl/ssl_info.h" |
| 27 #include "ui/base/resource/resource_bundle.h" | 27 #include "ui/base/resource/resource_bundle.h" |
| 28 | 28 |
| 29 namespace { | 29 namespace { |
| 30 | 30 |
| 31 class AwAccessTokenStore : public content::AccessTokenStore { | 31 class AwAccessTokenStore : public content::AccessTokenStore { |
| 32 public: | 32 public: |
| 33 AwAccessTokenStore() { } | 33 AwAccessTokenStore() { } |
| 34 | 34 |
| 35 // content::AccessTokenStore implementation | 35 // content::AccessTokenStore implementation |
| 36 virtual void LoadAccessTokens( | 36 virtual void LoadAccessTokens( |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 | 377 |
| 378 bool AwContentBrowserClient::AllowPepperSocketAPI( | 378 bool AwContentBrowserClient::AllowPepperSocketAPI( |
| 379 content::BrowserContext* browser_context, | 379 content::BrowserContext* browser_context, |
| 380 const GURL& url, | 380 const GURL& url, |
| 381 const content::SocketPermissionRequest& params) { | 381 const content::SocketPermissionRequest& params) { |
| 382 NOTREACHED() << "Android WebView does not support plugins"; | 382 NOTREACHED() << "Android WebView does not support plugins"; |
| 383 return false; | 383 return false; |
| 384 } | 384 } |
| 385 | 385 |
| 386 } // namespace android_webview | 386 } // namespace android_webview |
| OLD | NEW |