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

Unified Diff: cc/debug/traced_display_item_list.h

Issue 2747273002: cc: Remove AsValue virtual from DisplayItem. (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/BUILD.gn ('k') | cc/debug/traced_display_item_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/traced_display_item_list.h
diff --git a/cc/debug/traced_display_item_list.h b/cc/debug/traced_display_item_list.h
deleted file mode 100644
index 50733485e6f5b74f1f29b29686ce95ffb7aaab41..0000000000000000000000000000000000000000
--- a/cc/debug/traced_display_item_list.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CC_DEBUG_TRACED_DISPLAY_ITEM_LIST_H_
-#define CC_DEBUG_TRACED_DISPLAY_ITEM_LIST_H_
-
-#include <memory>
-#include <string>
-
-#include "base/macros.h"
-#include "base/memory/ref_counted.h"
-#include "base/trace_event/trace_event.h"
-#include "cc/debug/traced_value.h"
-
-namespace cc {
-
-class DisplayItemList;
-
-class TracedDisplayItemList
- : public base::trace_event::ConvertableToTraceFormat {
- public:
- static std::unique_ptr<ConvertableToTraceFormat> AsTraceableDisplayItemList(
- scoped_refptr<const DisplayItemList> list,
- bool include_items) {
- return std::unique_ptr<ConvertableToTraceFormat>(
- new TracedDisplayItemList(list, include_items));
- }
- void AppendAsTraceFormat(std::string* out) const override;
-
- private:
- explicit TracedDisplayItemList(scoped_refptr<const DisplayItemList> list,
- bool include_items);
- ~TracedDisplayItemList() override;
-
- scoped_refptr<const DisplayItemList> display_item_list_;
- bool include_items_;
-
- DISALLOW_COPY_AND_ASSIGN(TracedDisplayItemList);
-};
-
-} // namespace cc
-
-#endif // CC_DEBUG_TRACED_DISPLAY_ITEM_LIST_H_
« no previous file with comments | « cc/BUILD.gn ('k') | cc/debug/traced_display_item_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698