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

Side by Side Diff: net/base/mime_util.cc

Issue 16667019: Rename base/hash_tables to base/containers/hash_tables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/base/linked_hash_map.h ('k') | net/base/platform_mime_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <algorithm> 5 #include <algorithm>
6 #include <iterator> 6 #include <iterator>
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 9
10 #include "net/base/mime_util.h" 10 #include "base/containers/hash_tables.h"
11 #include "net/base/platform_mime_util.h"
12
13 #include "base/hash_tables.h"
14 #include "base/lazy_instance.h" 11 #include "base/lazy_instance.h"
15 #include "base/logging.h" 12 #include "base/logging.h"
16 #include "base/string_util.h" 13 #include "base/string_util.h"
17 #include "base/strings/string_split.h" 14 #include "base/strings/string_split.h"
18 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
16 #include "net/base/mime_util.h"
17 #include "net/base/platform_mime_util.h"
19 18
20 using std::string; 19 using std::string;
21 20
22 namespace { 21 namespace {
23 22
24 struct MediaType { 23 struct MediaType {
25 const char name[12]; 24 const char name[12];
26 const char matcher[13]; 25 const char matcher[13];
27 }; 26 };
28 27
(...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 post_data->append("\r\n" + value + "\r\n"); 1002 post_data->append("\r\n" + value + "\r\n");
1004 } 1003 }
1005 1004
1006 void AddMultipartFinalDelimiterForUpload(const std::string& mime_boundary, 1005 void AddMultipartFinalDelimiterForUpload(const std::string& mime_boundary,
1007 std::string* post_data) { 1006 std::string* post_data) {
1008 DCHECK(post_data); 1007 DCHECK(post_data);
1009 post_data->append("--" + mime_boundary + "--\r\n"); 1008 post_data->append("--" + mime_boundary + "--\r\n");
1010 } 1009 }
1011 1010
1012 } // namespace net 1011 } // namespace net
OLDNEW
« no previous file with comments | « net/base/linked_hash_map.h ('k') | net/base/platform_mime_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698