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

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

Issue 10698014: [Sync] Rename csync namespace to syncer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/callback.h" 5 #include "base/callback.h"
6 6
7 #include "chrome/browser/sync/backend_unrecoverable_error_handler.h" 7 #include "chrome/browser/sync/backend_unrecoverable_error_handler.h"
8 #include "chrome/browser/sync/profile_sync_service.h" 8 #include "chrome/browser/sync/profile_sync_service.h"
9 9
10 using content::BrowserThread; 10 using content::BrowserThread;
11 11
12 namespace browser_sync { 12 namespace browser_sync {
13 13
14 BackendUnrecoverableErrorHandler::BackendUnrecoverableErrorHandler( 14 BackendUnrecoverableErrorHandler::BackendUnrecoverableErrorHandler(
15 const csync::WeakHandle<ProfileSyncService>& service) : service_(service) { 15 const syncer::WeakHandle<ProfileSyncService>& service) : service_(service) {
16 } 16 }
17 17
18 BackendUnrecoverableErrorHandler::~BackendUnrecoverableErrorHandler() { 18 BackendUnrecoverableErrorHandler::~BackendUnrecoverableErrorHandler() {
19 } 19 }
20 20
21 void BackendUnrecoverableErrorHandler::OnUnrecoverableError( 21 void BackendUnrecoverableErrorHandler::OnUnrecoverableError(
22 const tracked_objects::Location& from_here, 22 const tracked_objects::Location& from_here,
23 const std::string& message) { 23 const std::string& message) {
24 service_.Call(FROM_HERE, 24 service_.Call(FROM_HERE,
25 &ProfileSyncService::OnUnrecoverableError, 25 &ProfileSyncService::OnUnrecoverableError,
26 from_here, 26 from_here,
27 message); 27 message);
28 } 28 }
29 29
30 } // namespace browser_sync 30 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/backend_unrecoverable_error_handler.h ('k') | chrome/browser/sync/failed_datatypes_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698