summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_process_impl.h
diff options
context:
space:
mode:
authormbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-14 22:17:25 +0000
committermbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-14 22:17:25 +0000
commitae7ca1b9b87f64b8c798cc9db11cc568e9ae421e (patch)
tree2028b70d318110ec2e44760859bc9bb16c4d3d09 /chrome/browser/browser_process_impl.h
parenta4bcf7d648a9dcbc75b989801f8126b080d55ba0 (diff)
downloadchromium_src-ae7ca1b9b87f64b8c798cc9db11cc568e9ae421e.zip
chromium_src-ae7ca1b9b87f64b8c798cc9db11cc568e9ae421e.tar.gz
chromium_src-ae7ca1b9b87f64b8c798cc9db11cc568e9ae421e.tar.bz2
Review URL: http://codereview.chromium.org/10958
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5509 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process_impl.h')
-rw-r--r--chrome/browser/browser_process_impl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h
index 6f51102..fa5e969 100644
--- a/chrome/browser/browser_process_impl.h
+++ b/chrome/browser/browser_process_impl.h
@@ -167,6 +167,11 @@ class BrowserProcessImpl : public BrowserProcess, public NonThreadSafe {
return memory_model_;
}
+ virtual SuspendController* suspend_controller() {
+ DCHECK(CalledOnValidThread());
+ return suspend_controller_.get();
+ }
+
virtual HANDLE shutdown_event() { return shutdown_event_; }
private:
@@ -238,6 +243,8 @@ class BrowserProcessImpl : public BrowserProcess, public NonThreadSafe {
MemoryModel memory_model_;
+ scoped_refptr<SuspendController> suspend_controller_;
+
bool checked_for_new_frames_;
bool using_new_frames_;