OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_HISTORY_TOP_SITES_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_TOP_SITES_H_ |
6 #define CHROME_BROWSER_HISTORY_TOP_SITES_H_ | 6 #define CHROME_BROWSER_HISTORY_TOP_SITES_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 | 360 |
361 // URL List of prepopulated page. | 361 // URL List of prepopulated page. |
362 std::vector<GURL> prepopulated_page_urls_; | 362 std::vector<GURL> prepopulated_page_urls_; |
363 | 363 |
364 // Are we loaded? | 364 // Are we loaded? |
365 bool loaded_; | 365 bool loaded_; |
366 | 366 |
367 DISALLOW_COPY_AND_ASSIGN(TopSites); | 367 DISALLOW_COPY_AND_ASSIGN(TopSites); |
368 }; | 368 }; |
369 | 369 |
| 370 #if defined(OS_ANDROID) |
| 371 extern const TopSites::PrepopulatedPage kPrepopulatedPages[1]; |
| 372 #else |
370 extern const TopSites::PrepopulatedPage kPrepopulatedPages[2]; | 373 extern const TopSites::PrepopulatedPage kPrepopulatedPages[2]; |
| 374 #endif |
371 | 375 |
372 } // namespace history | 376 } // namespace history |
373 | 377 |
374 #endif // CHROME_BROWSER_HISTORY_TOP_SITES_H_ | 378 #endif // CHROME_BROWSER_HISTORY_TOP_SITES_H_ |
OLD | NEW |