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

Unified Diff: chrome/browser/extensions/external_policy_extension_loader.h

Issue 10692168: Moved ExternalExtensionLoaders/Providers into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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/browser/extensions/external_policy_extension_loader.h
diff --git a/chrome/browser/extensions/external_policy_extension_loader.h b/chrome/browser/extensions/external_policy_extension_loader.h
deleted file mode 100644
index b574caaf96d768cc145aa06f3c03c071dc9c4e6d..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/external_policy_extension_loader.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright (c) 2011 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_EXTERNAL_POLICY_EXTENSION_LOADER_H_
-#define CHROME_BROWSER_EXTENSIONS_EXTERNAL_POLICY_EXTENSION_LOADER_H_
-#pragma once
-
-#include "chrome/browser/extensions/external_extension_loader.h"
-
-#include "base/compiler_specific.h"
-#include "chrome/browser/prefs/pref_change_registrar.h"
-#include "content/public/browser/notification_observer.h"
-#include "content/public/browser/notification_registrar.h"
-
-class Profile;
-
-// A specialization of the ExternalExtensionProvider that uses
-// prefs::kExtensionInstallForceList to look up which external extensions are
-// registered.
-class ExternalPolicyExtensionLoader
- : public ExternalExtensionLoader,
- public content::NotificationObserver {
- public:
- explicit ExternalPolicyExtensionLoader(Profile* profile);
-
- // content::NotificationObserver implementation
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) OVERRIDE;
-
- protected:
- virtual void StartLoading() OVERRIDE;
-
- private:
- friend class base::RefCountedThreadSafe<ExternalExtensionLoader>;
-
- virtual ~ExternalPolicyExtensionLoader() {}
-
- PrefChangeRegistrar pref_change_registrar_;
- content::NotificationRegistrar notification_registrar_;
-
- Profile* profile_;
-
- DISALLOW_COPY_AND_ASSIGN(ExternalPolicyExtensionLoader);
-};
-
-#endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_POLICY_EXTENSION_LOADER_H_

Powered by Google App Engine
This is Rietveld 408576698