Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / sync / about_sync_util.h
blob108c6dc5c4748f82dc6cfea390140a255711555d
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;
12 namespace base {
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_