diff options
author | zea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-26 23:41:50 +0000 |
---|---|---|
committer | zea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-26 23:41:50 +0000 |
commit | de7d78c74cb823da110e828610be3b83f4229c00 (patch) | |
tree | 2b26c2a59804f68d76c93b308deab48cdb15ea37 /chrome/chrome.gyp | |
parent | a3bcff633580fa9afd4653817f497d8a49235994 (diff) | |
download | chromium_src-de7d78c74cb823da110e828610be3b83f4229c00.zip chromium_src-de7d78c74cb823da110e828610be3b83f4229c00.tar.gz chromium_src-de7d78c74cb823da110e828610be3b83f4229c00.tar.bz2 |
Reland 87645 with clang fixes.
[Sync] Refactor sync datatype error handling.
This introduces SyncError's, which are a convenient way of passing around an
error location, type, and message. All datatypes have been refactored to use
this, including in the AssociateModels code. A future change will use this
to add support for continuing sync even when a datatype fails to start.
In addition, eventually a future change will convert the UnrecoverableError
handler to use SyncError's as well as have the datatype controller's and
datatype manager surface SyncError's to the PSS.
Original Review URL: http://codereview.chromium.org/7453014
TBR=akalin@chromium.org
BUG=87645
TEST=
Review URL: http://codereview.chromium.org/7461098
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94204 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r-- | chrome/chrome.gyp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index 647ad32..8b28b7d 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -581,6 +581,8 @@ 'browser/sync/api/sync_change.cc', 'browser/sync/api/sync_change_processor.h', 'browser/sync/api/sync_change_processor.cc', + 'browser/sync/api/sync_error.h', + 'browser/sync/api/sync_error.cc', ], 'include_dirs': [ '..', |