OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/blink_test_controller.h" | 5 #include "content/shell/browser/blink_test_controller.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <iostream> | 9 #include <iostream> |
8 | 10 |
9 #include "base/base64.h" | 11 #include "base/base64.h" |
10 #include "base/callback.h" | 12 #include "base/callback.h" |
11 #include "base/command_line.h" | 13 #include "base/command_line.h" |
12 #include "base/location.h" | 14 #include "base/location.h" |
13 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
14 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
15 #include "base/strings/string_number_conversions.h" | 17 #include "base/strings/string_number_conversions.h" |
16 #include "base/strings/stringprintf.h" | 18 #include "base/strings/stringprintf.h" |
17 #include "base/thread_task_runner_handle.h" | 19 #include "base/thread_task_runner_handle.h" |
| 20 #include "build/build_config.h" |
18 #include "content/public/browser/devtools_agent_host.h" | 21 #include "content/public/browser/devtools_agent_host.h" |
19 #include "content/public/browser/dom_storage_context.h" | 22 #include "content/public/browser/dom_storage_context.h" |
20 #include "content/public/browser/gpu_data_manager.h" | 23 #include "content/public/browser/gpu_data_manager.h" |
21 #include "content/public/browser/navigation_controller.h" | 24 #include "content/public/browser/navigation_controller.h" |
22 #include "content/public/browser/navigation_entry.h" | 25 #include "content/public/browser/navigation_entry.h" |
23 #include "content/public/browser/notification_service.h" | 26 #include "content/public/browser/notification_service.h" |
24 #include "content/public/browser/notification_types.h" | 27 #include "content/public/browser/notification_types.h" |
25 #include "content/public/browser/render_process_host.h" | 28 #include "content/public/browser/render_process_host.h" |
26 #include "content/public/browser/render_view_host.h" | 29 #include "content/public/browser/render_view_host.h" |
27 #include "content/public/browser/render_widget_host.h" | 30 #include "content/public/browser/render_widget_host.h" |
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 } else { | 769 } else { |
767 printer_->AddErrorMessage(base::StringPrintf( | 770 printer_->AddErrorMessage(base::StringPrintf( |
768 "FAIL: Unexpected sendBluetoothManualChooserEvent() event name '%s'.", | 771 "FAIL: Unexpected sendBluetoothManualChooserEvent() event name '%s'.", |
769 event_name.c_str())); | 772 event_name.c_str())); |
770 return; | 773 return; |
771 } | 774 } |
772 bluetooth_chooser_factory_->SendEvent(event, argument); | 775 bluetooth_chooser_factory_->SendEvent(event, argument); |
773 } | 776 } |
774 | 777 |
775 } // namespace content | 778 } // namespace content |
OLD | NEW |