OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_SUPERVISED_USER_CHILD_ACCOUNTS_CHILD_ACCOUNT_SERVICE_ANDR OID_H_ | 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_CHILD_ACCOUNTS_CHILD_ACCOUNT_STATUS_OBSER VER_H_ |
6 #define CHROME_BROWSER_SUPERVISED_USER_CHILD_ACCOUNTS_CHILD_ACCOUNT_SERVICE_ANDR OID_H_ | 6 #define CHROME_BROWSER_SUPERVISED_USER_CHILD_ACCOUNTS_CHILD_ACCOUNT_STATUS_OBSER VER_H_ |
7 | 7 |
8 #include <jni.h> | 8 class ChildAccountStatusObserver { |
9 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.
| |
10 // Observes changes from Unknown to other states. | |
11 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.
| |
12 }; | |
9 | 13 |
10 // Register native methods | 14 #endif // CHROME_BROWSER_SUPERVISED_USER_CHILD_ACCOUNTS_CHILD_ACCOUNT_STATUS_OB SERVER_H_ |
11 bool RegisterChildAccountService(JNIEnv* env); | |
12 | |
13 #endif // CHROME_BROWSER_SUPERVISED_USER_CHILD_ACCOUNTS_CHILD_ACCOUNT_SERVICE_A NDROID_H_ | |
OLD | NEW |