1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_SYNC_ABOUT_SYNC_UTIL_H_
6 #define CHROME_BROWSER_SYNC_ABOUT_SYNC_UTIL_H_
8 #include "base/memory/scoped_ptr.h"
10 class ProfileSyncService
;
13 class DictionaryValue
;
16 // These strings are used from logs to pull out specific data from sync; we
17 // don't want these to ever go out of sync between the logs and sync util.
18 extern const char kIdentityTitle
[];
19 extern const char kDetailsKey
[];
21 namespace sync_ui_util
{
22 // This function returns a DictionaryValue which contains all the information
23 // required to populate the 'About' tab of about:sync.
24 // Note that |service| may be NULL.
25 scoped_ptr
<base::DictionaryValue
> ConstructAboutInformation(
26 ProfileSyncService
* service
);
29 #endif // CHROME_BROWSER_SYNC_ABOUT_SYNC_UTIL_H_