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

Unified Diff: components/bookmarks/core/test/test_bookmark_client.cc

Issue 284893003: Move bookmarks/core/... to bookmarks/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing errors reported by presubmit 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: components/bookmarks/core/test/test_bookmark_client.cc
diff --git a/components/bookmarks/core/test/test_bookmark_client.cc b/components/bookmarks/core/test/test_bookmark_client.cc
deleted file mode 100644
index 6c98398054d632c8ea242b7305aca23e9ad6e33a..0000000000000000000000000000000000000000
--- a/components/bookmarks/core/test/test_bookmark_client.cc
+++ /dev/null
@@ -1,30 +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 "components/bookmarks/core/test/test_bookmark_client.h"
-
-#include "base/logging.h"
-#include "components/bookmarks/core/browser/bookmark_model.h"
-#include "components/bookmarks/core/browser/bookmark_node.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();
-}
-
-bool TestBookmarkClient::IsPermanentNodeVisible(int node_type) {
- DCHECK(node_type == BookmarkNode::BOOKMARK_BAR ||
- node_type == BookmarkNode::OTHER_NODE ||
- node_type == BookmarkNode::MOBILE);
- return node_type != BookmarkNode::MOBILE;
-}
-
-void TestBookmarkClient::RecordAction(const base::UserMetricsAction& action) {
-}
-
-} // namespace test
« no previous file with comments | « components/bookmarks/core/test/test_bookmark_client.h ('k') | components/bookmarks/test/bookmark_test_helpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698