| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UI_WEBUI_NTP_NEW_TAB_PAGE_SYNC_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_NEW_TAB_PAGE_SYNC_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_NTP_NEW_TAB_PAGE_SYNC_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_NTP_NEW_TAB_PAGE_SYNC_HANDLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 // Cached pointer to ProfileSyncService. | 61 // Cached pointer to ProfileSyncService. |
| 62 ProfileSyncService* sync_service_; | 62 ProfileSyncService* sync_service_; |
| 63 | 63 |
| 64 // Used to make sure we don't register ourselves twice if the user refreshes | 64 // Used to make sure we don't register ourselves twice if the user refreshes |
| 65 // the new tab page. | 65 // the new tab page. |
| 66 bool waiting_for_initial_page_load_; | 66 bool waiting_for_initial_page_load_; |
| 67 | 67 |
| 68 DISALLOW_COPY_AND_ASSIGN(NewTabPageSyncHandler); | 68 DISALLOW_COPY_AND_ASSIGN(NewTabPageSyncHandler); |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 bool IsGoogleGAIACookieInstalled(); | |
| 72 | |
| 73 #endif // CHROME_BROWSER_UI_WEBUI_NTP_NEW_TAB_PAGE_SYNC_HANDLER_H_ | 71 #endif // CHROME_BROWSER_UI_WEBUI_NTP_NEW_TAB_PAGE_SYNC_HANDLER_H_ |
| OLD | NEW |