[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.cc
blob265eb523ee4d384fd1db8992e79687b8a795cdd8
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 #include "chrome/browser/ui/views/select_file_dialog_extension_factory.h"
7 #include "chrome/browser/ui/views/select_file_dialog_extension.h"
9 SelectFileDialogExtensionFactory::SelectFileDialogExtensionFactory() {
12 SelectFileDialogExtensionFactory::~SelectFileDialogExtensionFactory() {
15 ui::SelectFileDialog* SelectFileDialogExtensionFactory::Create(
16 ui::SelectFileDialog::Listener* listener,
17 ui::SelectFilePolicy* policy) {
18 return SelectFileDialogExtension::Create(listener, policy);