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

Side by Side Diff: cc/debug/frame_viewer_instrumentation.h

Issue 785913003: Remove devtools_instrumentation::kRasterTask in favor of frame viewer's one (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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') | cc/resources/tile_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CC_DEBUG_FRAME_VIEWER_INSTRUMENTATION_H_ 5 #ifndef CC_DEBUG_FRAME_VIEWER_INSTRUMENTATION_H_
6 #define CC_DEBUG_FRAME_VIEWER_INSTRUMENTATION_H_ 6 #define CC_DEBUG_FRAME_VIEWER_INSTRUMENTATION_H_
7 7
8 #include "base/debug/trace_event.h" 8 #include "base/debug/trace_event.h"
9 #include "cc/resources/tile.h" 9 #include "cc/resources/tile.h"
10 10
11 namespace cc { 11 namespace cc {
12 namespace frame_viewer_instrumentation { 12 namespace frame_viewer_instrumentation {
13 namespace internal { 13 namespace internal {
14 14
15 const char kCategory[] = "cc"; 15 const char kCategory[] = "cc," TRACE_DISABLED_BY_DEFAULT("devtools.timeline");
16 const char kTileData[] = "tileData"; 16 const char kTileData[] = "tileData";
17 const char kLayerId[] = "layerId"; 17 const char kLayerId[] = "layerId";
18 const char kTileId[] = "tileId"; 18 const char kTileId[] = "tileId";
19 const char kTileResolution[] = "tileResolution"; 19 const char kTileResolution[] = "tileResolution";
20 const char kSourceFrameNumber[] = "sourceFrameNumber"; 20 const char kSourceFrameNumber[] = "sourceFrameNumber";
21 21
22 const char kAnalyzeTask[] = "AnalyzeTask"; 22 const char kAnalyzeTask[] = "AnalyzeTask";
23 const char kRasterTask[] = "RasterTask"; 23 const char kRasterTask[] = "RasterTask";
24 24
25 scoped_refptr<base::debug::ConvertableToTraceFormat> TileDataAsValue( 25 scoped_refptr<base::debug::ConvertableToTraceFormat> TileDataAsValue(
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 } 77 }
78 78
79 private: 79 private:
80 DISALLOW_COPY_AND_ASSIGN(ScopedRasterTask); 80 DISALLOW_COPY_AND_ASSIGN(ScopedRasterTask);
81 }; 81 };
82 82
83 } // namespace frame_viewer_instrumentation 83 } // namespace frame_viewer_instrumentation
84 } // namespace cc 84 } // namespace cc
85 85
86 #endif // CC_DEBUG_FRAME_VIEWER_INSTRUMENTATION_H_ 86 #endif // CC_DEBUG_FRAME_VIEWER_INSTRUMENTATION_H_
OLDNEW
« no previous file with comments | « cc/debug/devtools_instrumentation.h ('k') | cc/resources/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698