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

Side by Side Diff: chrome/browser/jankometer.h

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/io_thread.h ('k') | chrome/browser/jankometer_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #ifndef CHROME_BROWSER_JANKOMETER_H_ 5 #ifndef CHROME_BROWSER_JANKOMETER_H_
6 #define CHROME_BROWSER_JANKOMETER_H_ 6 #define CHROME_BROWSER_JANKOMETER_H_
7 7
8 namespace base {
8 class CommandLine; 9 class CommandLine;
10 }
9 11
10 // The Jank-O-Meter measures jankyness, which is user-perceivable lag in 12 // The Jank-O-Meter measures jankyness, which is user-perceivable lag in
11 // responsiveness of the application. 13 // responsiveness of the application.
12 // 14 //
13 // It will log such "lag" events to the metrics log. 15 // It will log such "lag" events to the metrics log.
14 // 16 //
15 // This function will initialize the service, which will install itself in 17 // This function will initialize the service, which will install itself in
16 // critical threads. It should be called on the UI thread. 18 // critical threads. It should be called on the UI thread.
17 void InstallJankometer(const CommandLine& parsed_command_line); 19 void InstallJankometer(const base::CommandLine& parsed_command_line);
18 20
19 // Clean up Jank-O-Meter junk 21 // Clean up Jank-O-Meter junk
20 void UninstallJankometer(); 22 void UninstallJankometer();
21 23
22 #endif // CHROME_BROWSER_JANKOMETER_H_ 24 #endif // CHROME_BROWSER_JANKOMETER_H_
OLDNEW
« no previous file with comments | « chrome/browser/io_thread.h ('k') | chrome/browser/jankometer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698