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

Unified Diff: chrome/browser/supervised_user/child_accounts/child_account_status_observer.h

Issue 971383002: Removing FRE UI for unicorn accounts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean-up. Created 5 years, 9 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/supervised_user/child_accounts/child_account_status_observer.h
diff --git a/chrome/browser/supervised_user/child_accounts/child_account_service_android.h b/chrome/browser/supervised_user/child_accounts/child_account_status_observer.h
similarity index 50%
copy from chrome/browser/supervised_user/child_accounts/child_account_service_android.h
copy to chrome/browser/supervised_user/child_accounts/child_account_status_observer.h
index f9b09600cdf72d05bb0ef1edf4d2a44abb5ef0e3..985743fbb3ee4ca6a499dc7c391863eecb484f38 100644
--- a/chrome/browser/supervised_user/child_accounts/child_account_service_android.h
+++ b/chrome/browser/supervised_user/child_accounts/child_account_status_observer.h
@@ -1,13 +1,14 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// Copyright 2015 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_SUPERVISED_USER_CHILD_ACCOUNTS_CHILD_ACCOUNT_SERVICE_ANDROID_H_
-#define CHROME_BROWSER_SUPERVISED_USER_CHILD_ACCOUNTS_CHILD_ACCOUNT_SERVICE_ANDROID_H_
+#ifndef CHROME_BROWSER_SUPERVISED_USER_CHILD_ACCOUNTS_CHILD_ACCOUNT_STATUS_OBSERVER_H_
+#define CHROME_BROWSER_SUPERVISED_USER_CHILD_ACCOUNTS_CHILD_ACCOUNT_STATUS_OBSERVER_H_
-#include <jni.h>
+class ChildAccountStatusObserver {
+ public:
Bernhard Bauer 2015/03/10 09:55:12 "public:" is indented one space, then the method d
merkulova 2015/03/10 11:53:57 Acknowledged.
+ // Observes changes from Unknown to other states.
+ virtual void OnChildAccountStatusChanged(bool is_child) {}
Bernhard Bauer 2015/03/10 09:55:12 If this is only called when transitioning from unk
Marc Treib 2015/03/10 10:43:34 I think it should be called on any state change, o
merkulova 2015/03/10 11:53:57 Removed the class completely.
+};
-// Register native methods
-bool RegisterChildAccountService(JNIEnv* env);
-
-#endif // CHROME_BROWSER_SUPERVISED_USER_CHILD_ACCOUNTS_CHILD_ACCOUNT_SERVICE_ANDROID_H_
+#endif // CHROME_BROWSER_SUPERVISED_USER_CHILD_ACCOUNTS_CHILD_ACCOUNT_STATUS_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698