| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_EXTENSIONS_WALLPAPER_API_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_WALLPAPER_API_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_WALLPAPER_API_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_WALLPAPER_API_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/threading/sequenced_worker_pool.h" | 10 #include "base/threading/sequenced_worker_pool.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 std::unique_ptr<extensions::api::wallpaper::SetWallpaper::Params> params_; | 57 std::unique_ptr<extensions::api::wallpaper::SetWallpaper::Params> params_; |
| 58 | 58 |
| 59 // Unique file name of the custom wallpaper. | 59 // Unique file name of the custom wallpaper. |
| 60 std::string file_name_; | 60 std::string file_name_; |
| 61 | 61 |
| 62 // User id of the user who initiate this API call. | 62 // User id of the user who initiate this API call. |
| 63 AccountId account_id_ = EmptyAccountId(); | 63 AccountId account_id_ = EmptyAccountId(); |
| 64 | 64 |
| 65 // Id used to identify user wallpaper files on hard drive. | 65 // Id used to identify user wallpaper files on hard drive. |
| 66 wallpaper::WallpaperFilesId wallpaper_files_id_; | 66 wallpaper::WallpaperFilesId wallpaper_files_id_; |
| 67 | |
| 68 // Sequence token associated with wallpaper operations. Shared with | |
| 69 // WallpaperManager. | |
| 70 base::SequencedWorkerPool::SequenceToken sequence_token_; | |
| 71 }; | 67 }; |
| 72 | 68 |
| 73 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_WALLPAPER_API_H_ | 69 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_WALLPAPER_API_H_ |
| OLD | NEW |