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

Unified Diff: cc/debug/devtools_instrumentation.cc

Issue 2523063002: Size reduction from moving const char arrays out of header (Closed)
Patch Set: Added new .cc file to patch 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/debug/devtools_instrumentation.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/devtools_instrumentation.cc
diff --git a/cc/debug/devtools_instrumentation.cc b/cc/debug/devtools_instrumentation.cc
new file mode 100644
index 0000000000000000000000000000000000000000..e5743405febcf0063097d382b4d8888edf3317a3
--- /dev/null
+++ b/cc/debug/devtools_instrumentation.cc
@@ -0,0 +1,34 @@
+// Copyright 2016 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.
+
+#include "cc/debug/devtools_instrumentation.h"
+
+namespace cc {
+namespace devtools_instrumentation {
+
+namespace internal {
+extern const char kCategory[] = TRACE_DISABLED_BY_DEFAULT("devtools.timeline");
+extern const char kCategoryFrame[] =
+ TRACE_DISABLED_BY_DEFAULT("devtools.timeline.frame");
+extern const char kData[] = "data";
+extern const char kFrameId[] = "frameId";
+extern const char kLayerId[] = "layerId";
+extern const char kLayerTreeId[] = "layerTreeId";
+extern const char kPixelRefId[] = "pixelRefId";
+
+extern const char kImageDecodeTask[] = "ImageDecodeTask";
+extern const char kBeginFrame[] = "BeginFrame";
+extern const char kNeedsBeginFrameChanged[] = "NeedsBeginFrameChanged";
+extern const char kActivateLayerTree[] = "ActivateLayerTree";
+extern const char kRequestMainThreadFrame[] = "RequestMainThreadFrame";
+extern const char kBeginMainThreadFrame[] = "BeginMainThreadFrame";
+extern const char kDrawFrame[] = "DrawFrame";
+extern const char kCompositeLayers[] = "CompositeLayers";
+} // namespace internal
+
+extern const char kPaintSetup[] = "PaintSetup";
+extern const char kUpdateLayer[] = "UpdateLayer";
+
+} // namespace devtools_instrumentation
+} // namespace cc
« no previous file with comments | « cc/debug/devtools_instrumentation.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698