| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_MOST_VISITED_SITES_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_NTP_MOST_VISITED_SITES_H_ |
| 6 #define CHROME_BROWSER_ANDROID_MOST_VISITED_SITES_H_ | 6 #define CHROME_BROWSER_ANDROID_NTP_MOST_VISITED_SITES_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include <stddef.h> | 9 #include <stddef.h> |
| 10 | 10 |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/android/scoped_java_ref.h" | 14 #include "base/android/scoped_java_ref.h" |
| 15 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
| 16 #include "base/files/file_path.h" | 16 #include "base/files/file_path.h" |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 scoped_ptr<PopularSites> popular_sites_; | 236 scoped_ptr<PopularSites> popular_sites_; |
| 237 | 237 |
| 238 SuggestionsVector current_suggestions_; | 238 SuggestionsVector current_suggestions_; |
| 239 | 239 |
| 240 // For callbacks may be run after destruction. | 240 // For callbacks may be run after destruction. |
| 241 base::WeakPtrFactory<MostVisitedSites> weak_ptr_factory_; | 241 base::WeakPtrFactory<MostVisitedSites> weak_ptr_factory_; |
| 242 | 242 |
| 243 DISALLOW_COPY_AND_ASSIGN(MostVisitedSites); | 243 DISALLOW_COPY_AND_ASSIGN(MostVisitedSites); |
| 244 }; | 244 }; |
| 245 | 245 |
| 246 #endif // CHROME_BROWSER_ANDROID_MOST_VISITED_SITES_H_ | 246 #endif // CHROME_BROWSER_ANDROID_NTP_MOST_VISITED_SITES_H_ |
| OLD | NEW |