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

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

Issue 107743002: Add 'Dump Database' tab to syncfs-internals (only for v2 for now) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: regular -> Regular, added app_id Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_WEBUI_SYNC_FILE_SYSTEM_INTERNALS_DUMP_DATABASE_HANDLER _H_
6 #define CHROME_BROWSER_UI_WEBUI_SYNC_FILE_SYSTEM_INTERNALS_DUMP_DATABASE_HANDLER _H_
7
8 #include "base/compiler_specific.h"
9 #include "content/public/browser/web_ui_message_handler.h"
10
11 class Profile;
12
13 namespace syncfs_internals {
14
15 class DumpDatabaseHandler : public content::WebUIMessageHandler {
16 public:
17 explicit DumpDatabaseHandler(Profile* profile);
18 virtual ~DumpDatabaseHandler();
19
20 // WebUIMessageHandler implementation.
21 virtual void RegisterMessages() OVERRIDE;
22
23 private:
24 void GetDatabaseDump(const base::ListValue* args);
25
26 Profile* profile_;
27
28 DISALLOW_COPY_AND_ASSIGN(DumpDatabaseHandler);
29 };
30
31 } // namespace syncfs_internals
32
33 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_FILE_SYSTEM_INTERNALS_DUMP_DATABASE_HAND LER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698