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

Side by Side Diff: chrome/browser/tracing/chrome_tracing_delegate.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 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 4
5 #include "chrome/browser/tracing/chrome_tracing_delegate.h" 5 #include "chrome/browser/tracing/chrome_tracing_delegate.h"
6 6
7 #include "base/prefs/pref_registry_simple.h" 7 #include "base/prefs/pref_registry_simple.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "build/build_config.h"
10 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/profiles/profile.h" 12 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/profiles/profile_manager.h" 13 #include "chrome/browser/profiles/profile_manager.h"
13 #include "chrome/browser/tracing/crash_service_uploader.h" 14 #include "chrome/browser/tracing/crash_service_uploader.h"
14 #include "chrome/browser/ui/browser.h" 15 #include "chrome/browser/ui/browser.h"
15 #include "chrome/browser/ui/browser_list.h" 16 #include "chrome/browser/ui/browser_list.h"
16 #include "chrome/browser/ui/browser_otr_state.h" 17 #include "chrome/browser/ui/browser_otr_state.h"
17 #include "chrome/common/pref_names.h" 18 #include "chrome/common/pref_names.h"
18 #include "chrome/common/trace_event_args_whitelist.h" 19 #include "chrome/common/trace_event_args_whitelist.h"
19 #include "components/metrics/metrics_pref_names.h" 20 #include "components/metrics/metrics_pref_names.h"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 for (const auto& it : variations) 150 for (const auto& it : variations)
150 variations_list->Append(new base::StringValue(it)); 151 variations_list->Append(new base::StringValue(it));
151 152
152 metadata_dict->Set("field-trials", variations_list.Pass()); 153 metadata_dict->Set("field-trials", variations_list.Pass());
153 } 154 }
154 155
155 content::MetadataFilterPredicate 156 content::MetadataFilterPredicate
156 ChromeTracingDelegate::GetMetadataFilterPredicate() { 157 ChromeTracingDelegate::GetMetadataFilterPredicate() {
157 return base::Bind(&IsMetadataWhitelisted); 158 return base::Bind(&IsMetadataWhitelisted);
158 } 159 }
OLDNEW
« no previous file with comments | « chrome/browser/thumbnails/thumbnailing_context.h ('k') | chrome/browser/tracing/chrome_tracing_delegate_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698