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

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

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 | Annotate | Revision Log
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_SYNC_FILE_SYSTEM_INTE RNALS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SYNC_FILE_SYSTEM_INTERNALS_SYNC_FILE_SYSTEM_INTE RNALS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SYNC_FILE_SYSTEM_INTERNALS_SYNC_FILE_SYSTEM_INTE RNALS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SYNC_FILE_SYSTEM_INTERNALS_SYNC_FILE_SYSTEM_INTE RNALS_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 18 matching lines...) Expand all
29 virtual ~SyncFileSystemInternalsHandler(); 29 virtual ~SyncFileSystemInternalsHandler();
30 30
31 // content::WebUIMessageHandler implementation. 31 // content::WebUIMessageHandler implementation.
32 virtual void RegisterMessages() OVERRIDE; 32 virtual void RegisterMessages() OVERRIDE;
33 33
34 // sync_file_system::SyncEventObserver interface implementation. 34 // sync_file_system::SyncEventObserver interface implementation.
35 virtual void OnSyncStateUpdated( 35 virtual void OnSyncStateUpdated(
36 const GURL& app_origin, 36 const GURL& app_origin,
37 sync_file_system::SyncServiceState state, 37 sync_file_system::SyncServiceState state,
38 const std::string& description) OVERRIDE; 38 const std::string& description) OVERRIDE;
39 virtual void OnFileSynced( 39 virtual void OnFileSynced(const storage::FileSystemURL& url,
40 const fileapi::FileSystemURL& url, 40 sync_file_system::SyncFileStatus status,
41 sync_file_system::SyncFileStatus status, 41 sync_file_system::SyncAction action,
42 sync_file_system::SyncAction action, 42 sync_file_system::SyncDirection direction) OVERRIDE;
43 sync_file_system::SyncDirection direction) OVERRIDE;
44 43
45 // sync_file_system::TaskLogger::Observer implementation. 44 // sync_file_system::TaskLogger::Observer implementation.
46 virtual void OnLogRecorded( 45 virtual void OnLogRecorded(
47 const sync_file_system::TaskLogger::TaskLog& task_log) OVERRIDE; 46 const sync_file_system::TaskLogger::TaskLog& task_log) OVERRIDE;
48 47
49 private: 48 private:
50 void GetServiceStatus(const base::ListValue* args); 49 void GetServiceStatus(const base::ListValue* args);
51 void GetNotificationSource(const base::ListValue* args); 50 void GetNotificationSource(const base::ListValue* args);
52 void GetLog(const base::ListValue* args); 51 void GetLog(const base::ListValue* args);
53 void ClearLogs(const base::ListValue* args); 52 void ClearLogs(const base::ListValue* args);
54 void ObserveTaskLog(const base::ListValue* args); 53 void ObserveTaskLog(const base::ListValue* args);
55 54
56 Profile* profile_; 55 Profile* profile_;
57 bool observing_task_log_; 56 bool observing_task_log_;
58 57
59 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemInternalsHandler); 58 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemInternalsHandler);
60 }; 59 };
61 60
62 } // namespace syncfs_internals 61 } // namespace syncfs_internals
63 62
64 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_FILE_SYSTEM_INTERNALS_SYNC_FILE_SYSTEM_I NTERNALS_HANDLER_H_ 63 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_FILE_SYSTEM_INTERNALS_SYNC_FILE_SYSTEM_I NTERNALS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698