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

Unified Diff: chrome/browser/chromeos/extensions/wallpaper_api.h

Issue 1497973002: This CL replaces e-mail with AccountId in wallpaper manager code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review. Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/extensions/wallpaper_api.h
diff --git a/chrome/browser/chromeos/extensions/wallpaper_api.h b/chrome/browser/chromeos/extensions/wallpaper_api.h
index 6beca69d2bba228435f88139f0c02a97a87a7243..e1d2517467d289903198c8820e123dc579adf8ef 100644
--- a/chrome/browser/chromeos/extensions/wallpaper_api.h
+++ b/chrome/browser/chromeos/extensions/wallpaper_api.h
@@ -8,6 +8,7 @@
#include "base/threading/sequenced_worker_pool.h"
#include "chrome/browser/chromeos/extensions/wallpaper_function_base.h"
#include "chrome/common/extensions/api/wallpaper.h"
+#include "components/signin/core/account_id/account_id.h"
#include "net/url_request/url_request_status.h"
// Implementation of chrome.wallpaper.setWallpaper API.
@@ -51,7 +52,7 @@ class WallpaperSetWallpaperFunction : public WallpaperFunctionBase {
std::string file_name_;
// User id of the user who initiate this API call.
- std::string user_id_;
+ AccountId account_id_ = EmptyAccountId();
// User id hash of the logged in user.
std::string user_id_hash_;

Powered by Google App Engine
This is Rietveld 408576698