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_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 Loading... |
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_ |
OLD | NEW |