naiveproxy/net/base/filename_util_icu_dummy.cc
2018-01-28 13:34:20 -05:00

46 lines
1.4 KiB
C++

// Copyright 2014 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 "net/base/filename_util.h"
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/strings/string16.h"
class GURL;
namespace net {
bool IsSafePortablePathComponent(const base::FilePath& component) {
NOTIMPLEMENTED();
return false;
}
bool IsSafePortableRelativePath(const base::FilePath& path) {
NOTIMPLEMENTED();
return false;
}
base::string16 GetSuggestedFilename(const GURL& url,
const std::string& content_disposition,
const std::string& referrer_charset,
const std::string& suggested_name,
const std::string& mime_type,
const std::string& default_name) {
NOTIMPLEMENTED();
return base::string16();
}
base::FilePath GenerateFileName(const GURL& url,
const std::string& content_disposition,
const std::string& referrer_charset,
const std::string& suggested_name,
const std::string& mime_type,
const std::string& default_file_name) {
NOTIMPLEMENTED();
return base::FilePath();
}
} // namespace net