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 #ifndef CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_ | 5 #ifndef CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_ |
6 #define CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_ | 6 #define CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 const std::string& stat_name, | 65 const std::string& stat_name, |
66 bool stat_value); | 66 bool stat_value); |
67 | 67 |
68 // |service| can be NULL. | 68 // |service| can be NULL. |
69 void ConstructAboutInformation(ProfileSyncService* service, | 69 void ConstructAboutInformation(ProfileSyncService* service, |
70 DictionaryValue* strings); | 70 DictionaryValue* strings); |
71 | 71 |
72 void AddIntSyncDetail(base::ListValue* details, | 72 void AddIntSyncDetail(base::ListValue* details, |
73 const std::string& stat_name, | 73 const std::string& stat_name, |
74 int64 stat_value); | 74 int64 stat_value); |
| 75 |
| 76 void AddStringSyncDetails(ListValue* details, const std::string& stat_name, |
| 77 const std::string& stat_value); |
75 } // namespace sync_ui_util | 78 } // namespace sync_ui_util |
76 #endif // CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_ | 79 #endif // CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_ |
OLD | NEW |