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

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

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 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) 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 "chrome/browser/sync/glue/sync_backend_host.h" 7 #include "chrome/browser/sync/glue/sync_backend_host.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <map> 10 #include <map>
(...skipping 28 matching lines...) Expand all
39 static const int kSaveChangesIntervalSeconds = 10; 39 static const int kSaveChangesIntervalSeconds = 10;
40 static const FilePath::CharType kSyncDataFolderName[] = 40 static const FilePath::CharType kSyncDataFolderName[] =
41 FILE_PATH_LITERAL("Sync Data"); 41 FILE_PATH_LITERAL("Sync Data");
42 42
43 typedef TokenService::TokenAvailableDetails TokenAvailableDetails; 43 typedef TokenService::TokenAvailableDetails TokenAvailableDetails;
44 44
45 typedef GoogleServiceAuthError AuthError; 45 typedef GoogleServiceAuthError AuthError;
46 46
47 namespace browser_sync { 47 namespace browser_sync {
48 48
49 using content::BrowserThread;
49 using sessions::SyncSessionSnapshot; 50 using sessions::SyncSessionSnapshot;
50 using sync_api::SyncCredentials; 51 using sync_api::SyncCredentials;
51 52
52 // Helper macros to log with the syncer thread name; useful when there 53 // Helper macros to log with the syncer thread name; useful when there
53 // are multiple syncers involved. 54 // are multiple syncers involved.
54 55
55 #define SLOG(severity) LOG(severity) << name_ << ": " 56 #define SLOG(severity) LOG(severity) << name_ << ": "
56 57
57 #define SVLOG(verbose_level) VLOG(verbose_level) << name_ << ": " 58 #define SVLOG(verbose_level) VLOG(verbose_level) << name_ << ": "
58 59
(...skipping 985 matching lines...) Expand 10 before | Expand all | Expand 10 after
1044 FROM_HERE, 1045 FROM_HERE,
1045 base::Bind(&SyncBackendHost::Core::DoRefreshEncryption, 1046 base::Bind(&SyncBackendHost::Core::DoRefreshEncryption,
1046 core_.get(), sync_thread_done_callback)); 1047 core_.get(), sync_thread_done_callback));
1047 } 1048 }
1048 1049
1049 #undef SVLOG 1050 #undef SVLOG
1050 1051
1051 #undef SLOG 1052 #undef SLOG
1052 1053
1053 } // namespace browser_sync 1054 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/shared_change_processor.cc ('k') | chrome/browser/sync/glue/sync_backend_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698