| Index: content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.cc
|
| diff --git a/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.cc b/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.cc
|
| index d4c53dc25671ed67001e97cbd70d32997da4bf9c..d80faab556d9966659cdfc221a886324d3a317cd 100644
|
| --- a/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.cc
|
| +++ b/content/shell/browser/layout_test/layout_test_bluetooth_chooser_factory.cc
|
| @@ -6,7 +6,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| -#include "url/gurl.h"
|
| +#include "url/origin.h"
|
|
|
| namespace content {
|
|
|
| @@ -102,9 +102,9 @@ scoped_ptr<BluetoothChooser>
|
| LayoutTestBluetoothChooserFactory::RunBluetoothChooser(
|
| WebContents* web_contents,
|
| const BluetoothChooser::EventHandler& event_handler,
|
| - const GURL& origin) {
|
| + const url::Origin& origin) {
|
| std::string event = "chooser-opened(";
|
| - event += origin.spec();
|
| + event += origin.Serialize();
|
| event += ")";
|
| events_.push_back(event);
|
| return make_scoped_ptr(new Chooser(weak_this_.GetWeakPtr(), event_handler));
|
|
|