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

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

Issue 11094041: Merge 161048 - Disable tcmalloc profile files. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1271/src/
Patch Set: Created 8 years, 2 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 void OnSetContentSettingRules(const RendererContentSettingRules& rules); 54 void OnSetContentSettingRules(const RendererContentSettingRules& rules);
55 void OnSetCacheCapacities(size_t min_dead_capacity, 55 void OnSetCacheCapacities(size_t min_dead_capacity,
56 size_t max_dead_capacity, 56 size_t max_dead_capacity,
57 size_t capacity); 57 size_t capacity);
58 // If |on_navigation| is true, the clearing is delayed until the next 58 // If |on_navigation| is true, the clearing is delayed until the next
59 // navigation event. 59 // navigation event.
60 void OnClearCache(bool on_navigation); 60 void OnClearCache(bool on_navigation);
61 void OnGetCacheResourceStats(); 61 void OnGetCacheResourceStats();
62 void OnSetFieldTrialGroup(const std::string& fiel_trial_name, 62 void OnSetFieldTrialGroup(const std::string& fiel_trial_name,
63 const std::string& group_name); 63 const std::string& group_name);
64 void OnSetTcmallocHeapProfiling(bool profiling, const std::string& prefix);
65 void OnWriteTcmallocHeapProfile(const FilePath::StringType& filename);
66 void OnGetV8HeapStats(); 64 void OnGetV8HeapStats();
67 void OnPurgeMemory(); 65 void OnPurgeMemory();
68 void OnToggleWebKitSharedTimer(bool suspend); 66 void OnToggleWebKitSharedTimer(bool suspend);
69 67
70 static bool is_incognito_process_; 68 static bool is_incognito_process_;
71 scoped_ptr<content::ResourceDispatcherDelegate> resource_delegate_; 69 scoped_ptr<content::ResourceDispatcherDelegate> resource_delegate_;
72 chrome::ChromeContentRendererClient* client_; 70 chrome::ChromeContentRendererClient* client_;
73 // If true, the web cache shall be cleared before the next navigation event. 71 // If true, the web cache shall be cleared before the next navigation event.
74 bool clear_cache_pending_; 72 bool clear_cache_pending_;
75 RendererContentSettingRules content_setting_rules_; 73 RendererContentSettingRules content_setting_rules_;
76 74
77 DISALLOW_COPY_AND_ASSIGN(ChromeRenderProcessObserver); 75 DISALLOW_COPY_AND_ASSIGN(ChromeRenderProcessObserver);
78 }; 76 };
79 77
80 #endif // CHROME_RENDERER_CHROME_RENDER_PROCESS_OBSERVER_H_ 78 #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