Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Side by Side Diff: chrome/browser/sync/sync_ui_util.h

Issue 6299002: [Sync] Port about:sync to DOMUI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added workaround for bug 69633 Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 // Open the appropriate sync dialog for the given profile (which can be 50 // Open the appropriate sync dialog for the given profile (which can be
51 // incognito). |code| should be one of the START_FROM_* codes. 51 // incognito). |code| should be one of the START_FROM_* codes.
52 void OpenSyncMyBookmarksDialog( 52 void OpenSyncMyBookmarksDialog(
53 Profile* profile, ProfileSyncService::SyncEventCodes code); 53 Profile* profile, ProfileSyncService::SyncEventCodes code);
54 54
55 void AddBoolSyncDetail(ListValue* details, 55 void AddBoolSyncDetail(ListValue* details,
56 const std::string& stat_name, 56 const std::string& stat_name,
57 bool stat_value); 57 bool stat_value);
58 58
59 // |service| can be NULL.
59 void ConstructAboutInformation(ProfileSyncService* service, 60 void ConstructAboutInformation(ProfileSyncService* service,
60 DictionaryValue* strings); 61 DictionaryValue* strings);
61 62
62 void AddIntSyncDetail(ListValue* details, 63 void AddIntSyncDetail(ListValue* details,
63 const std::string& stat_name, 64 const std::string& stat_name,
64 int64 stat_value); 65 int64 stat_value);
65 } // namespace sync_ui_util 66 } // namespace sync_ui_util
66 #endif // CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_ 67 #endif // CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/sync_internals_resources.grd ('k') | chrome/browser/sync/sync_ui_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698