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

Unified Diff: chrome/browser/metrics/variations/eula_accepted_notifier_mobile.h

Issue 16129004: Consolidate EulaAcceptedNotifier implementations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 7 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/metrics/variations/eula_accepted_notifier_mobile.h
===================================================================
--- chrome/browser/metrics/variations/eula_accepted_notifier_mobile.h (revision 203196)
+++ chrome/browser/metrics/variations/eula_accepted_notifier_mobile.h (working copy)
@@ -1,34 +0,0 @@
-// Copyright (c) 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 CHROME_BROWSER_METRICS_VARIATIONS_EULA_ACCEPTED_NOTIFIER_MOBILE_H_
-#define CHROME_BROWSER_METRICS_VARIATIONS_EULA_ACCEPTED_NOTIFIER_MOBILE_H_
-
-#include "chrome/browser/metrics/variations/eula_accepted_notifier.h"
-#include "base/prefs/pref_change_registrar.h"
-
-class PrefService;
-
-// Mobile (Android and iOS) implementation of the EulaAcceptedNotifier.
-class EulaAcceptedNotifierMobile : public EulaAcceptedNotifier {
- public:
- explicit EulaAcceptedNotifierMobile(PrefService* local_state);
- virtual ~EulaAcceptedNotifierMobile();
-
- // EulaAcceptedNotifier overrides:
- virtual bool IsEulaAccepted() OVERRIDE;
-
- private:
- // Callback for EULA accepted pref change notification.
- void OnPrefChanged();
-
- PrefService* local_state_;
-
- // Used to listen for the EULA accepted pref change notification.
- PrefChangeRegistrar registrar_;
-
- DISALLOW_COPY_AND_ASSIGN(EulaAcceptedNotifierMobile);
-};
-
-#endif // CHROME_BROWSER_METRICS_VARIATIONS_EULA_ACCEPTED_NOTIFIER_MOBILE_H_

Powered by Google App Engine
This is Rietveld 408576698