OLD | NEW |
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/sync_ui_util.h" | 5 #include "chrome/browser/sync/sync_ui_util.h" |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "base/i18n/number_formatting.h" | 8 #include "base/i18n/number_formatting.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
10 #include "chrome/browser/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
11 #include "chrome/browser/sync/profile_sync_service.h" | 11 #include "chrome/browser/sync/profile_sync_service.h" |
12 #include "chrome/browser/ui/options/options_window.h" | 12 #include "chrome/browser/ui/options/options_window.h" |
13 #include "chrome/common/net/gaia/google_service_auth_error.h" | 13 #include "chrome/common/net/gaia/google_service_auth_error.h" |
14 #include "grit/chromium_strings.h" | 14 #include "grit/chromium_strings.h" |
15 #include "grit/generated_resources.h" | 15 #include "grit/generated_resources.h" |
16 | 16 |
17 typedef GoogleServiceAuthError AuthError; | 17 typedef GoogleServiceAuthError AuthError; |
18 | 18 |
19 namespace sync_ui_util { | 19 namespace sync_ui_util { |
20 | 20 |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 DictionaryValue* val = new DictionaryValue; | 321 DictionaryValue* val = new DictionaryValue; |
322 val->SetString("model_type", ModelTypeToString(it->first)); | 322 val->SetString("model_type", ModelTypeToString(it->first)); |
323 val->SetString("group", ModelSafeGroupToString(it->second)); | 323 val->SetString("group", ModelSafeGroupToString(it->second)); |
324 routing_info->Append(val); | 324 routing_info->Append(val); |
325 } | 325 } |
326 } | 326 } |
327 } | 327 } |
328 } | 328 } |
329 | 329 |
330 } // namespace sync_ui_util | 330 } // namespace sync_ui_util |
OLD | NEW |