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

Unified Diff: chrome/renderer/chrome_render_process_observer.h

Issue 528363002: Move webCacheManager to //components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/chrome_render_process_observer.h
diff --git a/chrome/renderer/chrome_render_process_observer.h b/chrome/renderer/chrome_render_process_observer.h
index 91a1646ac85db41b405e9acaf6cdeddf94da585a..643d747c883168b710daf5522bfd65def1c3affc 100644
--- a/chrome/renderer/chrome_render_process_observer.h
+++ b/chrome/renderer/chrome_render_process_observer.h
@@ -33,10 +33,6 @@ class ChromeRenderProcessObserver : public content::RenderProcessObserver {
static bool is_incognito_process() { return is_incognito_process_; }
- // Needs to be called by RenderViews in case of navigations to execute
- // any 'clear cache' commands that were delayed until the next navigation.
- void ExecutePendingClearCache();
-
// Returns a pointer to the content setting rules owned by
// |ChromeRenderProcessObserver|.
const RendererContentSettingRules* content_setting_rules() const;
@@ -51,12 +47,6 @@ class ChromeRenderProcessObserver : public content::RenderProcessObserver {
void OnSetContentSettingsForCurrentURL(
const GURL& url, const ContentSettings& content_settings);
void OnSetContentSettingRules(const RendererContentSettingRules& rules);
- void OnSetCacheCapacities(size_t min_dead_capacity,
- size_t max_dead_capacity,
- size_t capacity);
- // If |on_navigation| is true, the clearing is delayed until the next
- // navigation event.
- void OnClearCache(bool on_navigation);
void OnGetCacheResourceStats();
void OnSetFieldTrialGroup(const std::string& fiel_trial_name,
const std::string& group_name);
@@ -70,9 +60,6 @@ class ChromeRenderProcessObserver : public content::RenderProcessObserver {
RendererContentSettingRules content_setting_rules_;
bool webkit_initialized_;
- size_t pending_cache_min_dead_capacity_;
- size_t pending_cache_max_dead_capacity_;
- size_t pending_cache_capacity_;
DISALLOW_COPY_AND_ASSIGN(ChromeRenderProcessObserver);
};

Powered by Google App Engine
This is Rietveld 408576698