| 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_UI_GLOBAL_ERROR_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_UI_GLOBAL_ERROR_GLOBAL_ERROR_SERVICE_H_ |
| 6 #define CHROME_BROWSER_UI_GLOBAL_ERROR_SERVICE_H_ | 6 #define CHROME_BROWSER_UI_GLOBAL_ERROR_GLOBAL_ERROR_SERVICE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "chrome/browser/profiles/profile_keyed_service.h" | 12 #include "chrome/browser/profiles/profile_keyed_service.h" |
| 13 | 13 |
| 14 class GlobalError; | 14 class GlobalError; |
| 15 class Profile; | 15 class Profile; |
| 16 | 16 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 // should update. | 59 // should update. |
| 60 void NotifyErrorsChanged(GlobalError* error); | 60 void NotifyErrorsChanged(GlobalError* error); |
| 61 | 61 |
| 62 private: | 62 private: |
| 63 GlobalErrorList errors_; | 63 GlobalErrorList errors_; |
| 64 Profile* profile_; | 64 Profile* profile_; |
| 65 | 65 |
| 66 DISALLOW_COPY_AND_ASSIGN(GlobalErrorService); | 66 DISALLOW_COPY_AND_ASSIGN(GlobalErrorService); |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 #endif // CHROME_BROWSER_UI_GLOBAL_ERROR_SERVICE_H_ | 69 #endif // CHROME_BROWSER_UI_GLOBAL_ERROR_GLOBAL_ERROR_SERVICE_H_ |
| OLD | NEW |