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. 4 5#ifndef CHROME_BROWSER_SYNC_ABOUT_SYNC_UTIL_H_ 6#define CHROME_BROWSER_SYNC_ABOUT_SYNC_UTIL_H_ 7 8#include "base/memory/scoped_ptr.h" 9 10class ProfileSyncService; 11 12namespace base { 13class DictionaryValue; 14} 15 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. 18extern const char kIdentityTitle[]; 19extern const char kDetailsKey[]; 20 21namespace 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. 25scoped_ptr<base::DictionaryValue> ConstructAboutInformation( 26 ProfileSyncService* service); 27} 28 29#endif // CHROME_BROWSER_SYNC_ABOUT_SYNC_UTIL_H_ 30