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

Unified Diff: apps/saved_files_service_factory.h

Issue 2951003002: SavedFilesService interface in //extensions (Closed)
Patch Set: cleanup Created 3 years, 6 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: apps/saved_files_service_factory.h
diff --git a/apps/saved_files_service_factory.h b/apps/saved_files_service_factory.h
deleted file mode 100644
index a70f78f409554d54dba3ff48564932b678030d14..0000000000000000000000000000000000000000
--- a/apps/saved_files_service_factory.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2013 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 APPS_SAVED_FILES_SERVICE_FACTORY_H_
-#define APPS_SAVED_FILES_SERVICE_FACTORY_H_
-
-#include "base/memory/singleton.h"
-#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
-
-namespace content {
-class BrowserContext;
-}
-
-namespace apps {
-
-class SavedFilesService;
-
-// BrowserContextKeyedServiceFactory for SavedFilesService.
-class SavedFilesServiceFactory : public BrowserContextKeyedServiceFactory {
- public:
- static SavedFilesService* GetForBrowserContext(
- content::BrowserContext* context);
-
- static SavedFilesService* GetForBrowserContextIfExists(
- content::BrowserContext* context);
-
- static SavedFilesServiceFactory* GetInstance();
-
- private:
- SavedFilesServiceFactory();
- ~SavedFilesServiceFactory() override;
- friend struct base::DefaultSingletonTraits<SavedFilesServiceFactory>;
-
- KeyedService* BuildServiceInstanceFor(
- content::BrowserContext* context) const override;
-};
-
-} // namespace apps
-
-#endif // APPS_SAVED_FILES_SERVICE_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698