| 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_CHROMEOS_APP_MODE_KIOSK_EXTERNAL_UPDATE_VALIDATOR_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_EXTERNAL_UPDATE_VALIDATOR_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_EXTERNAL_UPDATE_VALIDATOR_H_ | 6 #define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_EXTERNAL_UPDATE_VALIDATOR_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "base/sequenced_task_runner.h" | 12 #include "base/sequenced_task_runner.h" |
| 13 #include "chrome/browser/extensions/sandboxed_unpacker.h" | 13 #include "extensions/browser/sandboxed_unpacker.h" |
| 14 | 14 |
| 15 namespace extensions { | 15 namespace extensions { |
| 16 class Extension; | 16 class Extension; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace chromeos { | 19 namespace chromeos { |
| 20 | 20 |
| 21 // Delegate class for KioskExternalUpdateValidator, derived class must support | 21 // Delegate class for KioskExternalUpdateValidator, derived class must support |
| 22 // WeakPtr. | 22 // WeakPtr. |
| 23 class KioskExternalUpdateValidatorDelegate { | 23 class KioskExternalUpdateValidatorDelegate { |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 const base::FilePath crx_unpack_dir_; | 68 const base::FilePath crx_unpack_dir_; |
| 69 | 69 |
| 70 base::WeakPtr<KioskExternalUpdateValidatorDelegate> delegate_; | 70 base::WeakPtr<KioskExternalUpdateValidatorDelegate> delegate_; |
| 71 | 71 |
| 72 DISALLOW_COPY_AND_ASSIGN(KioskExternalUpdateValidator); | 72 DISALLOW_COPY_AND_ASSIGN(KioskExternalUpdateValidator); |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 } // namespace chromeos | 75 } // namespace chromeos |
| 76 | 76 |
| 77 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_EXTERNAL_UPDATE_VALIDATOR_H_ | 77 #endif // CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_EXTERNAL_UPDATE_VALIDATOR_H_ |
| OLD | NEW |