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> |
| 9 |
8 #include "base/threading/sequenced_worker_pool.h" | 10 #include "base/threading/sequenced_worker_pool.h" |
9 #include "chrome/browser/chromeos/extensions/wallpaper_function_base.h" | 11 #include "chrome/browser/chromeos/extensions/wallpaper_function_base.h" |
10 #include "chrome/common/extensions/api/wallpaper.h" | 12 #include "chrome/common/extensions/api/wallpaper.h" |
11 #include "components/signin/core/account_id/account_id.h" | 13 #include "components/signin/core/account_id/account_id.h" |
12 #include "components/wallpaper/wallpaper_files_id.h" | 14 #include "components/wallpaper/wallpaper_files_id.h" |
13 #include "net/url_request/url_request_status.h" | 15 #include "net/url_request/url_request_status.h" |
14 | 16 |
15 namespace base { | 17 namespace base { |
16 class RefCountedBytes; | 18 class RefCountedBytes; |
17 } | 19 } |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 64 |
63 // Id used to identify user wallpaper files on hard drive. | 65 // Id used to identify user wallpaper files on hard drive. |
64 wallpaper::WallpaperFilesId wallpaper_files_id_; | 66 wallpaper::WallpaperFilesId wallpaper_files_id_; |
65 | 67 |
66 // Sequence token associated with wallpaper operations. Shared with | 68 // Sequence token associated with wallpaper operations. Shared with |
67 // WallpaperManager. | 69 // WallpaperManager. |
68 base::SequencedWorkerPool::SequenceToken sequence_token_; | 70 base::SequencedWorkerPool::SequenceToken sequence_token_; |
69 }; | 71 }; |
70 | 72 |
71 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_WALLPAPER_API_H_ | 73 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_WALLPAPER_API_H_ |
OLD | NEW |