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

Unified Diff: chrome/browser/tab_contents/origins_seen_service_factory.h

Issue 2823233003: Deprecate Once-Per-Origin Navigation histograms (Closed)
Patch Set: Remove deleted .h from .mm Created 3 years, 8 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/tab_contents/origins_seen_service_factory.h
diff --git a/chrome/browser/tab_contents/origins_seen_service_factory.h b/chrome/browser/tab_contents/origins_seen_service_factory.h
deleted file mode 100644
index a38f6f3ee4db2bd2e7ca08229ec490fa525e1f65..0000000000000000000000000000000000000000
--- a/chrome/browser/tab_contents/origins_seen_service_factory.h
+++ /dev/null
@@ -1,38 +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_TAB_CONTENTS_ORIGINS_SEEN_SERVICE_FACTORY_H_
-#define CHROME_BROWSER_TAB_CONTENTS_ORIGINS_SEEN_SERVICE_FACTORY_H_
-
-#include "base/memory/singleton.h"
-#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
-
-namespace navigation_metrics {
-class OriginsSeenService;
-}
-
-class OriginsSeenServiceFactory : public BrowserContextKeyedServiceFactory {
- public:
- static navigation_metrics::OriginsSeenService* GetForBrowserContext(
- content::BrowserContext* context);
-
- static OriginsSeenServiceFactory* GetInstance();
-
- // Used to create instances for testing.
- static KeyedService* BuildInstanceFor(content::BrowserContext* context);
-
- private:
- friend struct base::DefaultSingletonTraits<OriginsSeenServiceFactory>;
-
- OriginsSeenServiceFactory();
- ~OriginsSeenServiceFactory() override;
-
- // BrowserContextKeyedServiceFactory:
- content::BrowserContext* GetBrowserContextToUse(
- content::BrowserContext* context) const override;
- KeyedService* BuildServiceInstanceFor(
- content::BrowserContext* context) const override;
-};
-
-#endif // CHROME_BROWSER_TAB_CONTENTS_ORIGINS_SEEN_SERVICE_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698