OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #if defined(BROWSER_SYNC) | |
6 | |
7 #ifndef CHROME_BROWSER_DOM_UI_NEW_TAB_PAGE_SYNC_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_NEW_TAB_PAGE_SYNC_HANDLER_H_ |
8 #define CHROME_BROWSER_DOM_UI_NEW_TAB_PAGE_SYNC_HANDLER_H_ | 6 #define CHROME_BROWSER_DOM_UI_NEW_TAB_PAGE_SYNC_HANDLER_H_ |
9 | 7 |
10 #include <string> | 8 #include <string> |
11 | 9 |
12 #include "chrome/browser/dom_ui/dom_ui.h" | 10 #include "chrome/browser/dom_ui/dom_ui.h" |
13 #include "chrome/browser/sync/profile_sync_service.h" | 11 #include "chrome/browser/sync/profile_sync_service.h" |
14 #include "chrome/browser/sync/sync_status_ui_helper.h" | 12 #include "chrome/browser/sync/sync_status_ui_helper.h" |
15 | 13 |
16 class Value; | 14 class Value; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 ProfileSyncService* sync_service_; | 59 ProfileSyncService* sync_service_; |
62 | 60 |
63 // Used to make sure we don't register ourselves twice if the user refreshes | 61 // Used to make sure we don't register ourselves twice if the user refreshes |
64 // the new tab page. | 62 // the new tab page. |
65 bool waiting_for_initial_page_load_; | 63 bool waiting_for_initial_page_load_; |
66 | 64 |
67 DISALLOW_COPY_AND_ASSIGN(NewTabPageSyncHandler); | 65 DISALLOW_COPY_AND_ASSIGN(NewTabPageSyncHandler); |
68 }; | 66 }; |
69 | 67 |
70 #endif // CHROME_BROWSER_DOM_UI_NEW_TAB_PAGE_SYNC_HANDLER_H_ | 68 #endif // CHROME_BROWSER_DOM_UI_NEW_TAB_PAGE_SYNC_HANDLER_H_ |
71 #endif // defined(BROWSER_SYNC) | |
OLD | NEW |