Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
add missing file from #361
Browse files Browse the repository at this point in the history
auditors @hferreiro
  • Loading branch information
bridiver committed Oct 26, 2017
1 parent bf9a0a5 commit 6395a03
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions chromium_src/chrome/browser/ui/chrome_select_file_policy.cc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// 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.

#include "chrome/browser/ui/chrome_select_file_policy.h"

ChromeSelectFilePolicy::ChromeSelectFilePolicy(
content::WebContents* source_contents)
: source_contents_(source_contents) {}

ChromeSelectFilePolicy::~ChromeSelectFilePolicy() {}

bool ChromeSelectFilePolicy::CanOpenSelectFileDialog() {
return FileSelectDialogsAllowed();
}

void ChromeSelectFilePolicy::SelectFileDenied() {}

// static
bool ChromeSelectFilePolicy::FileSelectDialogsAllowed() {
return true;
}

0 comments on commit 6395a03

Please sign in to comment.