| 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_GOOGLE_GOOGLE_UPDATE_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_GOOGLE_UPDATE_H_ |
| 6 #define CHROME_BROWSER_GOOGLE_GOOGLE_UPDATE_H_ | 6 #define CHROME_BROWSER_GOOGLE_GOOGLE_UPDATE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/string16.h" | 11 #include "base/string16.h" |
| 12 #if defined(OS_WIN) | 12 #if defined(OS_WIN) |
| 13 #include "google_update_idl.h" | 13 #include "google_update/google_update_idl.h" |
| 14 #endif | 14 #endif |
| 15 | 15 |
| 16 class MessageLoop; | 16 class MessageLoop; |
| 17 namespace views { | 17 namespace views { |
| 18 class Widget; | 18 class Widget; |
| 19 } | 19 } |
| 20 | 20 |
| 21 // The status of the upgrade. UPGRADE_STARTED and UPGRADE_CHECK_STARTED are | 21 // The status of the upgrade. UPGRADE_STARTED and UPGRADE_CHECK_STARTED are |
| 22 // internal states and will not be reported as results to the listener. | 22 // internal states and will not be reported as results to the listener. |
| 23 enum GoogleUpdateUpgradeResult { | 23 enum GoogleUpdateUpgradeResult { |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 // Otherwise, this will be blank. | 139 // Otherwise, this will be blank. |
| 140 string16 version_available_; | 140 string16 version_available_; |
| 141 | 141 |
| 142 // The listener who is interested in finding out the result of the operation. | 142 // The listener who is interested in finding out the result of the operation. |
| 143 GoogleUpdateStatusListener* listener_; | 143 GoogleUpdateStatusListener* listener_; |
| 144 | 144 |
| 145 DISALLOW_COPY_AND_ASSIGN(GoogleUpdate); | 145 DISALLOW_COPY_AND_ASSIGN(GoogleUpdate); |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 #endif // CHROME_BROWSER_GOOGLE_GOOGLE_UPDATE_H_ | 148 #endif // CHROME_BROWSER_GOOGLE_GOOGLE_UPDATE_H_ |
| OLD | NEW |