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

Side by Side Diff: chrome/browser/ui/webui/sync_file_system_internals/file_metadata_handler.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
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_UI_WEBUI_SYNC_FILE_SYSTEM_INTERNALS_FILE_METADATA_HANDLER _H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SYNC_FILE_SYSTEM_INTERNALS_FILE_METADATA_HANDLER _H_
6 #define CHROME_BROWSER_UI_WEBUI_SYNC_FILE_SYSTEM_INTERNALS_FILE_METADATA_HANDLER _H_ 6 #define CHROME_BROWSER_UI_WEBUI_SYNC_FILE_SYSTEM_INTERNALS_FILE_METADATA_HANDLER _H_
7 7
8 #include <memory>
9
8 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
9 #include "base/macros.h" 11 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
12 #include "chrome/browser/sync_file_system/remote_file_sync_service.h" 13 #include "chrome/browser/sync_file_system/remote_file_sync_service.h"
13 #include "chrome/browser/sync_file_system/sync_status_code.h" 14 #include "chrome/browser/sync_file_system/sync_status_code.h"
14 #include "content/public/browser/web_ui_message_handler.h" 15 #include "content/public/browser/web_ui_message_handler.h"
15 16
16 class Profile; 17 class Profile;
17 18
18 namespace syncfs_internals { 19 namespace syncfs_internals {
19 20
20 // This class handles messages from WebUI page of chrome://syncfs-internals/ 21 // This class handles messages from WebUI page of chrome://syncfs-internals/
(...skipping 16 matching lines...) Expand all
37 void DidGetFileMetadata(const base::ListValue& files); 38 void DidGetFileMetadata(const base::ListValue& files);
38 39
39 Profile* profile_; 40 Profile* profile_;
40 base::WeakPtrFactory<FileMetadataHandler> weak_factory_; 41 base::WeakPtrFactory<FileMetadataHandler> weak_factory_;
41 42
42 DISALLOW_COPY_AND_ASSIGN(FileMetadataHandler); 43 DISALLOW_COPY_AND_ASSIGN(FileMetadataHandler);
43 }; 44 };
44 } // namespace syncfs_internals 45 } // namespace syncfs_internals
45 46
46 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_FILE_SYSTEM_INTERNALS_FILE_METADATA_HAND LER_H_ 47 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_FILE_SYSTEM_INTERNALS_FILE_METADATA_HAND LER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698