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

Side by Side Diff: sync/internal_api/base_node.cc

Issue 10147003: [Sync] Move 'syncapi_core' and 'sync_unit_tests' targets to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Win update errors Created 8 years, 8 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 | « sync/internal_api/base_node.h ('k') | sync/internal_api/base_transaction.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/sync/internal_api/base_node.h" 5 #include "sync/internal_api/base_node.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/sha1.h" 8 #include "base/sha1.h"
9 #include "base/string_number_conversions.h" 9 #include "base/string_number_conversions.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/browser/sync/internal_api/syncapi_internal.h" 12 #include "sync/internal_api/base_transaction.h"
13 #include "chrome/browser/sync/internal_api/base_transaction.h" 13 #include "sync/internal_api/syncapi_internal.h"
14 #include "sync/protocol/app_specifics.pb.h" 14 #include "sync/protocol/app_specifics.pb.h"
15 #include "sync/protocol/autofill_specifics.pb.h" 15 #include "sync/protocol/autofill_specifics.pb.h"
16 #include "sync/protocol/bookmark_specifics.pb.h" 16 #include "sync/protocol/bookmark_specifics.pb.h"
17 #include "sync/protocol/extension_specifics.pb.h" 17 #include "sync/protocol/extension_specifics.pb.h"
18 #include "sync/protocol/nigori_specifics.pb.h" 18 #include "sync/protocol/nigori_specifics.pb.h"
19 #include "sync/protocol/password_specifics.pb.h" 19 #include "sync/protocol/password_specifics.pb.h"
20 #include "sync/protocol/session_specifics.pb.h" 20 #include "sync/protocol/session_specifics.pb.h"
21 #include "sync/protocol/theme_specifics.pb.h" 21 #include "sync/protocol/theme_specifics.pb.h"
22 #include "sync/protocol/typed_url_specifics.pb.h" 22 #include "sync/protocol/typed_url_specifics.pb.h"
23 #include "sync/syncable/syncable.h" 23 #include "sync/syncable/syncable.h"
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 const sync_pb::EntitySpecifics& specifics) { 337 const sync_pb::EntitySpecifics& specifics) {
338 syncable::ModelType type = syncable::GetModelTypeFromSpecifics(specifics); 338 syncable::ModelType type = syncable::GetModelTypeFromSpecifics(specifics);
339 DCHECK_NE(syncable::UNSPECIFIED, type); 339 DCHECK_NE(syncable::UNSPECIFIED, type);
340 if (GetModelType() != syncable::UNSPECIFIED) { 340 if (GetModelType() != syncable::UNSPECIFIED) {
341 DCHECK_EQ(GetModelType(), type); 341 DCHECK_EQ(GetModelType(), type);
342 } 342 }
343 unencrypted_data_.CopyFrom(specifics); 343 unencrypted_data_.CopyFrom(specifics);
344 } 344 }
345 345
346 } // namespace sync_api 346 } // namespace sync_api
OLDNEW
« no previous file with comments | « sync/internal_api/base_node.h ('k') | sync/internal_api/base_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698