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

Side by Side Diff: content/shell/browser/layout_test/layout_test_content_browser_client.cc

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . Created 3 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/shell/browser/layout_test/layout_test_content_browser_client.h " 5 #include "content/shell/browser/layout_test/layout_test_content_browser_client.h "
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "content/public/browser/browser_context.h" 8 #include "content/public/browser/browser_context.h"
9 #include "content/public/browser/browser_thread.h" 9 #include "content/public/browser/browser_thread.h"
10 #include "content/public/browser/render_process_host.h" 10 #include "content/public/browser/render_process_host.h"
11 #include "content/public/browser/resource_dispatcher_host.h" 11 #include "content/public/browser/resource_dispatcher_host.h"
12 #include "content/public/browser/storage_partition.h" 12 #include "content/public/browser/storage_partition.h"
13 #include "content/shell/browser/layout_test/blink_test_controller.h" 13 #include "content/shell/browser/layout_test/blink_test_controller.h"
14 #include "content/shell/browser/layout_test/layout_test_bluetooth_fake_adapter_s etter_impl.h" 14 #include "content/shell/browser/layout_test/layout_test_bluetooth_fake_adapter_s etter_impl.h"
15 #include "content/shell/browser/layout_test/layout_test_browser_context.h" 15 #include "content/shell/browser/layout_test/layout_test_browser_context.h"
16 #include "content/shell/browser/layout_test/layout_test_browser_main_parts.h" 16 #include "content/shell/browser/layout_test/layout_test_browser_main_parts.h"
17 #include "content/shell/browser/layout_test/layout_test_message_filter.h" 17 #include "content/shell/browser/layout_test/layout_test_message_filter.h"
18 #include "content/shell/browser/layout_test/layout_test_notification_manager.h" 18 #include "content/shell/browser/layout_test/layout_test_notification_manager.h"
19 #include "content/shell/browser/layout_test/layout_test_resource_dispatcher_host _delegate.h" 19 #include "content/shell/browser/layout_test/layout_test_resource_dispatcher_host _delegate.h"
20 #include "content/shell/browser/shell_browser_context.h" 20 #include "content/shell/browser/shell_browser_context.h"
21 #include "content/shell/common/layout_test/layout_test_switches.h" 21 #include "content/shell/common/layout_test/layout_test_switches.h"
22 #include "content/shell/common/shell_messages.h" 22 #include "content/shell/common/shell_messages.h"
23 #include "content/shell/renderer/layout_test/blink_test_helpers.h" 23 #include "content/shell/renderer/layout_test/blink_test_helpers.h"
24 #include "device/bluetooth/test/fake_bluetooth.h" 24 #include "device/bluetooth/test/fake_bluetooth.h"
25 #include "services/service_manager/public/cpp/bind_source_info.h"
25 #include "services/service_manager/public/cpp/binder_registry.h" 26 #include "services/service_manager/public/cpp/binder_registry.h"
26 27
27 namespace content { 28 namespace content {
28 namespace { 29 namespace {
29 30
30 LayoutTestContentBrowserClient* g_layout_test_browser_client; 31 LayoutTestContentBrowserClient* g_layout_test_browser_client;
31 32
32 } // namespace 33 } // namespace
33 34
34 LayoutTestContentBrowserClient::LayoutTestContentBrowserClient() { 35 LayoutTestContentBrowserClient::LayoutTestContentBrowserClient() {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // build up a large data set and issue many concurrent reads or writes. 142 // build up a large data set and issue many concurrent reads or writes.
142 callback.Run(storage::GetHardCodedSettings(1024 * 1024 * 1024)); 143 callback.Run(storage::GetHardCodedSettings(1024 * 1024 * 1024));
143 } 144 }
144 145
145 PlatformNotificationService* 146 PlatformNotificationService*
146 LayoutTestContentBrowserClient::GetPlatformNotificationService() { 147 LayoutTestContentBrowserClient::GetPlatformNotificationService() {
147 return layout_test_notification_manager_.get(); 148 return layout_test_notification_manager_.get();
148 } 149 }
149 150
150 } // namespace content 151 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698