diff options
author | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-22 17:01:07 +0000 |
---|---|---|
committer | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-22 17:01:07 +0000 |
commit | 759550b463503b71b1ca5e52d1228659c951a33f (patch) | |
tree | 6b118f19108ca4bbab3950766bf85fb8c2e0ad92 /chrome/browser/extensions/test_extension_loader.h | |
parent | 09ea0bb1aa6f06f01f850baf9bd0b7cec9643701 (diff) | |
download | chromium_src-759550b463503b71b1ca5e52d1228659c951a33f.zip chromium_src-759550b463503b71b1ca5e52d1228659c951a33f.tar.gz chromium_src-759550b463503b71b1ca5e52d1228659c951a33f.tar.bz2 |
Revert change 12247 because it created a lot of memory regressions
in the purify unit test.
Review URL: http://codereview.chromium.org/45021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12267 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/test_extension_loader.h')
-rwxr-xr-x | chrome/browser/extensions/test_extension_loader.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/chrome/browser/extensions/test_extension_loader.h b/chrome/browser/extensions/test_extension_loader.h deleted file mode 100755 index 36792b0..0000000 --- a/chrome/browser/extensions/test_extension_loader.h +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_LOADER_H_ -#define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_LOADER_H_ - -#include "base/basictypes.h" -#include "chrome/browser/extensions/extension.h" -#include "chrome/common/notification_observer.h" -#include "chrome/common/notification_registrar.h" - -class Extension; -class FilePath; -class Profile; - -class TestExtensionLoader : public NotificationObserver { - public: - explicit TestExtensionLoader(Profile* profile); - - Extension* Load(const char* extension_id, const FilePath& path); - - virtual void Observe(NotificationType type, - const NotificationSource& source, - const NotificationDetails& details); - - private: - Profile* profile_; - Extension* extension_; - NotificationRegistrar registrar_; - const char* loading_extension_id_; - - DISALLOW_COPY_AND_ASSIGN(TestExtensionLoader); -}; - -#endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_LOADER_H_ |