[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / views / select_file_dialog_extension_factory.h
blobbbc65db0d95f82091788a5961d7ff27cdb9cc011
1 // Copyright (c) 2012 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_VIEWS_SELECT_FILE_DIALOG_EXTENSION_FACTORY_H_
6 #define CHROME_BROWSER_UI_VIEWS_SELECT_FILE_DIALOG_EXTENSION_FACTORY_H_
8 #include "ui/shell_dialogs/select_file_dialog.h"
9 #include "ui/shell_dialogs/select_file_dialog_factory.h"
11 class SelectFileDialogExtensionFactory : public ui::SelectFileDialogFactory {
12 public:
13 SelectFileDialogExtensionFactory();
14 virtual ~SelectFileDialogExtensionFactory();
16 private:
17 // Override from ui::SelectFileDialogFactory:
18 virtual ui::SelectFileDialog* Create(
19 ui::SelectFileDialog::Listener* listener,
20 ui::SelectFilePolicy* policy) OVERRIDE;
22 DISALLOW_COPY_AND_ASSIGN(SelectFileDialogExtensionFactory);
25 #endif // CHROME_BROWSER_UI_VIEWS_SELECT_FILE_DIALOG_EXTENSION_FACTORY_H_