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

Side by Side Diff: chrome/browser/sync/engine/model_safe_worker.cc

Issue 2828021: Take 2: sync changes to support encryption (Closed)
Patch Set: fix flaky password test under valgrind Created 10 years, 6 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 6
7 namespace browser_sync { 7 namespace browser_sync {
8 8
9 ModelSafeGroup GetGroupForModelType(const syncable::ModelType type, 9 ModelSafeGroup GetGroupForModelType(const syncable::ModelType type,
10 const ModelSafeRoutingInfo& routes) { 10 const ModelSafeRoutingInfo& routes) {
(...skipping 12 matching lines...) Expand all
23 std::string ModelSafeGroupToString(ModelSafeGroup group) { 23 std::string ModelSafeGroupToString(ModelSafeGroup group) {
24 switch (group) { 24 switch (group) {
25 case GROUP_UI: 25 case GROUP_UI:
26 return "GROUP_UI"; 26 return "GROUP_UI";
27 case GROUP_DB: 27 case GROUP_DB:
28 return "GROUP_DB"; 28 return "GROUP_DB";
29 case GROUP_HISTORY: 29 case GROUP_HISTORY:
30 return "GROUP_HISTORY"; 30 return "GROUP_HISTORY";
31 case GROUP_PASSIVE: 31 case GROUP_PASSIVE:
32 return "GROUP_PASSIVE"; 32 return "GROUP_PASSIVE";
33 case GROUP_PASSWORD:
34 return "GROUP_PASSWORD";
33 default: 35 default:
34 NOTREACHED(); 36 NOTREACHED();
35 return "INVALID"; 37 return "INVALID";
36 } 38 }
37 } 39 }
38 40
39 } // namespace browser_sync 41 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc ('k') | chrome/browser/sync/engine/syncapi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698