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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « cc/debug/devtools_instrumentation.h ('k') | no next file » | 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 2016 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 #include "cc/debug/devtools_instrumentation.h"
6
7 namespace cc {
8 namespace devtools_instrumentation {
9
10 namespace internal {
11 extern const char kCategory[] = TRACE_DISABLED_BY_DEFAULT("devtools.timeline");
12 extern const char kCategoryFrame[] =
13 TRACE_DISABLED_BY_DEFAULT("devtools.timeline.frame");
14 extern const char kData[] = "data";
15 extern const char kFrameId[] = "frameId";
16 extern const char kLayerId[] = "layerId";
17 extern const char kLayerTreeId[] = "layerTreeId";
18 extern const char kPixelRefId[] = "pixelRefId";
19
20 extern const char kImageDecodeTask[] = "ImageDecodeTask";
21 extern const char kBeginFrame[] = "BeginFrame";
22 extern const char kNeedsBeginFrameChanged[] = "NeedsBeginFrameChanged";
23 extern const char kActivateLayerTree[] = "ActivateLayerTree";
24 extern const char kRequestMainThreadFrame[] = "RequestMainThreadFrame";
25 extern const char kBeginMainThreadFrame[] = "BeginMainThreadFrame";
26 extern const char kDrawFrame[] = "DrawFrame";
27 extern const char kCompositeLayers[] = "CompositeLayers";
28 } // namespace internal
29
30 extern const char kPaintSetup[] = "PaintSetup";
31 extern const char kUpdateLayer[] = "UpdateLayer";
32
33 } // namespace devtools_instrumentation
34 } // namespace cc
OLDNEW
« 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