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

Side by Side Diff: content/browser/bluetooth/bluetooth_device_chooser_controller.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/browser/bluetooth/bluetooth_device_chooser_controller.h" 5 #include "content/browser/bluetooth/bluetooth_device_chooser_controller.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <unordered_set> 9 #include <unordered_set>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
13 #include "base/memory/ptr_util.h"
13 #include "base/metrics/histogram_macros.h" 14 #include "base/metrics/histogram_macros.h"
14 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
15 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
16 #include "base/threading/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
17 #include "content/browser/bluetooth/bluetooth_blocklist.h" 18 #include "content/browser/bluetooth/bluetooth_blocklist.h"
18 #include "content/browser/bluetooth/bluetooth_metrics.h" 19 #include "content/browser/bluetooth/bluetooth_metrics.h"
19 #include "content/browser/bluetooth/web_bluetooth_service_impl.h" 20 #include "content/browser/bluetooth/web_bluetooth_service_impl.h"
20 #include "content/public/browser/browser_thread.h" 21 #include "content/public/browser/browser_thread.h"
21 #include "content/public/browser/content_browser_client.h" 22 #include "content/public/browser/content_browser_client.h"
22 #include "content/public/browser/render_frame_host.h" 23 #include "content/public/browser/render_frame_host.h"
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 616
616 void BluetoothDeviceChooserController::PostErrorCallback( 617 void BluetoothDeviceChooserController::PostErrorCallback(
617 blink::mojom::WebBluetoothResult error) { 618 blink::mojom::WebBluetoothResult error) {
618 if (!base::ThreadTaskRunnerHandle::Get()->PostTask( 619 if (!base::ThreadTaskRunnerHandle::Get()->PostTask(
619 FROM_HERE, base::Bind(error_callback_, error))) { 620 FROM_HERE, base::Bind(error_callback_, error))) {
620 LOG(WARNING) << "No TaskRunner."; 621 LOG(WARNING) << "No TaskRunner.";
621 } 622 }
622 } 623 }
623 624
624 } // namespace content 625 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/blob_storage/blob_storage_context_unittest.cc ('k') | content/browser/browser_child_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698