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

Side by Side Diff: chrome/renderer/chrome_render_process_observer.h

Issue 7607009: Revert 96054 - Enable tcmalloc profiling and heap dump. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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/common/render_messages.h ('k') | chrome/renderer/chrome_render_process_observer.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_RENDERER_CHROME_RENDER_PROCESS_OBSERVER_H_ 5 #ifndef CHROME_RENDERER_CHROME_RENDER_PROCESS_OBSERVER_H_
6 #define CHROME_RENDERER_CHROME_RENDER_PROCESS_OBSERVER_H_ 6 #define CHROME_RENDERER_CHROME_RENDER_PROCESS_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/file_path.h"
13 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
14 #include "content/renderer/render_process_observer.h" 13 #include "content/renderer/render_process_observer.h"
15 14
16 namespace chrome { 15 namespace chrome {
17 class ChromeContentRendererClient; 16 class ChromeContentRendererClient;
18 } 17 }
19 18
20 class GURL; 19 class GURL;
21 class ResourceDispatcherDelegate; 20 class ResourceDispatcherDelegate;
22 struct ContentSettings; 21 struct ContentSettings;
(...skipping 20 matching lines...) Expand all
43 const GURL& url, const ContentSettings& content_settings); 42 const GURL& url, const ContentSettings& content_settings);
44 void OnSetDefaultContentSettings(const ContentSettings& content_settings); 43 void OnSetDefaultContentSettings(const ContentSettings& content_settings);
45 void OnSetCacheCapacities(size_t min_dead_capacity, 44 void OnSetCacheCapacities(size_t min_dead_capacity,
46 size_t max_dead_capacity, 45 size_t max_dead_capacity,
47 size_t capacity); 46 size_t capacity);
48 void OnClearCache(); 47 void OnClearCache();
49 void OnGetCacheResourceStats(); 48 void OnGetCacheResourceStats();
50 void OnSetFieldTrialGroup(const std::string& fiel_trial_name, 49 void OnSetFieldTrialGroup(const std::string& fiel_trial_name,
51 const std::string& group_name); 50 const std::string& group_name);
52 void OnGetRendererTcmalloc(); 51 void OnGetRendererTcmalloc();
53 void OnSetTcmallocHeapProfiling(bool profiling, const std::string& prefix);
54 void OnWriteTcmallocHeapProfile(const FilePath::StringType& filename);
55 void OnGetV8HeapStats(); 52 void OnGetV8HeapStats();
56 void OnPurgeMemory(); 53 void OnPurgeMemory();
57 54
58 static bool is_incognito_process_; 55 static bool is_incognito_process_;
59 scoped_ptr<ResourceDispatcherDelegate> resource_delegate_; 56 scoped_ptr<ResourceDispatcherDelegate> resource_delegate_;
60 chrome::ChromeContentRendererClient* client_; 57 chrome::ChromeContentRendererClient* client_;
61 58
62 DISALLOW_COPY_AND_ASSIGN(ChromeRenderProcessObserver); 59 DISALLOW_COPY_AND_ASSIGN(ChromeRenderProcessObserver);
63 }; 60 };
64 61
65 #endif // CHROME_RENDERER_CHROME_RENDER_PROCESS_OBSERVER_H_ 62 #endif // CHROME_RENDERER_CHROME_RENDER_PROCESS_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages.h ('k') | chrome/renderer/chrome_render_process_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698