Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(749)

Side by Side Diff: chrome/browser/dom_ui/new_tab_page_sync_handler.h

Issue 337034: Remove the browser_sync flag. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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)
OLDNEW
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | chrome/browser/dom_ui/new_tab_page_sync_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698