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

Unified Diff: content/shell/browser/shell.h

Issue 2658473002: Refactor BluetoothAllowedDevicesMap (Closed)
Patch Set: set --similarity=20 when did git cl upload Created 3 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.h
diff --git a/content/shell/browser/shell.h b/content/shell/browser/shell.h
index 545af236cba83da6714edc080e8126e19680fdb9..4f2865b286b2c7f30cd0e01a335fd140578036de 100644
--- a/content/shell/browser/shell.h
+++ b/content/shell/browser/shell.h
@@ -6,6 +6,7 @@
#include <stdint.h>
+#include <list>
#include <memory>
#include <vector>
@@ -154,6 +155,8 @@ class Shell : public WebContentsDelegate,
std::unique_ptr<BluetoothChooser> RunBluetoothChooser(
RenderFrameHost* frame,
const BluetoothChooser::EventHandler& event_handler) override;
+ BluetoothAllowedDevicesMapBase* GetBluetoothDevicesMap(
+ RenderFrameHost* frame) override;
#if defined(OS_MACOSX)
void HandleKeyboardEvent(WebContents* source,
const NativeWebKeyboardEvent& event) override;
@@ -241,6 +244,9 @@ class Shell : public WebContentsDelegate,
std::unique_ptr<DevToolsWebContentsObserver> devtools_observer_;
ShellDevToolsFrontend* devtools_frontend_;
+ std::list<std::unique_ptr<BluetoothAllowedDevicesMapBase>>
+ bluetooth_allowed_devices_maps_;
+
bool is_fullscreen_;
gfx::NativeWindow window_;

Powered by Google App Engine
This is Rietveld 408576698