OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/sync_driver/data_type_manager.h" | 5 #include "components/sync_driver/data_type_manager.h" |
6 | 6 |
7 namespace browser_sync { | 7 namespace sync_driver { |
8 | 8 |
9 DataTypeManager::ConfigureResult::ConfigureResult() | 9 DataTypeManager::ConfigureResult::ConfigureResult() |
10 : status(UNKNOWN) { | 10 : status(UNKNOWN) { |
11 } | 11 } |
12 | 12 |
13 DataTypeManager::ConfigureResult::ConfigureResult(ConfigureStatus status, | 13 DataTypeManager::ConfigureResult::ConfigureResult(ConfigureStatus status, |
14 syncer::ModelTypeSet | 14 syncer::ModelTypeSet |
15 requested_types) | 15 requested_types) |
16 : status(status), | 16 : status(status), |
17 requested_types(requested_types) { | 17 requested_types(requested_types) { |
(...skipping 26 matching lines...) Expand all Loading... |
44 case UNRECOVERABLE_ERROR: | 44 case UNRECOVERABLE_ERROR: |
45 return "Unrecoverable Error"; | 45 return "Unrecoverable Error"; |
46 case PARTIAL_SUCCESS: | 46 case PARTIAL_SUCCESS: |
47 return "Partial Success"; | 47 return "Partial Success"; |
48 default: | 48 default: |
49 NOTREACHED(); | 49 NOTREACHED(); |
50 return std::string(); | 50 return std::string(); |
51 } | 51 } |
52 } | 52 } |
53 | 53 |
54 } // namespace browser_sync | 54 } // namespace sync_driver |
OLD | NEW |