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

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

Issue 2436863005: [Sync] Move events files around a bit. (Closed)
Patch Set: Rebase. Created 4 years, 2 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 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/commit_request_event.h" 5 #include "components/sync/engine_impl/events/commit_request_event.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/format_macros.h" 9 #include "base/format_macros.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
11 #include "components/sync/protocol/proto_value_conversions.h" 11 #include "components/sync/protocol/proto_value_conversions.h"
12 12
13 namespace syncer { 13 namespace syncer {
14 14
15 CommitRequestEvent::CommitRequestEvent( 15 CommitRequestEvent::CommitRequestEvent(
(...skipping 29 matching lines...) Expand all
45 return std::unique_ptr<base::DictionaryValue>( 45 return std::unique_ptr<base::DictionaryValue>(
46 ClientToServerMessageToValue(request_, false)); 46 ClientToServerMessageToValue(request_, false));
47 } 47 }
48 48
49 std::unique_ptr<ProtocolEvent> CommitRequestEvent::Clone() const { 49 std::unique_ptr<ProtocolEvent> CommitRequestEvent::Clone() const {
50 return std::unique_ptr<ProtocolEvent>(new CommitRequestEvent( 50 return std::unique_ptr<ProtocolEvent>(new CommitRequestEvent(
51 timestamp_, num_items_, contributing_types_, request_)); 51 timestamp_, num_items_, contributing_types_, request_));
52 } 52 }
53 53
54 } // namespace syncer 54 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698