summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/select_file_dialog_extension_factory.h
blob: 6724f73439a48566ed8ba50145b79b0a4a2b1553 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) 2012 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_VIEWS_SELECT_FILE_DIALOG_EXTENSION_FACTORY_H_
#define CHROME_BROWSER_UI_VIEWS_SELECT_FILE_DIALOG_EXTENSION_FACTORY_H_

#include "base/macros.h"
#include "ui/shell_dialogs/select_file_dialog.h"
#include "ui/shell_dialogs/select_file_dialog_factory.h"

class SelectFileDialogExtensionFactory : public ui::SelectFileDialogFactory {
 public:
  SelectFileDialogExtensionFactory();
  ~SelectFileDialogExtensionFactory() override;

 private:
  // Override from ui::SelectFileDialogFactory:
  ui::SelectFileDialog* Create(ui::SelectFileDialog::Listener* listener,
                               ui::SelectFilePolicy* policy) override;

  DISALLOW_COPY_AND_ASSIGN(SelectFileDialogExtensionFactory);
};

#endif  // CHROME_BROWSER_UI_VIEWS_SELECT_FILE_DIALOG_EXTENSION_FACTORY_H_