Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(342)

Unified Diff: net/base/filename_util_unsafe.h

Issue 1008873006: [net] Remove logic for fixing up Gzip encoding type for downloads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a basic test Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/filename_util_internal.h ('k') | net/base/filename_util_unsafe.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/filename_util_unsafe.h
diff --git a/net/base/filename_util_unsafe.h b/net/base/filename_util_unsafe.h
deleted file mode 100644
index 5ca7d7bbf8f93a4bccea7965455c1167dbf19cdc..0000000000000000000000000000000000000000
--- a/net/base/filename_util_unsafe.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// 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.
-
-#ifndef NET_BASE_FILENAME_UTIL_UNSAFE_H_
-#define NET_BASE_FILENAME_UTIL_UNSAFE_H_
-
-#include <string>
-
-#include "base/files/file_path.h"
-#include "base/strings/string16.h"
-#include "net/base/net_export.h"
-
-class GURL;
-
-namespace net {
-
-// Extract extension from FilePath generated by GenerateFileName(), but without
-// replacing illegal characters. Does not depend on ICU.
-NET_EXPORT base::FilePath::StringType GenerateFileExtensionUnsafe(
- 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);
-
-} // namespace net
-
-#endif // NET_BASE_FILENAME_UTIL_UNSAFE_H_
« no previous file with comments | « net/base/filename_util_internal.h ('k') | net/base/filename_util_unsafe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698