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

Side by Side Diff: components/sync/engine/events/clear_server_data_request_event.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "sync/internal_api/public/events/clear_server_data_request_event.h" 5 #include "components/sync/engine/events/clear_server_data_request_event.h"
6 6
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "sync/protocol/proto_value_conversions.h" 8 #include "components/sync/protocol/proto_value_conversions.h"
9 9
10 namespace syncer { 10 namespace syncer {
11 11
12 ClearServerDataRequestEvent::ClearServerDataRequestEvent( 12 ClearServerDataRequestEvent::ClearServerDataRequestEvent(
13 base::Time timestamp, 13 base::Time timestamp,
14 const sync_pb::ClientToServerMessage& request) 14 const sync_pb::ClientToServerMessage& request)
15 : timestamp_(timestamp), request_(request) {} 15 : timestamp_(timestamp), request_(request) {}
16 16
17 ClearServerDataRequestEvent::~ClearServerDataRequestEvent() {} 17 ClearServerDataRequestEvent::~ClearServerDataRequestEvent() {}
18 18
(...skipping 14 matching lines...) Expand all
33 return std::unique_ptr<base::DictionaryValue>( 33 return std::unique_ptr<base::DictionaryValue>(
34 ClientToServerMessageToValue(request_, false)); 34 ClientToServerMessageToValue(request_, false));
35 } 35 }
36 36
37 std::unique_ptr<ProtocolEvent> ClearServerDataRequestEvent::Clone() const { 37 std::unique_ptr<ProtocolEvent> ClearServerDataRequestEvent::Clone() const {
38 return std::unique_ptr<ProtocolEvent>( 38 return std::unique_ptr<ProtocolEvent>(
39 new ClearServerDataRequestEvent(timestamp_, request_)); 39 new ClearServerDataRequestEvent(timestamp_, request_));
40 } 40 }
41 41
42 } // namespace syncer 42 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698