mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
46 lines
1.4 KiB
C++
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
|