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

Unified Diff: content/shell/browser/shell_views.cc

Issue 848613003: bluetooth: Shutdown BluetoothAdapter before DBus on ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: content/shell/browser/shell_views.cc
diff --git a/content/shell/browser/shell_views.cc b/content/shell/browser/shell_views.cc
index 734e637ed05c95ba55c6a7db959541021521e883..6805aa2ad5d706beacdcd23efbc9e6f3f483d851 100644
--- a/content/shell/browser/shell_views.cc
+++ b/content/shell/browser/shell_views.cc
@@ -11,6 +11,7 @@
#include "content/public/browser/web_contents.h"
#include "content/public/common/context_menu_params.h"
#include "content/shell/browser/shell_platform_data_aura.h"
+#include "device/bluetooth/bluetooth_adapter_factory.h"
#include "ui/aura/client/screen_position_client.h"
#include "ui/aura/env.h"
#include "ui/aura/window.h"
@@ -440,6 +441,7 @@ void Shell::PlatformExit() {
delete platform_;
platform_ = NULL;
#if defined(OS_CHROMEOS)
+ device::BluetoothAdapterFactory::Shutdown();
chromeos::DBusThreadManager::Shutdown();
#endif
aura::Env::DeleteInstance();

Powered by Google App Engine
This is Rietveld 408576698