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

Side by Side Diff: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc

Issue 496873006: Move core web_view code to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove dependency of web_view_internal_api.h Created 6 years, 3 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
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 #include "chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate. h" 5 #include "chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate. h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/base64.h" 10 #include "base/base64.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 #if defined(ENABLE_CONFIGURATION_POLICY) 59 #if defined(ENABLE_CONFIGURATION_POLICY)
60 #include "components/policy/core/common/cloud/policy_header_io_helper.h" 60 #include "components/policy/core/common/cloud/policy_header_io_helper.h"
61 #endif 61 #endif
62 62
63 #if defined(ENABLE_EXTENSIONS) 63 #if defined(ENABLE_EXTENSIONS)
64 #include "chrome/browser/apps/app_url_redirector.h" 64 #include "chrome/browser/apps/app_url_redirector.h"
65 #include "chrome/browser/apps/ephemeral_app_throttle.h" 65 #include "chrome/browser/apps/ephemeral_app_throttle.h"
66 #include "chrome/browser/extensions/api/streams_private/streams_private_api.h" 66 #include "chrome/browser/extensions/api/streams_private/streams_private_api.h"
67 #include "chrome/browser/extensions/user_script_listener.h" 67 #include "chrome/browser/extensions/user_script_listener.h"
68 #include "chrome/browser/guest_view/web_view/web_view_renderer_state.h"
69 #include "chrome/common/extensions/manifest_handlers/mime_types_handler.h" 68 #include "chrome/common/extensions/manifest_handlers/mime_types_handler.h"
69 #include "extensions/browser/guest_view/web_view/web_view_renderer_state.h"
70 #include "extensions/browser/info_map.h" 70 #include "extensions/browser/info_map.h"
71 #include "extensions/common/constants.h" 71 #include "extensions/common/constants.h"
72 #include "extensions/common/user_script.h" 72 #include "extensions/common/user_script.h"
73 #endif 73 #endif
74 74
75 #if defined(ENABLE_MANAGED_USERS) 75 #if defined(ENABLE_MANAGED_USERS)
76 #include "chrome/browser/supervised_user/supervised_user_resource_throttle.h" 76 #include "chrome/browser/supervised_user/supervised_user_resource_throttle.h"
77 #endif 77 #endif
78 78
79 #if defined(USE_SYSTEM_PROTOBUF) 79 #if defined(USE_SYSTEM_PROTOBUF)
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 url_request->GetTotalReceivedBytes())); 735 url_request->GetTotalReceivedBytes()));
736 } 736 }
737 } 737 }
738 738
739 // static 739 // static
740 void ChromeResourceDispatcherHostDelegate:: 740 void ChromeResourceDispatcherHostDelegate::
741 SetExternalProtocolHandlerDelegateForTesting( 741 SetExternalProtocolHandlerDelegateForTesting(
742 ExternalProtocolHandler::Delegate* delegate) { 742 ExternalProtocolHandler::Delegate* delegate) {
743 g_external_protocol_handler_delegate = delegate; 743 g_external_protocol_handler_delegate = delegate;
744 } 744 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698