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

Side by Side Diff: content/browser/devtools/devtools_frame_trace_recorder.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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 #include "content/browser/devtools/devtools_frame_trace_recorder.h" 5 #include "content/browser/devtools/devtools_frame_trace_recorder.h"
6 6
7 #include <stddef.h>
8
7 #include <string> 9 #include <string>
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/atomicops.h" 12 #include "base/atomicops.h"
11 #include "base/base64.h" 13 #include "base/base64.h"
12 #include "base/bind.h" 14 #include "base/bind.h"
13 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
14 #include "base/trace_event/trace_event_impl.h" 16 #include "base/trace_event/trace_event_impl.h"
15 #include "cc/output/compositor_frame_metadata.h" 17 #include "cc/output/compositor_frame_metadata.h"
16 #include "content/browser/frame_host/render_frame_host_impl.h" 18 #include "content/browser/frame_host/render_frame_host_impl.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 } 133 }
132 134
133 bool is_new_trace; 135 bool is_new_trace;
134 TRACE_EVENT_IS_NEW_TRACE(&is_new_trace); 136 TRACE_EVENT_IS_NEW_TRACE(&is_new_trace);
135 if (!is_new_trace && last_metadata_) 137 if (!is_new_trace && last_metadata_)
136 CaptureFrame(host, *last_metadata_); 138 CaptureFrame(host, *last_metadata_);
137 last_metadata_.reset(new cc::CompositorFrameMetadata(frame_metadata)); 139 last_metadata_.reset(new cc::CompositorFrameMetadata(frame_metadata));
138 } 140 }
139 141
140 } // namespace content 142 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/devtools/devtools_frame_trace_recorder.h ('k') | content/browser/devtools/devtools_frontend_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698