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

Unified Diff: chrome/browser/sync/about_sync_util.h

Issue 10696107: sync: Track validity of about:sync fields (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another rebase Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/sync_internals/about.html ('k') | chrome/browser/sync/about_sync_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/about_sync_util.h
diff --git a/chrome/browser/sync/about_sync_util.h b/chrome/browser/sync/about_sync_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..827e44190499ac23ec5ae479025d5c1f957ce3f8
--- /dev/null
+++ b/chrome/browser/sync/about_sync_util.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_SYNC_ABOUT_SYNC_UTIL_H_
+#define CHROME_BROWSER_SYNC_ABOUT_SYNC_UTIL_H_
+
+#include "base/memory/scoped_ptr.h"
+
+class ProfileSyncService;
+
+namespace base {
+class DictionaryValue;
+}
+
+namespace sync_ui_util {
+// This function returns a DictionaryValue which contains all the information
+// required to populate the 'About' tab of about:sync.
+// Note that |service| may be NULL.
+scoped_ptr<base::DictionaryValue> ConstructAboutInformation(
+ ProfileSyncService* service);
+}
+
+#endif // CHROME_BROWSER_SYNC_ABOUT_SYNC_UTIL_H_
« no previous file with comments | « chrome/browser/resources/sync_internals/about.html ('k') | chrome/browser/sync/about_sync_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698