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

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

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.h
diff --git a/chrome/browser/bookmarks/test_bookmark_client.h b/chrome/browser/bookmarks/test_bookmark_client.h
deleted file mode 100644
index 67cdb84177ad61635759b4fba1a5088d7a76053a..0000000000000000000000000000000000000000
--- a/chrome/browser/bookmarks/test_bookmark_client.h
+++ /dev/null
@@ -1,43 +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.
-
-#ifndef CHROME_BROWSER_BOOKMARKS_TEST_BOOKMARK_CLIENT_H_
-#define CHROME_BROWSER_BOOKMARKS_TEST_BOOKMARK_CLIENT_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "components/bookmarks/core/browser/bookmark_client.h"
-
-class BookmarkModel;
-
-namespace test {
-
-class TestBookmarkClient : public BookmarkClient {
- public:
- TestBookmarkClient() {}
- virtual ~TestBookmarkClient() {}
-
- // Create a BookmarkModel using this object as its client. The returned
- // BookmarkModel* is owned by the caller.
- scoped_ptr<BookmarkModel> CreateModel(bool index_urls);
-
- // BookmarkClient:
- virtual base::CancelableTaskTracker::TaskId GetFaviconImageForURL(
- const GURL& page_url,
- int icon_types,
- int desired_size_in_dip,
- const FaviconImageCallback& callback,
- base::CancelableTaskTracker* tracker) OVERRIDE;
- virtual bool SupportsTypedCountForNodes() OVERRIDE;
- virtual void GetTypedCountForNodes(
- const NodeSet& nodes,
- NodeTypedCountPairs* node_typed_count_pairs) OVERRIDE;
- virtual void RecordAction(const base::UserMetricsAction& action) OVERRIDE;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(TestBookmarkClient);
-};
-
-} // namespace test
-
-#endif // CHROME_BROWSER_BOOKMARKS_TEST_BOOKMARK_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698