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

Side by Side Diff: chrome/common/profiling.h

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « chrome/common/prerender_messages.h ('k') | chrome/common/profiling.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_COMMON_PROFILING_H_ 5 #ifndef CHROME_COMMON_PROFILING_H_
6 #define CHROME_COMMON_PROFILING_H_ 6 #define CHROME_COMMON_PROFILING_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include "base/basictypes.h"
11 #include "base/debug/profiler.h" 10 #include "base/debug/profiler.h"
11 #include "base/macros.h"
12 12
13 // The Profiling class manages the interaction with a sampling based profiler. 13 // The Profiling class manages the interaction with a sampling based profiler.
14 // Its function is controlled by the kProfilingAtStart, kProfilingFile, and 14 // Its function is controlled by the kProfilingAtStart, kProfilingFile, and
15 // kProfilingFlush command line values. 15 // kProfilingFlush command line values.
16 // All of the API should only be called from the main thread of the process. 16 // All of the API should only be called from the main thread of the process.
17 class Profiling { 17 class Profiling {
18 public: 18 public:
19 // Called early in a process' life to allow profiling of startup time. 19 // Called early in a process' life to allow profiling of startup time.
20 // the presence of kProfilingAtStart is checked. 20 // the presence of kProfilingAtStart is checked.
21 static void ProcessStarted(); 21 static void ProcessStarted();
(...skipping 11 matching lines...) Expand all
33 static void Toggle(); 33 static void Toggle();
34 34
35 private: 35 private:
36 // Do not instantiate this class. 36 // Do not instantiate this class.
37 Profiling(); 37 Profiling();
38 38
39 DISALLOW_COPY_AND_ASSIGN(Profiling); 39 DISALLOW_COPY_AND_ASSIGN(Profiling);
40 }; 40 };
41 41
42 #endif // CHROME_COMMON_PROFILING_H_ 42 #endif // CHROME_COMMON_PROFILING_H_
OLDNEW
« no previous file with comments | « chrome/common/prerender_messages.h ('k') | chrome/common/profiling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698