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

Side by Side Diff: components/sync/engine_impl/events/poll_get_updates_request_event.cc

Issue 2436863005: [Sync] Move events files around a bit. (Closed)
Patch Set: Rebase. Created 4 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/sync/engine/events/poll_get_updates_request_event.h" 5 #include "components/sync/engine_impl/events/poll_get_updates_request_event.h"
6 6
7 #include "components/sync/protocol/proto_value_conversions.h" 7 #include "components/sync/protocol/proto_value_conversions.h"
8 8
9 namespace syncer { 9 namespace syncer {
10 10
11 PollGetUpdatesRequestEvent::PollGetUpdatesRequestEvent( 11 PollGetUpdatesRequestEvent::PollGetUpdatesRequestEvent(
12 base::Time timestamp, 12 base::Time timestamp,
13 const sync_pb::ClientToServerMessage& request) 13 const sync_pb::ClientToServerMessage& request)
14 : timestamp_(timestamp), request_(request) {} 14 : timestamp_(timestamp), request_(request) {}
15 15
(...skipping 16 matching lines...) Expand all
32 return std::unique_ptr<base::DictionaryValue>( 32 return std::unique_ptr<base::DictionaryValue>(
33 ClientToServerMessageToValue(request_, false)); 33 ClientToServerMessageToValue(request_, false));
34 } 34 }
35 35
36 std::unique_ptr<ProtocolEvent> PollGetUpdatesRequestEvent::Clone() const { 36 std::unique_ptr<ProtocolEvent> PollGetUpdatesRequestEvent::Clone() const {
37 return std::unique_ptr<ProtocolEvent>( 37 return std::unique_ptr<ProtocolEvent>(
38 new PollGetUpdatesRequestEvent(timestamp_, request_)); 38 new PollGetUpdatesRequestEvent(timestamp_, request_));
39 } 39 }
40 40
41 } // namespace syncer 41 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698