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

Side by Side Diff: components/bookmarks/test/bookmark_test_helpers.h

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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_BOOKMARKS_CORE_TEST_BOOKMARK_TEST_HELPERS_H_ 5 #ifndef COMPONENTS_BOOKMARKS_TEST_BOOKMARK_TEST_HELPERS_H_
6 #define COMPONENTS_BOOKMARKS_CORE_TEST_BOOKMARK_TEST_HELPERS_H_ 6 #define COMPONENTS_BOOKMARKS_TEST_BOOKMARK_TEST_HELPERS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 class BookmarkModel; 10 class BookmarkModel;
11 class BookmarkNode; 11 class BookmarkNode;
12 12
13 namespace test { 13 namespace test {
14 14
15 // Blocks until |model| finishes loading. 15 // Blocks until |model| finishes loading.
16 void WaitForBookmarkModelToLoad(BookmarkModel* model); 16 void WaitForBookmarkModelToLoad(BookmarkModel* model);
(...skipping 18 matching lines...) Expand all
35 // specified for ModelStringFromNode(). The new nodes added to |node| 35 // specified for ModelStringFromNode(). The new nodes added to |node|
36 // are appended to the end of node's existing subnodes, if any. 36 // are appended to the end of node's existing subnodes, if any.
37 // |model| must be the model of which |node| is a member. 37 // |model| must be the model of which |node| is a member.
38 // NOTE: The string format is very rigid and easily broken if not followed 38 // NOTE: The string format is very rigid and easily broken if not followed
39 // exactly (since we're using a very simple parser). 39 // exactly (since we're using a very simple parser).
40 void AddNodesFromModelString(BookmarkModel* model, 40 void AddNodesFromModelString(BookmarkModel* model,
41 const BookmarkNode* node, 41 const BookmarkNode* node,
42 const std::string& model_string); 42 const std::string& model_string);
43 } // namespace test 43 } // namespace test
44 44
45 #endif // COMPONENTS_BOOKMARKS_CORE_TEST_BOOKMARK_TEST_HELPERS_H_ 45 #endif // COMPONENTS_BOOKMARKS_TEST_BOOKMARK_TEST_HELPERS_H_
OLDNEW
« no previous file with comments | « components/bookmarks/core/test/test_bookmark_client.cc ('k') | components/bookmarks/test/bookmark_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698