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

Side by Side Diff: extensions/browser/api/bluetooth/bluetooth_event_router.cc

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
Patch Set: Created 5 years 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 "extensions/browser/api/bluetooth/bluetooth_event_router.h" 5 #include "extensions/browser/api/bluetooth/bluetooth_event_router.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
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/lazy_instance.h" 13 #include "base/lazy_instance.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/stl_util.h" 16 #include "base/stl_util.h"
17 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
18 #include "build/build_config.h"
18 #include "content/public/browser/notification_details.h" 19 #include "content/public/browser/notification_details.h"
19 #include "content/public/browser/notification_source.h" 20 #include "content/public/browser/notification_source.h"
20 #include "device/bluetooth/bluetooth_adapter.h" 21 #include "device/bluetooth/bluetooth_adapter.h"
21 #include "device/bluetooth/bluetooth_adapter_factory.h" 22 #include "device/bluetooth/bluetooth_adapter_factory.h"
22 #include "device/bluetooth/bluetooth_device.h" 23 #include "device/bluetooth/bluetooth_device.h"
23 #include "device/bluetooth/bluetooth_discovery_session.h" 24 #include "device/bluetooth/bluetooth_discovery_session.h"
24 #include "extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.h" 25 #include "extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.h"
25 #include "extensions/browser/api/bluetooth/bluetooth_api_utils.h" 26 #include "extensions/browser/api/bluetooth/bluetooth_api_utils.h"
26 #include "extensions/browser/api/bluetooth/bluetooth_private_api.h" 27 #include "extensions/browser/api/bluetooth/bluetooth_private_api.h"
27 #include "extensions/browser/event_router.h" 28 #include "extensions/browser/event_router.h"
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 } 469 }
469 470
470 void BluetoothEventRouter::OnExtensionUnloaded( 471 void BluetoothEventRouter::OnExtensionUnloaded(
471 content::BrowserContext* browser_context, 472 content::BrowserContext* browser_context,
472 const Extension* extension, 473 const Extension* extension,
473 UnloadedExtensionInfo::Reason reason) { 474 UnloadedExtensionInfo::Reason reason) {
474 CleanUpForExtension(extension->id()); 475 CleanUpForExtension(extension->id());
475 } 476 }
476 477
477 } // namespace extensions 478 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698