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

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

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/command_line.h" 9 #include "base/command_line.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/task.h" 11 #include "base/task.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 #include "chrome/browser/browser_thread.h" 13 #include "chrome/browser/browser_thread.h"
14 #include "chrome/browser/net/gaia/token_service.h" 14 #include "chrome/browser/net/gaia/token_service.h"
15 #include "chrome/browser/prefs/pref_service.h" 15 #include "chrome/browser/prefs/pref_service.h"
16 #include "chrome/browser/profile.h" 16 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/browser/sync/engine/syncapi.h" 17 #include "chrome/browser/sync/engine/syncapi.h"
18 #include "chrome/browser/sync/glue/change_processor.h" 18 #include "chrome/browser/sync/glue/change_processor.h"
19 #include "chrome/browser/sync/glue/database_model_worker.h" 19 #include "chrome/browser/sync/glue/database_model_worker.h"
20 #include "chrome/browser/sync/glue/history_model_worker.h" 20 #include "chrome/browser/sync/glue/history_model_worker.h"
21 #include "chrome/browser/sync/glue/sync_backend_host.h" 21 #include "chrome/browser/sync/glue/sync_backend_host.h"
22 #include "chrome/browser/sync/glue/http_bridge.h" 22 #include "chrome/browser/sync/glue/http_bridge.h"
23 #include "chrome/browser/sync/glue/password_model_worker.h" 23 #include "chrome/browser/sync/glue/password_model_worker.h"
24 #include "chrome/browser/sync/sessions/session_state.h" 24 #include "chrome/browser/sync/sessions/session_state.h"
25 // TODO(tim): Remove this! We should have a syncapi pass-thru instead. 25 // TODO(tim): Remove this! We should have a syncapi pass-thru instead.
26 #include "chrome/browser/sync/syncable/directory_manager.h" // Cryptographer. 26 #include "chrome/browser/sync/syncable/directory_manager.h" // Cryptographer.
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after
818 } 818 }
819 819
820 void SyncBackendHost::Core::DeleteSyncDataFolder() { 820 void SyncBackendHost::Core::DeleteSyncDataFolder() {
821 if (file_util::DirectoryExists(host_->sync_data_folder_path())) { 821 if (file_util::DirectoryExists(host_->sync_data_folder_path())) {
822 if (!file_util::Delete(host_->sync_data_folder_path(), true)) 822 if (!file_util::Delete(host_->sync_data_folder_path(), true))
823 LOG(DFATAL) << "Could not delete the Sync Data folder."; 823 LOG(DFATAL) << "Could not delete the Sync Data folder.";
824 } 824 }
825 } 825 }
826 826
827 } // namespace browser_sync 827 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/session_model_associator.cc ('k') | chrome/browser/sync/glue/theme_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698