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

Side by Side Diff: chrome/test/live_sync/bookmark_model_verifier.h

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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/in_process_browser_test.cc ('k') | chrome/test/live_sync/live_autofill_sync_test.h » ('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) 2010 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_LIVE_SYNC_BOOKMARK_MODEL_VERIFIER_H_ 5 #ifndef CHROME_TEST_LIVE_SYNC_BOOKMARK_MODEL_VERIFIER_H_
6 #define CHROME_TEST_LIVE_SYNC_BOOKMARK_MODEL_VERIFIER_H_ 6 #define CHROME_TEST_LIVE_SYNC_BOOKMARK_MODEL_VERIFIER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "chrome/browser/bookmarks/bookmark_model.h" 13 #include "chrome/browser/bookmarks/bookmark_model.h"
14 #include "chrome/browser/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
16 #include "third_party/skia/include/core/SkBitmap.h" 16 #include "third_party/skia/include/core/SkBitmap.h"
17 17
18 // Helper class that performs operations on a bookmark model and echoes the 18 // Helper class that performs operations on a bookmark model and echoes the
19 // changes in a verifier model that can be used as an expected hierarchy to 19 // changes in a verifier model that can be used as an expected hierarchy to
20 // compare against. 20 // compare against.
21 // Note: When we refer to the "same" node in |model| and |verifier_model_|, 21 // Note: When we refer to the "same" node in |model| and |verifier_model_|,
22 // we mean the same canonical bookmark entity, because |verifier_model_| is 22 // we mean the same canonical bookmark entity, because |verifier_model_| is
23 // expected to be a replica of |model|. 23 // expected to be a replica of |model|.
24 class BookmarkModelVerifier { 24 class BookmarkModelVerifier {
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 BookmarkModel* verifier_model_; 122 BookmarkModel* verifier_model_;
123 123
124 // A flag that indicates whether bookmark operations should also update the 124 // A flag that indicates whether bookmark operations should also update the
125 // verifier model or not. 125 // verifier model or not.
126 bool use_verifier_model_; 126 bool use_verifier_model_;
127 127
128 DISALLOW_COPY_AND_ASSIGN(BookmarkModelVerifier); 128 DISALLOW_COPY_AND_ASSIGN(BookmarkModelVerifier);
129 }; 129 };
130 130
131 #endif // CHROME_TEST_LIVE_SYNC_BOOKMARK_MODEL_VERIFIER_H_ 131 #endif // CHROME_TEST_LIVE_SYNC_BOOKMARK_MODEL_VERIFIER_H_
OLDNEW
« no previous file with comments | « chrome/test/in_process_browser_test.cc ('k') | chrome/test/live_sync/live_autofill_sync_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698