| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_ANDROID_NTP_MOST_VISITED_SITES_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_NTP_MOST_VISITED_SITES_BRIDGE_H_ |
| 6 #define CHROME_BROWSER_ANDROID_NTP_MOST_VISITED_SITES_BRIDGE_H_ | 6 #define CHROME_BROWSER_ANDROID_NTP_MOST_VISITED_SITES_BRIDGE_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include <stddef.h> | 9 #include <stddef.h> |
| 10 | 10 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 53 |
| 54 // Registers JNI methods. | 54 // Registers JNI methods. |
| 55 static bool Register(JNIEnv* env); | 55 static bool Register(JNIEnv* env); |
| 56 | 56 |
| 57 private: | 57 private: |
| 58 ~MostVisitedSitesBridge(); | 58 ~MostVisitedSitesBridge(); |
| 59 | 59 |
| 60 class Observer; | 60 class Observer; |
| 61 std::unique_ptr<Observer> observer_; | 61 std::unique_ptr<Observer> observer_; |
| 62 | 62 |
| 63 SupervisedUserServiceSupervisor supervisor_; |
| 63 MostVisitedSites most_visited_; | 64 MostVisitedSites most_visited_; |
| 64 | 65 |
| 65 DISALLOW_COPY_AND_ASSIGN(MostVisitedSitesBridge); | 66 DISALLOW_COPY_AND_ASSIGN(MostVisitedSitesBridge); |
| 66 }; | 67 }; |
| 67 | 68 |
| 68 #endif // CHROME_BROWSER_ANDROID_NTP_MOST_VISITED_SITES_BRIDGE_H_ | 69 #endif // CHROME_BROWSER_ANDROID_NTP_MOST_VISITED_SITES_BRIDGE_H_ |
| OLD | NEW |