OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 EXTENSIONS_BROWSER_UPDATER_UPDATE_INSTALL_SHIM_H_ | 5 #ifndef EXTENSIONS_BROWSER_UPDATER_UPDATE_INSTALL_SHIM_H_ |
6 #define EXTENSIONS_BROWSER_UPDATER_UPDATE_INSTALL_SHIM_H_ | 6 #define EXTENSIONS_BROWSER_UPDATER_UPDATE_INSTALL_SHIM_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/macros.h" |
12 #include "components/update_client/update_client.h" | 13 #include "components/update_client/update_client.h" |
13 | 14 |
14 namespace base { | 15 namespace base { |
15 class DictionaryValue; | 16 class DictionaryValue; |
16 } | 17 } |
17 | 18 |
18 namespace extensions { | 19 namespace extensions { |
19 | 20 |
20 // A callback to implement the install of a new version of the extension. | 21 // A callback to implement the install of a new version of the extension. |
21 // Takes ownership of the directory at |temp_dir|. | 22 // Takes ownership of the directory at |temp_dir|. |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 std::string extension_id_; | 68 std::string extension_id_; |
68 base::FilePath extension_root_; | 69 base::FilePath extension_root_; |
69 UpdateInstallShimCallback callback_; | 70 UpdateInstallShimCallback callback_; |
70 | 71 |
71 DISALLOW_COPY_AND_ASSIGN(UpdateInstallShim); | 72 DISALLOW_COPY_AND_ASSIGN(UpdateInstallShim); |
72 }; | 73 }; |
73 | 74 |
74 } // namespace extensions | 75 } // namespace extensions |
75 | 76 |
76 #endif // EXTENSIONS_BROWSER_UPDATER_UPDATE_INSTALL_SHIM_H_ | 77 #endif // EXTENSIONS_BROWSER_UPDATER_UPDATE_INSTALL_SHIM_H_ |
OLD | NEW |