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

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

Issue 2839373003: struct UnloadedExtensionInfo -> enum UnloadedExtensionInfoReason (Closed)
Patch Set: Rebase 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 (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
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 DCHECK_CURRENTLY_ON(content::BrowserThread::UI); 494 DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
495 DCHECK_EQ(extensions::NOTIFICATION_EXTENSION_HOST_DESTROYED, type); 495 DCHECK_EQ(extensions::NOTIFICATION_EXTENSION_HOST_DESTROYED, type);
496 ExtensionHost* host = content::Details<ExtensionHost>(details).ptr(); 496 ExtensionHost* host = content::Details<ExtensionHost>(details).ptr();
497 BLUETOOTH_LOG(DEBUG) << "Host Destroyed: " << host->extension_id(); 497 BLUETOOTH_LOG(DEBUG) << "Host Destroyed: " << host->extension_id();
498 CleanUpForExtension(host->extension_id()); 498 CleanUpForExtension(host->extension_id());
499 } 499 }
500 500
501 void BluetoothEventRouter::OnExtensionUnloaded( 501 void BluetoothEventRouter::OnExtensionUnloaded(
502 content::BrowserContext* browser_context, 502 content::BrowserContext* browser_context,
503 const Extension* extension, 503 const Extension* extension,
504 UnloadedExtensionInfo::Reason reason) { 504 UnloadedExtensionReason reason) {
505 CleanUpForExtension(extension->id()); 505 CleanUpForExtension(extension->id());
506 } 506 }
507 507
508 } // namespace extensions 508 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698