| 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/sync/profile_sync_service_observer.h" | 10 #include "chrome/browser/api/sync/profile_sync_service_observer.h" |
| 11 #include "chrome/browser/ui/global_error/global_error.h" | 11 #include "chrome/browser/ui/global_error/global_error.h" |
| 12 | 12 |
| 13 class ProfileSyncService; | 13 class ProfileSyncService; |
| 14 class SigninManager; | 14 class SigninManager; |
| 15 | 15 |
| 16 // Shows sync errors on the wrench menu using a bubble view and a | 16 // Shows sync errors on the wrench menu using a bubble view and a |
| 17 // menu item. | 17 // menu item. |
| 18 class SyncGlobalError : public GlobalError, | 18 class SyncGlobalError : public GlobalError, |
| 19 public ProfileSyncServiceObserver { | 19 public ProfileSyncServiceObserver { |
| 20 public: | 20 public: |
| (...skipping 27 matching lines...) Expand all Loading... |
| 48 string16 bubble_accept_label_; | 48 string16 bubble_accept_label_; |
| 49 string16 bubble_message_; | 49 string16 bubble_message_; |
| 50 string16 menu_label_; | 50 string16 menu_label_; |
| 51 ProfileSyncService* service_; | 51 ProfileSyncService* service_; |
| 52 SigninManager* signin_; | 52 SigninManager* signin_; |
| 53 | 53 |
| 54 DISALLOW_COPY_AND_ASSIGN(SyncGlobalError); | 54 DISALLOW_COPY_AND_ASSIGN(SyncGlobalError); |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 #endif // CHROME_BROWSER_SYNC_SYNC_GLOBAL_ERROR_H_ | 57 #endif // CHROME_BROWSER_SYNC_SYNC_GLOBAL_ERROR_H_ |
| OLD | NEW |