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

Side by Side Diff: base/allocator/type_profiler_control.h

Issue 1331973002: Remove clang type profiler and deep memory profiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 3 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 | « base/allocator/type_profiler.cc ('k') | base/allocator/type_profiler_control.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef BASE_ALLOCATOR_TYPE_PROFILER_CONTROL_H_
6 #define BASE_ALLOCATOR_TYPE_PROFILER_CONTROL_H_
7
8 #include "base/gtest_prod_util.h"
9
10 namespace base {
11 namespace type_profiler {
12
13 class Controller {
14 public:
15 static void Stop();
16 static bool IsProfiling();
17
18 private:
19 FRIEND_TEST_ALL_PREFIXES(TypeProfilerTest,
20 TestProfileNewWithoutProfiledDelete);
21
22 // It must be used only from allowed unit tests. The following is only
23 // allowed for use in unit tests. Profiling should never be restarted in
24 // regular use.
25 static void Restart();
26 };
27
28 } // namespace type_profiler
29 } // namespace base
30
31 #endif // BASE_ALLOCATOR_TYPE_PROFILER_CONTROL_H_
OLDNEW
« no previous file with comments | « base/allocator/type_profiler.cc ('k') | base/allocator/type_profiler_control.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698