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

Side by Side Diff: chrome/browser/sync/internal_api/change_record.cc

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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) 2011 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/change_record.h" 5 #include "chrome/browser/sync/internal_api/change_record.h"
6 6
7 #include "base/string_number_conversions.h" 7 #include "base/string_number_conversions.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/browser/sync/internal_api/base_node.h" 9 #include "chrome/browser/sync/internal_api/base_node.h"
10 #include "chrome/browser/sync/internal_api/read_node.h" 10 #include "chrome/browser/sync/internal_api/read_node.h"
11 #include "chrome/browser/sync/protocol/proto_value_conversions.h" 11 #include "sync/protocol/proto_value_conversions.h"
12 12
13 namespace sync_api { 13 namespace sync_api {
14 14
15 ChangeRecord::ChangeRecord() 15 ChangeRecord::ChangeRecord()
16 : id(kInvalidId), action(ACTION_ADD) {} 16 : id(kInvalidId), action(ACTION_ADD) {}
17 17
18 ChangeRecord::~ChangeRecord() {} 18 ChangeRecord::~ChangeRecord() {}
19 19
20 DictionaryValue* ChangeRecord::ToValue() const { 20 DictionaryValue* ChangeRecord::ToValue() const {
21 DictionaryValue* value = new DictionaryValue(); 21 DictionaryValue* value = new DictionaryValue();
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 return browser_sync::PasswordSpecificsDataToValue(unencrypted_); 60 return browser_sync::PasswordSpecificsDataToValue(unencrypted_);
61 } 61 }
62 62
63 const sync_pb::PasswordSpecificsData& 63 const sync_pb::PasswordSpecificsData&
64 ExtraPasswordChangeRecordData::unencrypted() const { 64 ExtraPasswordChangeRecordData::unencrypted() const {
65 return unencrypted_; 65 return unencrypted_;
66 } 66 }
67 67
68 } // namespace sync_api 68 } // namespace sync_api
69 69
OLDNEW
« no previous file with comments | « chrome/browser/sync/internal_api/change_record.h ('k') | chrome/browser/sync/internal_api/change_record_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698