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

Side by Side Diff: chrome/test/base/model_test_utils.h

Issue 7474025: Move more files from chrome/test to chrome/test/base, part #2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
« no previous file with comments | « chrome/test/base/layout_test_http_server.cc ('k') | chrome/test/base/model_test_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_TEST_MODEL_TEST_UTILS_H_ 5 #ifndef CHROME_TEST_BASE_MODEL_TEST_UTILS_H_
6 #define CHROME_TEST_MODEL_TEST_UTILS_H_ 6 #define CHROME_TEST_BASE_MODEL_TEST_UTILS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 class BookmarkModel; 11 class BookmarkModel;
12 class BookmarkNode; 12 class BookmarkNode;
13 13
14 namespace model_test_utils { 14 namespace model_test_utils {
15 15
16 // Return the descendants of |node| as a string useful for verifying node 16 // Return the descendants of |node| as a string useful for verifying node
(...skipping 17 matching lines...) Expand all
34 // are appended to the end of node's existing subnodes, if any. 34 // are appended to the end of node's existing subnodes, if any.
35 // |model| must be the model of which |node| is a member. 35 // |model| must be the model of which |node| is a member.
36 // NOTE: The string format is very rigid and easily broken if not followed 36 // NOTE: The string format is very rigid and easily broken if not followed
37 // exactly (since we're using a very simple parser). 37 // exactly (since we're using a very simple parser).
38 void AddNodesFromModelString(BookmarkModel& model, 38 void AddNodesFromModelString(BookmarkModel& model,
39 const BookmarkNode* node, 39 const BookmarkNode* node,
40 const std::string& model_string); 40 const std::string& model_string);
41 41
42 } // namespace model_test_utils 42 } // namespace model_test_utils
43 43
44 #endif // CHROME_TEST_MODEL_TEST_UTILS_H_ 44 #endif // CHROME_TEST_BASE_MODEL_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/test/base/layout_test_http_server.cc ('k') | chrome/test/base/model_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698