| Index: components/sync/test/engine/test_id_factory.h
|
| diff --git a/sync/test/engine/test_id_factory.h b/components/sync/test/engine/test_id_factory.h
|
| similarity index 81%
|
| rename from sync/test/engine/test_id_factory.h
|
| rename to components/sync/test/engine/test_id_factory.h
|
| index 705575af6c2979ad7135d9047347795b272da736..6dcaa6107f563d4fd5893fff6e3b91cf42e1a173 100644
|
| --- a/sync/test/engine/test_id_factory.h
|
| +++ b/components/sync/test/engine/test_id_factory.h
|
| @@ -4,15 +4,15 @@
|
| //
|
| // A tool making it easier to create IDs for unit testing.
|
|
|
| -#ifndef SYNC_TEST_ENGINE_TEST_ID_FACTORY_H_
|
| -#define SYNC_TEST_ENGINE_TEST_ID_FACTORY_H_
|
| +#ifndef COMPONENTS_SYNC_TEST_ENGINE_TEST_ID_FACTORY_H_
|
| +#define COMPONENTS_SYNC_TEST_ENGINE_TEST_ID_FACTORY_H_
|
|
|
| #include <stdint.h>
|
|
|
| #include <string>
|
|
|
| #include "base/strings/string_number_conversions.h"
|
| -#include "sync/syncable/syncable_id.h"
|
| +#include "components/sync/syncable/syncable_id.h"
|
|
|
| namespace syncer {
|
|
|
| @@ -55,18 +55,15 @@ class TestIdFactory {
|
|
|
| // Autogenerate a fresh server ID.
|
| syncable::Id NewServerId() {
|
| - return syncable::Id::CreateFromServerId(
|
| - std::string("_auto ") + base::IntToString(next_value()));
|
| + return syncable::Id::CreateFromServerId(std::string("_auto ") +
|
| + base::IntToString(next_value()));
|
| }
|
|
|
| private:
|
| - int next_value() {
|
| - return next_value_++;
|
| - }
|
| + int next_value() { return next_value_++; }
|
| int next_value_;
|
| };
|
|
|
| } // namespace syncer
|
|
|
| -#endif // SYNC_TEST_ENGINE_TEST_ID_FACTORY_H_
|
| -
|
| +#endif // COMPONENTS_SYNC_TEST_ENGINE_TEST_ID_FACTORY_H_
|
|
|