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

Side by Side Diff: chrome/browser/sync/glue/sync_backend_host.cc

Issue 7628024: sync: re-attempt 96573 and 96575 - DEPS additions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « chrome/browser/sync/glue/generic_change_processor.cc ('k') | chrome/browser/sync/js/DEPS » ('j') | 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 "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/task.h" 13 #include "base/task.h"
14 #include "base/threading/thread_restrictions.h" 14 #include "base/threading/thread_restrictions.h"
15 #include "base/tracked.h" 15 #include "base/tracked.h"
16 #include "base/utf_string_conversions.h" 16 #include "base/utf_string_conversions.h"
17 #include "chrome/browser/net/gaia/token_service.h" 17 #include "chrome/browser/net/gaia/token_service.h"
18 #include "chrome/browser/prefs/pref_service.h" 18 #include "chrome/browser/prefs/pref_service.h"
19 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
20 #include "chrome/browser/sync/engine/nigori_util.h"
21 #include "chrome/browser/sync/engine/syncapi.h" 20 #include "chrome/browser/sync/engine/syncapi.h"
22 #include "chrome/browser/sync/glue/autofill_model_associator.h" 21 #include "chrome/browser/sync/glue/autofill_model_associator.h"
23 #include "chrome/browser/sync/glue/autofill_profile_model_associator.h" 22 #include "chrome/browser/sync/glue/autofill_profile_model_associator.h"
24 #include "chrome/browser/sync/glue/change_processor.h" 23 #include "chrome/browser/sync/glue/change_processor.h"
25 #include "chrome/browser/sync/glue/database_model_worker.h" 24 #include "chrome/browser/sync/glue/database_model_worker.h"
26 #include "chrome/browser/sync/glue/history_model_worker.h" 25 #include "chrome/browser/sync/glue/history_model_worker.h"
27 #include "chrome/browser/sync/glue/http_bridge.h" 26 #include "chrome/browser/sync/glue/http_bridge.h"
28 #include "chrome/browser/sync/glue/password_model_worker.h" 27 #include "chrome/browser/sync/glue/password_model_worker.h"
29 #include "chrome/browser/sync/glue/sync_backend_host.h" 28 #include "chrome/browser/sync/glue/sync_backend_host.h"
30 #include "chrome/browser/sync/js/js_arg_list.h" 29 #include "chrome/browser/sync/js/js_arg_list.h"
(...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after
1050 } 1049 }
1051 1050
1052 void SyncBackendHost::Core::DeleteSyncDataFolder() { 1051 void SyncBackendHost::Core::DeleteSyncDataFolder() {
1053 if (file_util::DirectoryExists(host_->sync_data_folder_path())) { 1052 if (file_util::DirectoryExists(host_->sync_data_folder_path())) {
1054 if (!file_util::Delete(host_->sync_data_folder_path(), true)) 1053 if (!file_util::Delete(host_->sync_data_folder_path(), true))
1055 LOG(DFATAL) << "Could not delete the Sync Data folder."; 1054 LOG(DFATAL) << "Could not delete the Sync Data folder.";
1056 } 1055 }
1057 } 1056 }
1058 1057
1059 } // namespace browser_sync 1058 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/generic_change_processor.cc ('k') | chrome/browser/sync/js/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698