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

Side by Side Diff: content/common/url_schemes.cc

Issue 18868005: content: Migrate from googleurl/ includes to url/ ones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | « content/common/socket_stream_messages.h ('k') | content/common/websocket_messages.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 "content/common/url_schemes.h" 5 #include "content/common/url_schemes.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/strings/string_util.h" 14 #include "base/strings/string_util.h"
15 #include "content/common/savable_url_schemes.h" 15 #include "content/common/savable_url_schemes.h"
16 #include "content/public/common/content_client.h" 16 #include "content/public/common/content_client.h"
17 #include "content/public/common/url_constants.h" 17 #include "content/public/common/url_constants.h"
18 #include "googleurl/src/url_util.h" 18 #include "url/url_util.h"
19 19
20 namespace { 20 namespace {
21 21
22 void AddStandardSchemeHelper(const std::string& scheme) { 22 void AddStandardSchemeHelper(const std::string& scheme) {
23 url_util::AddStandardScheme(scheme.c_str()); 23 url_util::AddStandardScheme(scheme.c_str());
24 } 24 }
25 25
26 } // namespace 26 } // namespace
27 27
28 namespace content { 28 namespace content {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 savable_schemes[default_schemes_count + i] = 71 savable_schemes[default_schemes_count + i] =
72 base::strdup(additional_savable_schemes[i].c_str()); 72 base::strdup(additional_savable_schemes[i].c_str());
73 } 73 }
74 savable_schemes[default_schemes_count + schemes] = 0; 74 savable_schemes[default_schemes_count + schemes] = 0;
75 75
76 SetSavableSchemes(savable_schemes); 76 SetSavableSchemes(savable_schemes);
77 } 77 }
78 } 78 }
79 79
80 } // namespace content 80 } // namespace content
OLDNEW
« no previous file with comments | « content/common/socket_stream_messages.h ('k') | content/common/websocket_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698