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

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

Issue 6897037: Merge 82744 - More official builder fix.BUG=noneTEST=noneTBR=csilvReview URL: http://codereview.c... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/742/src/
Patch Set: Created 9 years, 8 months 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "chrome/browser/sync/profile_sync_service.h" 5 #include "chrome/browser/sync/profile_sync_service.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <map> 8 #include <map>
9 #include <ostream> 9 #include <ostream>
10 #include <set> 10 #include <set>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/command_line.h" 14 #include "base/command_line.h"
15 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
16 #include "base/logging.h" 16 #include "base/logging.h"
17 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
18 #include "base/message_loop.h" 18 #include "base/message_loop.h"
19 #include "base/metrics/histogram.h" 19 #include "base/metrics/histogram.h"
20 #include "base/string16.h" 20 #include "base/string16.h"
21 #include "base/stringprintf.h" 21 #include "base/stringprintf.h"
22 #include "base/task.h" 22 #include "base/task.h"
23 #include "base/threading/thread_restrictions.h"
23 #include "chrome/browser/net/gaia/token_service.h" 24 #include "chrome/browser/net/gaia/token_service.h"
24 #include "chrome/browser/prefs/pref_service.h" 25 #include "chrome/browser/prefs/pref_service.h"
25 #include "chrome/browser/profiles/profile.h" 26 #include "chrome/browser/profiles/profile.h"
26 #include "chrome/browser/sync/backend_migrator.h" 27 #include "chrome/browser/sync/backend_migrator.h"
27 #include "chrome/browser/sync/engine/syncapi.h" 28 #include "chrome/browser/sync/engine/syncapi.h"
28 #include "chrome/browser/sync/glue/change_processor.h" 29 #include "chrome/browser/sync/glue/change_processor.h"
29 #include "chrome/browser/sync/glue/data_type_controller.h" 30 #include "chrome/browser/sync/glue/data_type_controller.h"
30 #include "chrome/browser/sync/glue/data_type_manager.h" 31 #include "chrome/browser/sync/glue/data_type_manager.h"
31 #include "chrome/browser/sync/glue/session_data_type_controller.h" 32 #include "chrome/browser/sync/glue/session_data_type_controller.h"
32 #include "chrome/browser/sync/js_arg_list.h" 33 #include "chrome/browser/sync/js_arg_list.h"
(...skipping 1251 matching lines...) Expand 10 before | Expand all | Expand 10 after
1284 // is initialized, all enabled data types are consistent with one 1285 // is initialized, all enabled data types are consistent with one
1285 // another, and no unrecoverable error has transpired. 1286 // another, and no unrecoverable error has transpired.
1286 if (unrecoverable_error_detected_) 1287 if (unrecoverable_error_detected_)
1287 return false; 1288 return false;
1288 1289
1289 if (!data_type_manager_.get()) 1290 if (!data_type_manager_.get())
1290 return false; 1291 return false;
1291 1292
1292 return data_type_manager_->state() == DataTypeManager::CONFIGURED; 1293 return data_type_manager_->state() == DataTypeManager::CONFIGURED;
1293 } 1294 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698