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

Side by Side Diff: chrome/browser/sync/test/engine/test_id_factory.h

Issue 7828055: Move sync test code out of chrome/test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 // A tool making it easier to create IDs for unit testing. 5 // A tool making it easier to create IDs for unit testing.
6 6
7 #ifndef CHROME_TEST_SYNC_ENGINE_TEST_ID_FACTORY_H_ 7 #ifndef CHROME_BROWSER_SYNC_TEST_ENGINE_TEST_ID_FACTORY_H_
8 #define CHROME_TEST_SYNC_ENGINE_TEST_ID_FACTORY_H_ 8 #define CHROME_BROWSER_SYNC_TEST_ENGINE_TEST_ID_FACTORY_H_
9 #pragma once 9 #pragma once
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/string_number_conversions.h" 13 #include "base/string_number_conversions.h"
14 #include "chrome/browser/sync/syncable/syncable_id.h" 14 #include "chrome/browser/sync/syncable/syncable_id.h"
15 15
16 namespace browser_sync { 16 namespace browser_sync {
17 17
18 class TestIdFactory { 18 class TestIdFactory {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 private: 63 private:
64 int next_value() { 64 int next_value() {
65 return next_value_++; 65 return next_value_++;
66 } 66 }
67 int next_value_; 67 int next_value_;
68 }; 68 };
69 69
70 } // namespace browser_sync 70 } // namespace browser_sync
71 71
72 #endif // CHROME_TEST_SYNC_ENGINE_TEST_ID_FACTORY_H_ 72 #endif // CHROME_BROWSER_SYNC_TEST_ENGINE_TEST_ID_FACTORY_H_
73 73
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/engine/test_directory_setter_upper.cc ('k') | chrome/browser/sync/test/engine/test_syncable_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698