| 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_EXTENSIONS_CRX_INSTALLER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 // Whether to allow off store installation. | 330 // Whether to allow off store installation. |
| 331 OffStoreInstallAllowReason off_store_install_allow_reason_; | 331 OffStoreInstallAllowReason off_store_install_allow_reason_; |
| 332 | 332 |
| 333 // Whether the installation was handled successfully. This is used to | 333 // Whether the installation was handled successfully. This is used to |
| 334 // indicate to the client whether the file should be removed and any UI | 334 // indicate to the client whether the file should be removed and any UI |
| 335 // initiating the installation can be removed. This is different than whether | 335 // initiating the installation can be removed. This is different than whether |
| 336 // there was an error; if there was an error that rejects installation we | 336 // there was an error; if there was an error that rejects installation we |
| 337 // still consider the installation 'handled'. | 337 // still consider the installation 'handled'. |
| 338 bool did_handle_successfully_; | 338 bool did_handle_successfully_; |
| 339 | 339 |
| 340 // Whether we should record an oauth2 grant upon successful install. |
| 341 bool record_oauth2_grant_; |
| 342 |
| 340 DISALLOW_COPY_AND_ASSIGN(CrxInstaller); | 343 DISALLOW_COPY_AND_ASSIGN(CrxInstaller); |
| 341 }; | 344 }; |
| 342 | 345 |
| 343 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ | 346 #endif // CHROME_BROWSER_EXTENSIONS_CRX_INSTALLER_H_ |
| OLD | NEW |