diff options
author | bradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-03 21:55:29 +0000 |
---|---|---|
committer | bradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-03 21:55:29 +0000 |
commit | 21e581224e3229921d1ffb955ead8cf826d7a009 (patch) | |
tree | d69d32705f75f50bbd38d6d57b0601f4c3eb751f /chrome/browser/sync/sync_status_ui_helper.h | |
parent | 0ec65a206162e22de14d2c50661fee6046c0c877 (diff) | |
download | chromium_src-21e581224e3229921d1ffb955ead8cf826d7a009.zip chromium_src-21e581224e3229921d1ffb955ead8cf826d7a009.tar.gz chromium_src-21e581224e3229921d1ffb955ead8cf826d7a009.tar.bz2 |
Rolling back 22317
BUG=None
TEST=None
TBR=tim
Review URL: http://codereview.chromium.org/160542
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22321 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/sync_status_ui_helper.h')
-rw-r--r-- | chrome/browser/sync/sync_status_ui_helper.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/chrome/browser/sync/sync_status_ui_helper.h b/chrome/browser/sync/sync_status_ui_helper.h deleted file mode 100644 index 6241ead..0000000 --- a/chrome/browser/sync/sync_status_ui_helper.h +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (c) 2009 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. - -#ifdef CHROME_PERSONALIZATION - -#ifndef CHROME_BROWSER_SYNC_SYNC_STATUS_UI_HELPER_H_ -#define CHROME_BROWSER_SYNC_SYNC_STATUS_UI_HELPER_H_ - -#include "base/string16.h" - -class ProfileSyncService; - -// Utility to gather current sync status information from the sync service and -// constructs messages suitable for showing in UI. -class SyncStatusUIHelper { - public: - enum MessageType { - PRE_SYNCED, // User has not set up sync. - SYNCED, // We are synced and authenticated to a gmail account. - SYNC_ERROR, // A sync error (such as invalid credentials) has occurred. - }; - - // Create status and link labels for the current status labels and link text - // by querying |service|. - static MessageType GetLabels(ProfileSyncService* service, - std::wstring* status_label, - std::wstring* link_label); - private: - DISALLOW_IMPLICIT_CONSTRUCTORS(SyncStatusUIHelper); -}; - -#endif // CHROME_BROWSER_SYNC_SYNC_STATUS_UI_HELPER_H_ -#endif // CHROME_PERSONALIZATION |