| Index: chrome/browser/ui/cocoa/handoff_active_url_observer_bridge.mm
|
| diff --git a/chrome/browser/ui/cocoa/handoff_active_url_observer_bridge.mm b/chrome/browser/ui/cocoa/handoff_active_url_observer_bridge.mm
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..639ae937829381351afa3bd8a2e9fc5ed0cff0f7
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/cocoa/handoff_active_url_observer_bridge.mm
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chrome/browser/ui/cocoa/handoff_active_url_observer_bridge.h"
|
| +
|
| +#include "chrome/browser/ui/cocoa/handoff_active_url_observer.h"
|
| +
|
| +HandoffActiveURLObserverBridge::HandoffActiveURLObserverBridge(
|
| + NSObject<HandoffActiveURLObserverBridgeDelegate>* delegate)
|
| + : delegate_(delegate) {
|
| + DCHECK(delegate_);
|
| + observer_.reset(new HandoffActiveURLObserver(this));
|
| +}
|
| +
|
| +HandoffActiveURLObserverBridge::~HandoffActiveURLObserverBridge(){};
|
| +
|
| +void HandoffActiveURLObserverBridge::HandoffActiveURLChanged(
|
| + content::WebContents* web_contents) {
|
| + [delegate_ handoffActiveURLChanged:web_contents];
|
| +}
|
|
|