| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_ERROR_NOTIFIER_ASH_H_ | 5 #ifndef CHROME_BROWSER_SYNC_SYNC_ERROR_NOTIFIER_ASH_H_ |
| 6 #define CHROME_BROWSER_SYNC_SYNC_ERROR_NOTIFIER_ASH_H_ | 6 #define CHROME_BROWSER_SYNC_SYNC_ERROR_NOTIFIER_ASH_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 // syncer::SyncErrorController::Observer: | 28 // syncer::SyncErrorController::Observer: |
| 29 void OnErrorChanged() override; | 29 void OnErrorChanged() override; |
| 30 | 30 |
| 31 private: | 31 private: |
| 32 // The error controller to query for error details. | 32 // The error controller to query for error details. |
| 33 syncer::SyncErrorController* error_controller_; | 33 syncer::SyncErrorController* error_controller_; |
| 34 | 34 |
| 35 // The Profile this service belongs to. | 35 // The Profile this service belongs to. |
| 36 Profile* profile_; | 36 Profile* profile_; |
| 37 | 37 |
| 38 // Notification was added to NotificationUIManager. This flag is used to |
| 39 // prevent displaying passphrase notification to user if they already saw (and |
| 40 // potentially dismissed) previous one. |
| 41 bool notification_displayed_; |
| 42 |
| 38 // Used to keep track of the message center notification. | 43 // Used to keep track of the message center notification. |
| 39 std::string notification_id_; | 44 std::string notification_id_; |
| 40 | 45 |
| 41 DISALLOW_COPY_AND_ASSIGN(SyncErrorNotifier); | 46 DISALLOW_COPY_AND_ASSIGN(SyncErrorNotifier); |
| 42 }; | 47 }; |
| 43 | 48 |
| 44 #endif // CHROME_BROWSER_SYNC_SYNC_ERROR_NOTIFIER_ASH_H_ | 49 #endif // CHROME_BROWSER_SYNC_SYNC_ERROR_NOTIFIER_ASH_H_ |
| OLD | NEW |