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

Side by Side Diff: components/user_manager/user_image/user_image.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr Created 4 years, 8 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
« no previous file with comments | « components/user_manager/user.h ('k') | components/user_manager/user_manager_base.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_USER_MANAGER_USER_IMAGE_USER_IMAGE_H_ 5 #ifndef COMPONENTS_USER_MANAGER_USER_IMAGE_USER_IMAGE_H_
6 #define COMPONENTS_USER_MANAGER_USER_IMAGE_USER_IMAGE_H_ 6 #define COMPONENTS_USER_MANAGER_USER_IMAGE_USER_IMAGE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/memory/scoped_ptr.h"
12 #include "components/user_manager/user_manager_export.h" 13 #include "components/user_manager/user_manager_export.h"
13 #include "ui/gfx/image/image_skia.h" 14 #include "ui/gfx/image/image_skia.h"
14 #include "url/gurl.h" 15 #include "url/gurl.h"
15 16
16 namespace user_manager { 17 namespace user_manager {
17 18
18 // Wrapper class storing a still image and its bytes representation for 19 // Wrapper class storing a still image and its bytes representation for
19 // WebUI in a web-compatible format such as JPEG. Could be used for storing 20 // WebUI in a web-compatible format such as JPEG. Could be used for storing
20 // profile images and user wallpapers. 21 // profile images and user wallpapers.
21 class USER_MANAGER_EXPORT UserImage { 22 class USER_MANAGER_EXPORT UserImage {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // If image was loaded from the local file, file path is stored here. 78 // If image was loaded from the local file, file path is stored here.
78 base::FilePath file_path_; 79 base::FilePath file_path_;
79 bool is_safe_format_; 80 bool is_safe_format_;
80 81
81 DISALLOW_COPY_AND_ASSIGN(UserImage); 82 DISALLOW_COPY_AND_ASSIGN(UserImage);
82 }; 83 };
83 84
84 } // namespace user_manager 85 } // namespace user_manager
85 86
86 #endif // COMPONENTS_USER_MANAGER_USER_IMAGE_USER_IMAGE_H_ 87 #endif // COMPONENTS_USER_MANAGER_USER_IMAGE_USER_IMAGE_H_
OLDNEW
« no previous file with comments | « components/user_manager/user.h ('k') | components/user_manager/user_manager_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698