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

Side by Side Diff: chrome/browser/tracing/chrome_tracing_delegate_browsertest.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 "base/base_switches.h" 5 #include "base/base_switches.h"
6 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "build/build_config.h"
9 #include "chrome/app/chrome_command_ids.h" 10 #include "chrome/app/chrome_command_ids.h"
10 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/tracing/background_tracing_field_trial.h" 12 #include "chrome/browser/tracing/background_tracing_field_trial.h"
12 #include "chrome/browser/ui/browser_commands.h" 13 #include "chrome/browser/ui/browser_commands.h"
13 #include "chrome/browser/ui/browser_list.h" 14 #include "chrome/browser/ui/browser_list.h"
14 #include "chrome/common/chrome_switches.h" 15 #include "chrome/common/chrome_switches.h"
15 #include "chrome/common/pref_names.h" 16 #include "chrome/common/pref_names.h"
16 #include "chrome/test/base/in_process_browser_test.h" 17 #include "chrome/test/base/in_process_browser_test.h"
17 #include "components/metrics/metrics_pref_names.h" 18 #include "components/metrics/metrics_pref_names.h"
18 #include "content/public/browser/background_tracing_config.h" 19 #include "content/public/browser/background_tracing_config.h"
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 274
274 IN_PROC_BROWSER_TEST_F(ChromeTracingDelegateBrowserTestOnStartup, 275 IN_PROC_BROWSER_TEST_F(ChromeTracingDelegateBrowserTestOnStartup,
275 StartupTracingThrottle) { 276 StartupTracingThrottle) {
276 // The startup scenario should *not* be started, since not enough 277 // The startup scenario should *not* be started, since not enough
277 // time has elapsed since the last upload (set in the PRE_ above). 278 // time has elapsed since the last upload (set in the PRE_ above).
278 EXPECT_FALSE( 279 EXPECT_FALSE(
279 content::BackgroundTracingManager::GetInstance()->HasActiveScenario()); 280 content::BackgroundTracingManager::GetInstance()->HasActiveScenario());
280 } 281 }
281 282
282 } // namespace 283 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/tracing/chrome_tracing_delegate.cc ('k') | chrome/browser/tracing/crash_service_uploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698