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

Side by Side Diff: chrome/browser/sync/sync_setup_wizard.cc

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 #include "chrome/browser/sync/sync_setup_wizard.h" 5 #include "chrome/browser/sync/sync_setup_wizard.h"
8 6
9 #include "app/resource_bundle.h" 7 #include "app/resource_bundle.h"
10 #include "base/message_loop.h" 8 #include "base/message_loop.h"
11 #include "chrome/common/pref_names.h" 9 #include "chrome/common/pref_names.h"
12 #include "chrome/common/pref_service.h" 10 #include "chrome/common/pref_service.h"
13 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
14 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" 12 #include "chrome/browser/dom_ui/chrome_url_data_manager.h"
15 #include "chrome/browser/sync/profile_sync_service.h" 13 #include "chrome/browser/sync/profile_sync_service.h"
16 #include "chrome/browser/sync/sync_setup_flow.h" 14 #include "chrome/browser/sync/sync_setup_flow.h"
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 } 187 }
190 188
191 // static 189 // static
192 SyncSetupWizard::State SyncSetupWizard::GetEndStateForDiscreteRun( 190 SyncSetupWizard::State SyncSetupWizard::GetEndStateForDiscreteRun(
193 State start_state) { 191 State start_state) {
194 State result = start_state == GAIA_LOGIN ? GAIA_SUCCESS : DONE; 192 State result = start_state == GAIA_LOGIN ? GAIA_SUCCESS : DONE;
195 DCHECK_NE(DONE, result) << 193 DCHECK_NE(DONE, result) <<
196 "Invalid start state for discrete run: " << start_state; 194 "Invalid start state for discrete run: " << start_state;
197 return result; 195 return result;
198 } 196 }
199
200 #endif // defined(BROWSER_SYNC)
OLDNEW
« no previous file with comments | « chrome/browser/sync/sync_setup_flow.cc ('k') | chrome/browser/sync/sync_setup_wizard_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698