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

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

Issue 797183005: Add a mimeHandler extension API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@streams-lifetime
Patch Set: rebase Created 5 years, 11 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 #if defined(ENABLE_CONFIGURATION_POLICY) 58 #if defined(ENABLE_CONFIGURATION_POLICY)
59 #include "components/policy/core/common/cloud/policy_header_io_helper.h" 59 #include "components/policy/core/common/cloud/policy_header_io_helper.h"
60 #endif 60 #endif
61 61
62 #if defined(ENABLE_EXTENSIONS) 62 #if defined(ENABLE_EXTENSIONS)
63 #include "chrome/browser/apps/app_url_redirector.h" 63 #include "chrome/browser/apps/app_url_redirector.h"
64 #include "chrome/browser/apps/ephemeral_app_throttle.h" 64 #include "chrome/browser/apps/ephemeral_app_throttle.h"
65 #include "chrome/browser/extensions/api/streams_private/streams_private_api.h" 65 #include "chrome/browser/extensions/api/streams_private/streams_private_api.h"
66 #include "chrome/browser/extensions/user_script_listener.h" 66 #include "chrome/browser/extensions/user_script_listener.h"
67 #include "chrome/common/extensions/manifest_handlers/mime_types_handler.h"
68 #include "extensions/browser/guest_view/web_view/web_view_renderer_state.h" 67 #include "extensions/browser/guest_view/web_view/web_view_renderer_state.h"
69 #include "extensions/browser/info_map.h" 68 #include "extensions/browser/info_map.h"
70 #include "extensions/common/constants.h" 69 #include "extensions/common/constants.h"
71 #include "extensions/common/extension_urls.h" 70 #include "extensions/common/extension_urls.h"
71 #include "extensions/common/manifest_handlers/mime_types_handler.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_SUPERVISED_USERS) 75 #if defined(ENABLE_SUPERVISED_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(ENABLE_ONE_CLICK_SIGNIN) 79 #if defined(ENABLE_ONE_CLICK_SIGNIN)
80 #include "chrome/browser/ui/sync/one_click_signin_helper.h" 80 #include "chrome/browser/ui/sync/one_click_signin_helper.h"
81 #endif 81 #endif
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 url_request->GetTotalReceivedBytes())); 749 url_request->GetTotalReceivedBytes()));
750 } 750 }
751 } 751 }
752 752
753 // static 753 // static
754 void ChromeResourceDispatcherHostDelegate:: 754 void ChromeResourceDispatcherHostDelegate::
755 SetExternalProtocolHandlerDelegateForTesting( 755 SetExternalProtocolHandlerDelegateForTesting(
756 ExternalProtocolHandler::Delegate* delegate) { 756 ExternalProtocolHandler::Delegate* delegate) {
757 g_external_protocol_handler_delegate = delegate; 757 g_external_protocol_handler_delegate = delegate;
758 } 758 }
OLDNEW
« no previous file with comments | « chrome/browser/prerender/prerender_browsertest.cc ('k') | chrome/browser/resources/component_extension_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698