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

Side by Side Diff: chrome/browser/bookmarks/bookmark_model_test_utils.h

Issue 99217: Implement ID persistence for bookmarks:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2006-2009 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 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_TEST_UTILS_H_
6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_TEST_UTILS_H_
7
8 class BookmarkModel;
9 class BookmarkNode;
10
11 // Contains utilities for bookmark model related tests.
12 class BookmarkModelTestUtils {
13 public:
14 // Verifies that the two given bookmark models are the same.
15 // The IDs of the bookmark nodes are compared only if check_ids is true.
16 static void AssertModelsEqual(BookmarkModel* expected,
17 BookmarkModel* actual,
18 bool check_ids);
19 private:
20 // Helper to verify the two given bookmark nodes.
21 // The IDs of the bookmark nodes are compared only if check_ids is true.
22 static void AssertNodesEqual(BookmarkNode* expected,
23 BookmarkNode* actual,
24 bool check_ids);
25 };
26
27 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_model.cc ('k') | chrome/browser/bookmarks/bookmark_model_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698