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

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

Issue 8590030: Revert "[Sync] Add version info to about:sync" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/sync/internal_api/sync_manager.cc ('k') | chrome/browser/sync/sync_ui_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 void ConstructAboutInformation(ProfileSyncService* service, 76 void ConstructAboutInformation(ProfileSyncService* service,
77 DictionaryValue* strings); 77 DictionaryValue* strings);
78 78
79 void AddIntSyncDetail(base::ListValue* details, 79 void AddIntSyncDetail(base::ListValue* details,
80 const std::string& stat_name, 80 const std::string& stat_name,
81 int64 stat_value); 81 int64 stat_value);
82 82
83 void AddStringSyncDetails(ListValue* details, const std::string& stat_name, 83 void AddStringSyncDetails(ListValue* details, const std::string& stat_name,
84 const std::string& stat_value); 84 const std::string& stat_value);
85 85
86 // Returns a string describing the chrome version environment. Version format:
87 // <Build Info> <OS> <Version number> (<Last change>)<channel or "-devel">
88 // If version information is unavailable, returns "invalid."
89 // TODO(zea): this approximately matches MakeUserAgentForSyncApi in
90 // sync_backend_host.cc. Unify the two if possible.
91 std::string GetVersionString();
92
93 } // namespace sync_ui_util 86 } // namespace sync_ui_util
94 #endif // CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_ 87 #endif // CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/internal_api/sync_manager.cc ('k') | chrome/browser/sync/sync_ui_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698