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

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

Issue 7058041: Remove ResourceDispatcherHost dependency on Chrome's LoginHandler and ExternalProtocolHandler. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix deps Created 9 years, 6 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/chrome_browser.gypi ('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/scoped_ptr.h"
12 #include "content/renderer/render_process_observer.h" 13 #include "content/renderer/render_process_observer.h"
13 14
14 class GURL; 15 class GURL;
16 class ResourceDispatcherDelegate;
15 struct ContentSettings; 17 struct ContentSettings;
16 18
17 // This class filters the incoming control messages (i.e. ones not destined for 19 // This class filters the incoming control messages (i.e. ones not destined for
18 // a RenderView) for Chrome specific messages that the content layer doesn't 20 // a RenderView) for Chrome specific messages that the content layer doesn't
19 // happen. If a few messages are related, they should probably have their own 21 // happen. If a few messages are related, they should probably have their own
20 // observer. 22 // observer.
21 class ChromeRenderProcessObserver : public RenderProcessObserver { 23 class ChromeRenderProcessObserver : public RenderProcessObserver {
22 public: 24 public:
23 ChromeRenderProcessObserver(); 25 ChromeRenderProcessObserver();
24 virtual ~ChromeRenderProcessObserver(); 26 virtual ~ChromeRenderProcessObserver();
(...skipping 12 matching lines...) Expand all
37 size_t capacity); 39 size_t capacity);
38 void OnClearCache(); 40 void OnClearCache();
39 void OnGetCacheResourceStats(); 41 void OnGetCacheResourceStats();
40 void OnSetFieldTrialGroup(const std::string& fiel_trial_name, 42 void OnSetFieldTrialGroup(const std::string& fiel_trial_name,
41 const std::string& group_name); 43 const std::string& group_name);
42 void OnGetRendererTcmalloc(); 44 void OnGetRendererTcmalloc();
43 void OnGetV8HeapStats(); 45 void OnGetV8HeapStats();
44 void OnPurgeMemory(); 46 void OnPurgeMemory();
45 47
46 static bool is_incognito_process_; 48 static bool is_incognito_process_;
49 scoped_ptr<ResourceDispatcherDelegate> resource_delegate_;
47 50
48 DISALLOW_COPY_AND_ASSIGN(ChromeRenderProcessObserver); 51 DISALLOW_COPY_AND_ASSIGN(ChromeRenderProcessObserver);
49 }; 52 };
50 53
51 #endif // CHROME_RENDERER_CHROME_RENDER_PROCESS_OBSERVER_H_ 54 #endif // CHROME_RENDERER_CHROME_RENDER_PROCESS_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/renderer/chrome_render_process_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698