Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / handoff_active_url_observer_bridge.mm
blob639ae937829381351afa3bd8a2e9fc5ed0cff0f7
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) {
12   DCHECK(delegate_);
13   observer_.reset(new HandoffActiveURLObserver(this));
16 HandoffActiveURLObserverBridge::~HandoffActiveURLObserverBridge(){};
18 void HandoffActiveURLObserverBridge::HandoffActiveURLChanged(
19     content::WebContents* web_contents) {
20   [delegate_ handoffActiveURLChanged:web_contents];