diff options
author | rsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-19 23:16:08 +0000 |
---|---|---|
committer | rsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-19 23:16:08 +0000 |
commit | c9ce60ba84839bb415222019f97c2499c64eb3f4 (patch) | |
tree | 2951b4af13346acfb545a6ccc3a621c1560a863a /sync/engine | |
parent | 05aee8931fc1b9a1cf73003cba7f05673bb4959d (diff) | |
download | chromium_src-c9ce60ba84839bb415222019f97c2499c64eb3f4.zip chromium_src-c9ce60ba84839bb415222019f97c2499c64eb3f4.tar.gz chromium_src-c9ce60ba84839bb415222019f97c2499c64eb3f4.tar.bz2 |
[sync] Componentize sync: Part 5: Eliminate filename collisions in sync.gyp
In order to move src/sync into its own compoent, all the static_library targets in sync.gyp need to be converted to targets of type 'none' and rolled into one sync target of type component. This is currently blocked by duplicate .cc filenames in syncable and internal_api, which flags an error while running gyp. The offending files are {internal_api|syncable}/{base|read|write}_transaction.cc.
This patch renames syncable/{base|read|write}_transaction.{h|cc} to syncable/syncable_{base|read|write}_transaction.{h|cc}.
BUG=136928
Review URL: https://codereview.chromium.org/11638018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174032 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/engine')
-rw-r--r-- | sync/engine/apply_control_data_updates.cc | 4 | ||||
-rw-r--r-- | sync/engine/apply_control_data_updates_unittest.cc | 6 | ||||
-rw-r--r-- | sync/engine/apply_updates_and_resolve_conflicts_command.cc | 6 | ||||
-rw-r--r-- | sync/engine/apply_updates_and_resolve_conflicts_command_unittest.cc | 6 | ||||
-rw-r--r-- | sync/engine/build_commit_command.cc | 4 | ||||
-rw-r--r-- | sync/engine/commit.cc | 4 | ||||
-rw-r--r-- | sync/engine/conflict_resolver.cc | 4 | ||||
-rw-r--r-- | sync/engine/download_updates_command.cc | 4 | ||||
-rw-r--r-- | sync/engine/get_commit_ids_command.cc | 4 | ||||
-rw-r--r-- | sync/engine/process_commit_response_command.cc | 6 | ||||
-rw-r--r-- | sync/engine/process_commit_response_command_unittest.cc | 6 | ||||
-rw-r--r-- | sync/engine/process_updates_command.cc | 4 | ||||
-rw-r--r-- | sync/engine/syncer_unittest.cc | 6 | ||||
-rw-r--r-- | sync/engine/syncer_util.cc | 6 | ||||
-rw-r--r-- | sync/engine/update_applicator.cc | 4 |
15 files changed, 37 insertions, 37 deletions
diff --git a/sync/engine/apply_control_data_updates.cc b/sync/engine/apply_control_data_updates.cc index 09778c3..fa71824 100644 --- a/sync/engine/apply_control_data_updates.cc +++ b/sync/engine/apply_control_data_updates.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -12,7 +12,7 @@ #include "sync/syncable/mutable_entry.h" #include "sync/syncable/nigori_handler.h" #include "sync/syncable/nigori_util.h" -#include "sync/syncable/write_transaction.h" +#include "sync/syncable/syncable_write_transaction.h" #include "sync/util/cryptographer.h" namespace syncer { diff --git a/sync/engine/apply_control_data_updates_unittest.cc b/sync/engine/apply_control_data_updates_unittest.cc index 754bac3..9bd1914 100644 --- a/sync/engine/apply_control_data_updates_unittest.cc +++ b/sync/engine/apply_control_data_updates_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -13,9 +13,9 @@ #include "sync/protocol/nigori_specifics.pb.h" #include "sync/syncable/mutable_entry.h" #include "sync/syncable/nigori_util.h" -#include "sync/syncable/read_transaction.h" +#include "sync/syncable/syncable_read_transaction.h" #include "sync/syncable/syncable_util.h" -#include "sync/syncable/write_transaction.h" +#include "sync/syncable/syncable_write_transaction.h" #include "sync/test/engine/fake_model_worker.h" #include "sync/test/engine/syncer_command_test.h" #include "sync/test/engine/test_id_factory.h" diff --git a/sync/engine/apply_updates_and_resolve_conflicts_command.cc b/sync/engine/apply_updates_and_resolve_conflicts_command.cc index 971f90d..214fb39 100644 --- a/sync/engine/apply_updates_and_resolve_conflicts_command.cc +++ b/sync/engine/apply_updates_and_resolve_conflicts_command.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -9,8 +9,8 @@ #include "sync/engine/update_applicator.h" #include "sync/sessions/sync_session.h" #include "sync/syncable/directory.h" -#include "sync/syncable/read_transaction.h" -#include "sync/syncable/write_transaction.h" +#include "sync/syncable/syncable_read_transaction.h" +#include "sync/syncable/syncable_write_transaction.h" namespace syncer { diff --git a/sync/engine/apply_updates_and_resolve_conflicts_command_unittest.cc b/sync/engine/apply_updates_and_resolve_conflicts_command_unittest.cc index fb6480a..97d4c33 100644 --- a/sync/engine/apply_updates_and_resolve_conflicts_command_unittest.cc +++ b/sync/engine/apply_updates_and_resolve_conflicts_command_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -13,10 +13,10 @@ #include "sync/protocol/bookmark_specifics.pb.h" #include "sync/protocol/password_specifics.pb.h" #include "sync/syncable/mutable_entry.h" -#include "sync/syncable/read_transaction.h" #include "sync/syncable/syncable_id.h" +#include "sync/syncable/syncable_read_transaction.h" #include "sync/syncable/syncable_util.h" -#include "sync/syncable/write_transaction.h" +#include "sync/syncable/syncable_write_transaction.h" #include "sync/test/engine/fake_model_worker.h" #include "sync/test/engine/syncer_command_test.h" #include "sync/test/engine/test_id_factory.h" diff --git a/sync/engine/build_commit_command.cc b/sync/engine/build_commit_command.cc index bfa5b9c..7ecf152 100644 --- a/sync/engine/build_commit_command.cc +++ b/sync/engine/build_commit_command.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -19,7 +19,7 @@ #include "sync/syncable/mutable_entry.h" #include "sync/syncable/syncable_changes_version.h" #include "sync/syncable/syncable_proto_util.h" -#include "sync/syncable/write_transaction.h" +#include "sync/syncable/syncable_write_transaction.h" #include "sync/util/time.h" // TODO(vishwath): Remove this include after node positions have diff --git a/sync/engine/commit.cc b/sync/engine/commit.cc index 49443e9..59dbc2d 100644 --- a/sync/engine/commit.cc +++ b/sync/engine/commit.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -11,7 +11,7 @@ #include "sync/engine/syncer_proto_util.h" #include "sync/sessions/sync_session.h" #include "sync/syncable/mutable_entry.h" -#include "sync/syncable/write_transaction.h" +#include "sync/syncable/syncable_write_transaction.h" namespace syncer { diff --git a/sync/engine/conflict_resolver.cc b/sync/engine/conflict_resolver.cc index 4d91b0f..6e2eddd 100644 --- a/sync/engine/conflict_resolver.cc +++ b/sync/engine/conflict_resolver.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -14,7 +14,7 @@ #include "sync/sessions/status_controller.h" #include "sync/syncable/directory.h" #include "sync/syncable/mutable_entry.h" -#include "sync/syncable/write_transaction.h" +#include "sync/syncable/syncable_write_transaction.h" #include "sync/util/cryptographer.h" using std::list; diff --git a/sync/engine/download_updates_command.cc b/sync/engine/download_updates_command.cc index d3accdc..8e3a5cd 100644 --- a/sync/engine/download_updates_command.cc +++ b/sync/engine/download_updates_command.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -12,7 +12,7 @@ #include "sync/internal_api/public/base/model_type_invalidation_map.h" #include "sync/syncable/directory.h" #include "sync/syncable/nigori_handler.h" -#include "sync/syncable/read_transaction.h" +#include "sync/syncable/syncable_read_transaction.h" using sync_pb::DebugInfo; diff --git a/sync/engine/get_commit_ids_command.cc b/sync/engine/get_commit_ids_command.cc index bb6d228..4997239 100644 --- a/sync/engine/get_commit_ids_command.cc +++ b/sync/engine/get_commit_ids_command.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -15,7 +15,7 @@ #include "sync/syncable/nigori_handler.h" #include "sync/syncable/nigori_util.h" #include "sync/syncable/syncable_util.h" -#include "sync/syncable/write_transaction.h" +#include "sync/syncable/syncable_write_transaction.h" #include "sync/util/cryptographer.h" using std::set; diff --git a/sync/engine/process_commit_response_command.cc b/sync/engine/process_commit_response_command.cc index 811be36..b5b1b81 100644 --- a/sync/engine/process_commit_response_command.cc +++ b/sync/engine/process_commit_response_command.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -16,10 +16,10 @@ #include "sync/sessions/sync_session.h" #include "sync/syncable/entry.h" #include "sync/syncable/mutable_entry.h" -#include "sync/syncable/read_transaction.h" #include "sync/syncable/syncable_proto_util.h" +#include "sync/syncable/syncable_read_transaction.h" #include "sync/syncable/syncable_util.h" -#include "sync/syncable/write_transaction.h" +#include "sync/syncable/syncable_write_transaction.h" #include "sync/util/time.h" // TODO(vishwath): Remove this include after node positions have diff --git a/sync/engine/process_commit_response_command_unittest.cc b/sync/engine/process_commit_response_command_unittest.cc index 482036d..f20f86c 100644 --- a/sync/engine/process_commit_response_command_unittest.cc +++ b/sync/engine/process_commit_response_command_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -13,10 +13,10 @@ #include "sync/sessions/sync_session.h" #include "sync/syncable/entry.h" #include "sync/syncable/mutable_entry.h" -#include "sync/syncable/read_transaction.h" #include "sync/syncable/syncable_id.h" #include "sync/syncable/syncable_proto_util.h" -#include "sync/syncable/write_transaction.h" +#include "sync/syncable/syncable_read_transaction.h" +#include "sync/syncable/syncable_write_transaction.h" #include "sync/test/engine/fake_model_worker.h" #include "sync/test/engine/syncer_command_test.h" #include "sync/test/engine/test_id_factory.h" diff --git a/sync/engine/process_updates_command.cc b/sync/engine/process_updates_command.cc index 15a14cb..87533c5 100644 --- a/sync/engine/process_updates_command.cc +++ b/sync/engine/process_updates_command.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -16,7 +16,7 @@ #include "sync/syncable/mutable_entry.h" #include "sync/syncable/syncable_proto_util.h" #include "sync/syncable/syncable_util.h" -#include "sync/syncable/write_transaction.h" +#include "sync/syncable/syncable_write_transaction.h" #include "sync/util/cryptographer.h" // TODO(vishwath): Remove this include after node positions have diff --git a/sync/engine/syncer_unittest.cc b/sync/engine/syncer_unittest.cc index df41960..2bfcdf8 100644 --- a/sync/engine/syncer_unittest.cc +++ b/sync/engine/syncer_unittest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -41,9 +41,9 @@ #include "sync/sessions/sync_session_context.h" #include "sync/syncable/mutable_entry.h" #include "sync/syncable/nigori_util.h" -#include "sync/syncable/read_transaction.h" +#include "sync/syncable/syncable_read_transaction.h" #include "sync/syncable/syncable_util.h" -#include "sync/syncable/write_transaction.h" +#include "sync/syncable/syncable_write_transaction.h" #include "sync/test/engine/fake_model_worker.h" #include "sync/test/engine/mock_connection_manager.h" #include "sync/test/engine/test_directory_setter_upper.h" diff --git a/sync/engine/syncer_util.cc b/sync/engine/syncer_util.cc index b88bc7c..afbea45 100644 --- a/sync/engine/syncer_util.cc +++ b/sync/engine/syncer_util.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -21,11 +21,11 @@ #include "sync/syncable/directory.h" #include "sync/syncable/entry.h" #include "sync/syncable/mutable_entry.h" -#include "sync/syncable/read_transaction.h" #include "sync/syncable/syncable_changes_version.h" #include "sync/syncable/syncable_proto_util.h" +#include "sync/syncable/syncable_read_transaction.h" #include "sync/syncable/syncable_util.h" -#include "sync/syncable/write_transaction.h" +#include "sync/syncable/syncable_write_transaction.h" #include "sync/util/cryptographer.h" #include "sync/util/time.h" diff --git a/sync/engine/update_applicator.cc b/sync/engine/update_applicator.cc index e9fcac4..828f8c6 100644 --- a/sync/engine/update_applicator.cc +++ b/sync/engine/update_applicator.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -11,7 +11,7 @@ #include "sync/syncable/entry.h" #include "sync/syncable/mutable_entry.h" #include "sync/syncable/syncable_id.h" -#include "sync/syncable/write_transaction.h" +#include "sync/syncable/syncable_write_transaction.h" using std::vector; |