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

Unified Diff: chrome/browser/protector/protector_service_factory.h

Issue 11493003: Remove the protector service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix implicit ExtensionSystem -> TemplateURLService dependency Created 8 years 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/protector/protector_service_factory.h
diff --git a/chrome/browser/protector/protector_service_factory.h b/chrome/browser/protector/protector_service_factory.h
deleted file mode 100644
index 1f2c7e244e1c13f76086890b21d3a8297625b464..0000000000000000000000000000000000000000
--- a/chrome/browser/protector/protector_service_factory.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2012 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_PROTECTOR_PROTECTOR_SERVICE_FACTORY_H_
-#define CHROME_BROWSER_PROTECTOR_PROTECTOR_SERVICE_FACTORY_H_
-
-#include "base/basictypes.h"
-#include "base/memory/singleton.h"
-#include "chrome/browser/profiles/profile_keyed_service_factory.h"
-#include "chrome/browser/ui/global_error/global_error_service_factory.h"
-
-namespace protector {
-
-class ProtectorService;
-
-class ProtectorServiceFactory : public ProfileKeyedServiceFactory {
- public:
- // Returns the ProtectorService instance for |profile|.
- static ProtectorService* GetForProfile(Profile* profile);
-
- static ProtectorServiceFactory* GetInstance();
-
- private:
- friend struct DefaultSingletonTraits<ProtectorServiceFactory>;
-
- ProtectorServiceFactory();
- virtual ~ProtectorServiceFactory();
-
- // ProfileKeyedServiceFactory implementation.
- virtual ProfileKeyedService* BuildServiceInstanceFor(
- Profile* profile) const OVERRIDE;
- virtual void RegisterUserPrefs(PrefService* user_prefs) OVERRIDE;
- virtual bool ServiceIsCreatedWithProfile() const OVERRIDE;
- virtual bool ServiceRedirectedInIncognito() const OVERRIDE;
-
- DISALLOW_COPY_AND_ASSIGN(ProtectorServiceFactory);
-};
-
-} // namespace protector
-
-#endif // CHROME_BROWSER_PROTECTOR_PROTECTOR_SERVICE_FACTORY_H_
« no previous file with comments | « chrome/browser/protector/protector_service_browsertest.cc ('k') | chrome/browser/protector/protector_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698