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

Side by Side Diff: cc/playback/display_item_proto_factory.h

Issue 1407793002: Add protobuf serialization to DisplayItemList (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blimp_display2
Patch Set: Comments are hard Created 5 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
« no previous file with comments | « cc/playback/display_item_list_unittest.cc ('k') | cc/playback/display_item_proto_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CC_PLAYBACK_DISPLAY_ITEM_PROTO_FACTORY_H_
6 #define CC_PLAYBACK_DISPLAY_ITEM_PROTO_FACTORY_H_
7
8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h"
10 #include "cc/playback/display_item.h"
11 #include "cc/playback/display_item_list.h"
12
13 namespace cc {
14
15 namespace proto {
16 class DisplayItem;
17 }
18
19 class DisplayItemProtoFactory {
20 public:
21 static DisplayItem* AllocateAndConstruct(scoped_refptr<DisplayItemList> list,
22 const proto::DisplayItem& proto);
23
24 private:
25 DisplayItemProtoFactory() {}
26 virtual ~DisplayItemProtoFactory() {}
27
28 DISALLOW_COPY_AND_ASSIGN(DisplayItemProtoFactory);
29 };
30
31 } // namespace cc
32
33 #endif // CC_PLAYBACK_DISPLAY_ITEM_PROTO_FACTORY_H_
OLDNEW
« no previous file with comments | « cc/playback/display_item_list_unittest.cc ('k') | cc/playback/display_item_proto_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698