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

Unified Diff: chrome/browser/bookmarks/test_bookmark_client.cc

Issue 268673004: Move bookmarks' test support file to the bookmarks component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@367839
Patch Set: Remove duplicated dependency Created 6 years, 7 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
Index: chrome/browser/bookmarks/test_bookmark_client.cc
diff --git a/chrome/browser/bookmarks/test_bookmark_client.cc b/chrome/browser/bookmarks/test_bookmark_client.cc
deleted file mode 100644
index ce93c0cc1ae97246c47109afcf3c26be65481e0d..0000000000000000000000000000000000000000
--- a/chrome/browser/bookmarks/test_bookmark_client.cc
+++ /dev/null
@@ -1,40 +0,0 @@
-// 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/bookmarks/test_bookmark_client.h"
-
-#include "components/bookmarks/core/browser/bookmark_model.h"
-#include "components/bookmarks/core/browser/bookmark_storage.h"
-
-namespace test {
-
-scoped_ptr<BookmarkModel> TestBookmarkClient::CreateModel(bool index_urls) {
- scoped_ptr<BookmarkModel> bookmark_model(new BookmarkModel(this, index_urls));
- bookmark_model->DoneLoading(bookmark_model->CreateLoadDetails(std::string()));
- return bookmark_model.Pass();
-}
-
-base::CancelableTaskTracker::TaskId TestBookmarkClient::GetFaviconImageForURL(
- const GURL& page_url,
- int icon_types,
- int desired_size_in_dip,
- const FaviconImageCallback& callback,
- base::CancelableTaskTracker* tracker) {
- return base::CancelableTaskTracker::kBadTaskId;
-}
-
-bool TestBookmarkClient::SupportsTypedCountForNodes() {
- return false;
-}
-
-void TestBookmarkClient::GetTypedCountForNodes(
- const NodeSet& nodes,
- NodeTypedCountPairs* node_typed_count_pairs) {
- NOTREACHED();
-}
-
-void TestBookmarkClient::RecordAction(const base::UserMetricsAction& action) {
-}
-
-} // namespace test

Powered by Google App Engine
This is Rietveld 408576698