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

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

Issue 1081323003: Convert renderer JS memory usage reporting to use Mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@utility-process-report-js-memory
Patch Set: Rebase and fix tests. Created 5 years, 7 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/renderer/BUILD.gn ('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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 void OnFieldTrialGroupFinalized(const std::string& trial_name, 47 void OnFieldTrialGroupFinalized(const std::string& trial_name,
48 const std::string& group_name) override; 48 const std::string& group_name) override;
49 49
50 void OnSetIsIncognitoProcess(bool is_incognito_process); 50 void OnSetIsIncognitoProcess(bool is_incognito_process);
51 void OnSetContentSettingsForCurrentURL( 51 void OnSetContentSettingsForCurrentURL(
52 const GURL& url, const ContentSettings& content_settings); 52 const GURL& url, const ContentSettings& content_settings);
53 void OnSetContentSettingRules(const RendererContentSettingRules& rules); 53 void OnSetContentSettingRules(const RendererContentSettingRules& rules);
54 void OnGetCacheResourceStats(); 54 void OnGetCacheResourceStats();
55 void OnSetFieldTrialGroup(const std::string& fiel_trial_name, 55 void OnSetFieldTrialGroup(const std::string& fiel_trial_name,
56 const std::string& group_name); 56 const std::string& group_name);
57 void OnGetV8HeapStats();
58 57
59 static bool is_incognito_process_; 58 static bool is_incognito_process_;
60 scoped_ptr<content::ResourceDispatcherDelegate> resource_delegate_; 59 scoped_ptr<content::ResourceDispatcherDelegate> resource_delegate_;
61 RendererContentSettingRules content_setting_rules_; 60 RendererContentSettingRules content_setting_rules_;
62 61
63 bool webkit_initialized_; 62 bool webkit_initialized_;
64 63
65 DISALLOW_COPY_AND_ASSIGN(ChromeRenderProcessObserver); 64 DISALLOW_COPY_AND_ASSIGN(ChromeRenderProcessObserver);
66 }; 65 };
67 66
68 #endif // CHROME_RENDERER_CHROME_RENDER_PROCESS_OBSERVER_H_ 67 #endif // CHROME_RENDERER_CHROME_RENDER_PROCESS_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/BUILD.gn ('k') | chrome/renderer/chrome_render_process_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698