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

Side by Side Diff: content/browser/tracing/tracing_controller_impl_data_sinks.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, 11 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "content/browser/tracing/tracing_controller_impl.h" 4 #include "content/browser/tracing/tracing_controller_impl.h"
5 5
6 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/json/json_writer.h" 8 #include "base/json/json_writer.h"
9 #include "base/macros.h"
9 #include "base/strings/pattern.h" 10 #include "base/strings/pattern.h"
10 #include "content/public/browser/browser_thread.h" 11 #include "content/public/browser/browser_thread.h"
11 #include "third_party/zlib/zlib.h" 12 #include "third_party/zlib/zlib.h"
12 13
13 namespace content { 14 namespace content {
14 15
15 namespace { 16 namespace {
16 17
17 const char kChromeTraceLabel[] = "traceEvents"; 18 const char kChromeTraceLabel[] = "traceEvents";
18 const char kMetadataTraceLabel[] = "metadata"; 19 const char kMetadataTraceLabel[] = "metadata";
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 return new StringTraceDataEndpoint(callback); 365 return new StringTraceDataEndpoint(callback);
365 } 366 }
366 367
367 scoped_refptr<TracingController::TraceDataEndpoint> 368 scoped_refptr<TracingController::TraceDataEndpoint>
368 TracingController::CreateFileEndpoint(const base::FilePath& file_path, 369 TracingController::CreateFileEndpoint(const base::FilePath& file_path,
369 const base::Closure& callback) { 370 const base::Closure& callback) {
370 return new FileTraceDataEndpoint(file_path, callback); 371 return new FileTraceDataEndpoint(file_path, callback);
371 } 372 }
372 373
373 } // namespace content 374 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/tracing/tracing_controller_impl.cc ('k') | content/browser/tracing/tracing_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698