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

Unified Diff: chrome/browser/android/blimp/blimp_client_context_factory.h

Issue 2623023002: Remove //chrome as an embedder of blimp. (Closed)
Patch Set: One more rebase for good measure Created 3 years, 11 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
« no previous file with comments | « chrome/browser/android/DEPS ('k') | chrome/browser/android/blimp/blimp_client_context_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/blimp/blimp_client_context_factory.h
diff --git a/chrome/browser/android/blimp/blimp_client_context_factory.h b/chrome/browser/android/blimp/blimp_client_context_factory.h
deleted file mode 100644
index 4b95cf68a3f4e890e3d55f6e75fe5bb54679b7c3..0000000000000000000000000000000000000000
--- a/chrome/browser/android/blimp/blimp_client_context_factory.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright 2016 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_ANDROID_BLIMP_BLIMP_CLIENT_CONTEXT_FACTORY_H_
-#define CHROME_BROWSER_ANDROID_BLIMP_BLIMP_CLIENT_CONTEXT_FACTORY_H_
-
-#include "base/macros.h"
-#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
-
-namespace base {
-template <typename T>
-struct DefaultSingletonTraits;
-} // namespace base
-
-namespace blimp {
-namespace client {
-class BlimpClientContext;
-} // namespace client
-} // namespace blimp
-
-namespace content {
-class BrowserContext;
-} // namespace content
-
-// BlimpClientContextFactory is the main client class for interactive with
-// blimp.
-class BlimpClientContextFactory : public BrowserContextKeyedServiceFactory {
- public:
- // Returns singleton instance of BlimpClientContextFactory.
- static BlimpClientContextFactory* GetInstance();
-
- // Returns the BlimpClientContext associated with |context| or creates a new
- // one if it doesn't exist.
- static blimp::client::BlimpClientContext* GetForBrowserContext(
- content::BrowserContext* context);
-
- private:
- friend struct base::DefaultSingletonTraits<BlimpClientContextFactory>;
-
- BlimpClientContextFactory();
- ~BlimpClientContextFactory() override;
-
- // BrowserContextKeyedServiceFactory overrides:
- KeyedService* BuildServiceInstanceFor(
- content::BrowserContext* context) const override;
- content::BrowserContext* GetBrowserContextToUse(
- content::BrowserContext* context) const override;
-
- DISALLOW_COPY_AND_ASSIGN(BlimpClientContextFactory);
-};
-
-#endif // CHROME_BROWSER_ANDROID_BLIMP_BLIMP_CLIENT_CONTEXT_FACTORY_H_
« no previous file with comments | « chrome/browser/android/DEPS ('k') | chrome/browser/android/blimp/blimp_client_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698