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

Unified Diff: chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.h

Issue 565293003: Revert of Non-plafrom-specific part of an OwnerSettingsService is moved to components/ownership/*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/chromeos/ownership/owner_settings_service_chromeos_factory.h
diff --git a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.h b/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.h
deleted file mode 100644
index 3409456ef6c80cadf9e895425165a0d3b11eb188..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/ownership/owner_settings_service_chromeos_factory.h
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright 2014 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_CHROMEOS_OWNERSHIP_OWNER_SETTINGS_SERVICE_CHROMEOS_FACTORY_H_
-#define CHROME_BROWSER_CHROMEOS_OWNERSHIP_OWNER_SETTINGS_SERVICE_CHROMEOS_FACTORY_H_
-
-#include "base/compiler_specific.h"
-#include "base/macros.h"
-#include "base/memory/ref_counted.h"
-#include "base/memory/singleton.h"
-#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
-
-class KeyedService;
-class Profile;
-
-namespace ownership {
-class OwnerKeyUtil;
-}
-
-namespace chromeos {
-
-class OwnerSettingsServiceChromeOS;
-
-class OwnerSettingsServiceChromeOSFactory
- : public BrowserContextKeyedServiceFactory {
- public:
- static OwnerSettingsServiceChromeOS* GetForProfile(Profile* profile);
-
- static OwnerSettingsServiceChromeOSFactory* GetInstance();
-
- scoped_refptr<ownership::OwnerKeyUtil> GetOwnerKeyUtil();
-
- void SetOwnerKeyUtilForTesting(
- const scoped_refptr<ownership::OwnerKeyUtil>& owner_key_util);
-
- private:
- friend struct DefaultSingletonTraits<OwnerSettingsServiceChromeOSFactory>;
-
- OwnerSettingsServiceChromeOSFactory();
- virtual ~OwnerSettingsServiceChromeOSFactory();
-
- static KeyedService* BuildInstanceFor(content::BrowserContext* context);
-
- // BrowserContextKeyedBaseFactory overrides:
- virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE;
-
- // BrowserContextKeyedServiceFactory implementation:
- virtual KeyedService* BuildServiceInstanceFor(
- content::BrowserContext* browser_context) const OVERRIDE;
-
- scoped_refptr<ownership::OwnerKeyUtil> owner_key_util_;
-
- DISALLOW_COPY_AND_ASSIGN(OwnerSettingsServiceChromeOSFactory);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_OWNERSHIP_OWNER_SETTINGS_SERVICE_CHROMEOS_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698