| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 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. |
| 4 |
| 5 #include "blimp/client/feature/mock_navigation_feature.h" |
| 6 |
| 7 namespace blimp { |
| 8 namespace client { |
| 9 |
| 10 const int kDummyTabId = 0; |
| 11 |
| 12 MockNavigationFeature::MockNavigationFeature() {} |
| 13 |
| 14 MockNavigationFeature::~MockNavigationFeature() {} |
| 15 |
| 16 void MockNavigationFeature::NavigateToUrlText(int tab_id, |
| 17 const std::string& url_text) { |
| 18 NavigationFeatureDelegate* delegate = FindDelegate(kDummyTabId); |
| 19 delegate->OnUrlChanged(kDummyTabId, GURL(url_text)); |
| 20 } |
| 21 |
| 22 } // namespace client |
| 23 } // namespace blimp |
| OLD | NEW |