Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: chrome/browser/chromeos/extensions/wallpaper_api.h

Issue 2315303002: Remove calls to IsRunningSequenceOnCurrentThread() in wallpaper API. (Closed)
Patch Set: Leaky LazyInstance Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698