diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-23 22:43:53 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-23 22:43:53 +0000 |
commit | dec76e804867ced17b032571f440adf4945c4d99 (patch) | |
tree | fd798a848d7967b28d89350a55f48285057e2739 /chrome/browser/browsing_instance.h | |
parent | 0695ef4d095a441148ae80a08576c25c2ab8bc40 (diff) | |
download | chromium_src-dec76e804867ced17b032571f440adf4945c4d99.zip chromium_src-dec76e804867ced17b032571f440adf4945c4d99.tar.gz chromium_src-dec76e804867ced17b032571f440adf4945c4d99.tar.bz2 |
FBTF: Move virtual methods to implementation files.
Remove logging.h and other headers where possible.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3461019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60369 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browsing_instance.h')
-rw-r--r-- | chrome/browser/browsing_instance.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/chrome/browser/browsing_instance.h b/chrome/browser/browsing_instance.h index 491888d..fa4ce49 100644 --- a/chrome/browser/browsing_instance.h +++ b/chrome/browser/browsing_instance.h @@ -7,7 +7,6 @@ #pragma once #include "base/hash_tables.h" -#include "base/logging.h" #include "base/ref_counted.h" #include "chrome/browser/profile.h" @@ -56,9 +55,7 @@ class SiteInstance; class BrowsingInstance : public base::RefCounted<BrowsingInstance> { public: // Create a new BrowsingInstance. - explicit BrowsingInstance(Profile* profile) - : profile_(profile) { - } + explicit BrowsingInstance(Profile* profile); // Returns whether the process-per-site model is in use (globally or just for // the given url), in which case we should ensure there is only one @@ -92,11 +89,7 @@ class BrowsingInstance : public base::RefCounted<BrowsingInstance> { friend class base::RefCounted<BrowsingInstance>; // Virtual to allow tests to extend it. - virtual ~BrowsingInstance() { - // We should only be deleted when all of the SiteInstances that refer to - // us are gone. - DCHECK(site_instance_map_.empty()); - } + virtual ~BrowsingInstance(); private: // Map of site to SiteInstance, to ensure we only have one SiteInstance per |