| OLD | NEW | 
|   1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |   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 |   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_GLOBAL_ERROR_H_ |   5 #ifndef CHROME_BROWSER_SYNC_SYNC_GLOBAL_ERROR_H_ | 
|   6 #define CHROME_BROWSER_SYNC_SYNC_GLOBAL_ERROR_H_ |   6 #define CHROME_BROWSER_SYNC_SYNC_GLOBAL_ERROR_H_ | 
|   7  |   7  | 
|   8 #include "base/basictypes.h" |   8 #include "base/basictypes.h" | 
|   9 #include "base/compiler_specific.h" |   9 #include "base/compiler_specific.h" | 
|  10 #include "chrome/browser/api/sync/profile_sync_service_observer.h" |  10 #include "chrome/browser/api/sync/profile_sync_service_observer.h" | 
| (...skipping 27 matching lines...) Expand all  Loading... | 
|  38   virtual void BubbleViewCancelButtonPressed(Browser* browser) OVERRIDE; |  38   virtual void BubbleViewCancelButtonPressed(Browser* browser) OVERRIDE; | 
|  39  |  39  | 
|  40   // ProfileSyncServiceObserver implementation. |  40   // ProfileSyncServiceObserver implementation. | 
|  41   virtual void OnStateChanged() OVERRIDE; |  41   virtual void OnStateChanged() OVERRIDE; | 
|  42  |  42  | 
|  43   // For non-ChromeOS we customize the "Sign in to sync" wrench menu item |  43   // For non-ChromeOS we customize the "Sign in to sync" wrench menu item | 
|  44   // instead of adding a new wrench menu item at the bottom. |  44   // instead of adding a new wrench menu item at the bottom. | 
|  45   bool HasCustomizedSyncMenuItem(); |  45   bool HasCustomizedSyncMenuItem(); | 
|  46  |  46  | 
|  47  private: |  47  private: | 
 |  48   void NotifyTokenFailureOccurred(const string16& error_msg); | 
 |  49  | 
|  48   string16 bubble_accept_label_; |  50   string16 bubble_accept_label_; | 
|  49   string16 bubble_message_; |  51   string16 bubble_message_; | 
|  50   string16 menu_label_; |  52   string16 menu_label_; | 
|  51   ProfileSyncService* service_; |  53   ProfileSyncService* service_; | 
|  52   SigninManager* signin_; |  54   SigninManager* signin_; | 
|  53  |  55  | 
|  54   DISALLOW_COPY_AND_ASSIGN(SyncGlobalError); |  56   DISALLOW_COPY_AND_ASSIGN(SyncGlobalError); | 
|  55 }; |  57 }; | 
|  56  |  58  | 
|  57 #endif  // CHROME_BROWSER_SYNC_SYNC_GLOBAL_ERROR_H_ |  59 #endif  // CHROME_BROWSER_SYNC_SYNC_GLOBAL_ERROR_H_ | 
| OLD | NEW |