Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Unified Diff: blimp/client/core/contents/fake_navigation_feature.cc

Issue 2624903006: Remove all blimp client code. (Closed)
Patch Set: Update buildbot configuration Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/client/core/contents/fake_navigation_feature.h ('k') | blimp/client/core/contents/ime_feature.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/core/contents/fake_navigation_feature.cc
diff --git a/blimp/client/core/contents/fake_navigation_feature.cc b/blimp/client/core/contents/fake_navigation_feature.cc
deleted file mode 100644
index 4903e8fbe1965219103080996d4ee4044fb2d8f1..0000000000000000000000000000000000000000
--- a/blimp/client/core/contents/fake_navigation_feature.cc
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2016 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 <blimp/client/core/contents/fake_navigation_feature.h>
-#include "base/bind.h"
-#include "base/location.h"
-#include "base/memory/ref_counted.h"
-#include "base/threading/thread_task_runner_handle.h"
-#include "url/gurl.h"
-
-namespace blimp {
-namespace client {
-
-FakeNavigationFeature::FakeNavigationFeature() {}
-
-FakeNavigationFeature::~FakeNavigationFeature() {}
-
-void FakeNavigationFeature::NavigateToUrlText(int tab_id,
- const std::string& url_text) {
- base::ThreadTaskRunnerHandle::Get()->PostTask(
- FROM_HERE, base::Bind(&FakeNavigationFeature::NotifyDelegateURLLoaded,
- base::Unretained(this), tab_id, url_text));
-}
-
-void FakeNavigationFeature::NotifyDelegateURLLoaded(
- int tab_id,
- const std::string& url_text) {
- NavigationFeatureDelegate* delegate = FindDelegate(tab_id);
- delegate->OnUrlChanged(tab_id, GURL(url_text));
-}
-
-} // namespace client
-} // namespace blimp
« no previous file with comments | « blimp/client/core/contents/fake_navigation_feature.h ('k') | blimp/client/core/contents/ime_feature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698