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

Side by Side Diff: chrome/browser/chrome_browser_field_trials_desktop.cc

Issue 2537503002: [Prerender] Get the prerender mode from Finch field trial. (Closed)
Patch Set: cleanup Created 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/chrome_browser_field_trials_desktop.h" 5 #include "chrome/browser/chrome_browser_field_trials_desktop.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 // Track code activities (such as posting task, blocking on locks, and 99 // Track code activities (such as posting task, blocking on locks, and
100 // joining threads) that can cause hanging threads and general instability 100 // joining threads) that can cause hanging threads and general instability
101 base::debug::GlobalActivityTracker::CreateWithFile( 101 base::debug::GlobalActivityTracker::CreateWithFile(
102 stability_file, kMemorySize, kAllocatorId, 102 stability_file, kMemorySize, kAllocatorId,
103 browser_watcher::kStabilityDebuggingFeature.name, kStackDepth); 103 browser_watcher::kStabilityDebuggingFeature.name, kStackDepth);
104 } 104 }
105 #endif // defined(OS_WIN) 105 #endif // defined(OS_WIN)
106 106
107 } // namespace 107 } // namespace
108 108
109 void SetupDesktopFieldTrials(const base::CommandLine& parsed_command_line) { 109 void SetupDesktopFieldTrials() {
110 prerender::ConfigurePrerender(parsed_command_line); 110 prerender::ConfigurePrerender();
111 SetupStunProbeTrial(); 111 SetupStunProbeTrial();
112 #if defined(OS_WIN) 112 #if defined(OS_WIN)
113 SetupStabilityDebugging(); 113 SetupStabilityDebugging();
114 #endif // defined(OS_WIN) 114 #endif // defined(OS_WIN)
115 } 115 }
116 116
117 } // namespace chrome 117 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_field_trials_desktop.h ('k') | chrome/browser/chrome_browser_field_trials_mobile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698