NaCl: Update revision in DEPS, r12770 -> r12773
[chromium-blink-merge.git] / chrome / browser / ui / webui / sync_file_system_internals / dump_database_handler.h
blobcc16d28544f5e9140cb7b39e44ca8cf526bb8476
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.
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_
8 #include "base/compiler_specific.h"
9 #include "content/public/browser/web_ui_message_handler.h"
11 class Profile;
13 namespace syncfs_internals {
15 class DumpDatabaseHandler : public content::WebUIMessageHandler {
16 public:
17 explicit DumpDatabaseHandler(Profile* profile);
18 virtual ~DumpDatabaseHandler();
20 // WebUIMessageHandler implementation.
21 virtual void RegisterMessages() OVERRIDE;
23 private:
24 void GetDatabaseDump(const base::ListValue* args);
26 Profile* profile_;
28 DISALLOW_COPY_AND_ASSIGN(DumpDatabaseHandler);
31 } // namespace syncfs_internals
33 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_FILE_SYSTEM_INTERNALS_DUMP_DATABASE_HANDLER_H_