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

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

Issue 1601323002: Use GetLastCommittedOrigin instead of GetLastCommittedURL in bluetooth chooser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed bluetooth test at: requestDevice.html Created 4 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/layout_test/layout_test_bluetooth_chooser_factory.h
diff --git a/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.h b/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.h
index 5f83f853ffca19caca1f077a3b0bbb3397e9dc63..6b37eb90ad7d262e562df5ddcd7e45e85dce3932 100644
--- a/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.h
+++ b/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.h
@@ -13,7 +13,9 @@
#include "base/memory/weak_ptr.h"
#include "content/public/browser/bluetooth_chooser.h"
-class GURL;
+namespace url {
+class Origin;
+}
namespace content {
@@ -27,7 +29,7 @@ class LayoutTestBluetoothChooserFactory {
scoped_ptr<BluetoothChooser> RunBluetoothChooser(
WebContents* web_contents,
const BluetoothChooser::EventHandler& event_handler,
- const GURL& origin);
+ const url::Origin& origin);
std::vector<std::string> GetAndResetEvents();

Powered by Google App Engine
This is Rietveld 408576698