OLD | NEW |
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 "chrome/browser/sync/engine/model_safe_worker.h" | 5 #include "chrome/browser/sync/engine/model_safe_worker.h" |
6 #include "chrome/browser/sync/util/unrecoverable_error_info.h" | |
7 | 6 |
8 #include "base/json/json_writer.h" | 7 #include "base/json/json_writer.h" |
9 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
10 #include "base/values.h" | 9 #include "base/values.h" |
11 | 10 |
12 namespace browser_sync { | 11 namespace browser_sync { |
13 | 12 |
14 base::DictionaryValue* ModelSafeRoutingInfoToValue( | 13 base::DictionaryValue* ModelSafeRoutingInfoToValue( |
15 const ModelSafeRoutingInfo& routing_info) { | 14 const ModelSafeRoutingInfo& routing_info) { |
16 base::DictionaryValue* dict = new base::DictionaryValue(); | 15 base::DictionaryValue* dict = new base::DictionaryValue(); |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 return "GROUP_PASSWORD"; | 66 return "GROUP_PASSWORD"; |
68 default: | 67 default: |
69 NOTREACHED(); | 68 NOTREACHED(); |
70 return "INVALID"; | 69 return "INVALID"; |
71 } | 70 } |
72 } | 71 } |
73 | 72 |
74 ModelSafeWorker::~ModelSafeWorker() {} | 73 ModelSafeWorker::~ModelSafeWorker() {} |
75 | 74 |
76 } // namespace browser_sync | 75 } // namespace browser_sync |
OLD | NEW |