| OLD | NEW |
| 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_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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 virtual void BubbleViewCancelButtonPressed() OVERRIDE; | 38 virtual void BubbleViewCancelButtonPressed() 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 bool has_error_; | 48 string16 bubble_accept_label_; |
| 49 string16 bubble_message_; |
| 50 string16 menu_label_; |
| 49 ProfileSyncService* service_; | 51 ProfileSyncService* service_; |
| 50 | 52 |
| 51 DISALLOW_COPY_AND_ASSIGN(SyncGlobalError); | 53 DISALLOW_COPY_AND_ASSIGN(SyncGlobalError); |
| 52 }; | 54 }; |
| 53 | 55 |
| 54 #endif // CHROME_BROWSER_SYNC_SYNC_GLOBAL_ERROR_H_ | 56 #endif // CHROME_BROWSER_SYNC_SYNC_GLOBAL_ERROR_H_ |
| OLD | NEW |