1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/ui/cocoa/handoff_active_url_observer_bridge.h"
7 #include "chrome/browser/ui/cocoa/handoff_active_url_observer.h"
9 HandoffActiveURLObserverBridge::HandoffActiveURLObserverBridge(
10 NSObject<HandoffActiveURLObserverBridgeDelegate>* delegate)
11 : delegate_(delegate) {
13 observer_.reset(new HandoffActiveURLObserver(this));
16 HandoffActiveURLObserverBridge::~HandoffActiveURLObserverBridge(){};
18 void HandoffActiveURLObserverBridge::HandoffActiveURLChanged(
19 content::WebContents* web_contents) {
20 [delegate_ handoffActiveURLChanged:web_contents];