Chromium Code Reviews| Index: chrome/browser/ui/webui/md_feedback/md_feedback_dialog_controller.h |
| diff --git a/chrome/browser/ui/webui/md_feedback/md_feedback_dialog_controller.h b/chrome/browser/ui/webui/md_feedback/md_feedback_dialog_controller.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c1a0c9a72b6ec873713d1d041d547ba92a6973ef |
| --- /dev/null |
| +++ b/chrome/browser/ui/webui/md_feedback/md_feedback_dialog_controller.h |
| @@ -0,0 +1,23 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_UI_WEBUI_MD_FEEDBACK_MD_FEEDBACK_DIALOG_CONTROLLER_H_ |
| +#define CHROME_BROWSER_UI_WEBUI_MD_FEEDBACK_MD_FEEDBACK_DIALOG_CONTROLLER_H_ |
| + |
| +#include "content/public/browser/browser_context.h" |
| + |
| +class MdFeedbackDialogController { |
|
afakhry
2016/08/02 22:15:56
Please document your class, its responsibility and
apacible
2016/08/09 22:11:14
Done.
|
| + public: |
| + ~MdFeedbackDialogController(); |
|
afakhry
2016/08/02 22:15:56
You can just say
~MdFeedbackDialogController() =
apacible
2016/08/09 22:11:14
Done.
|
| + |
| + static MdFeedbackDialogController* GetOrCreate(); |
| + void Show(content::BrowserContext* browser_context); |
| + |
| + private: |
| + MdFeedbackDialogController(); |
| + |
| + DISALLOW_COPY_AND_ASSIGN(MdFeedbackDialogController); |
| +}; |
| + |
| +#endif // CHROME_BROWSER_UI_WEBUI_MD_FEEDBACK_MD_FEEDBACK_DIALOG_CONTROLLER_H_ |