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

Side by Side Diff: chrome/browser/chromeos/file_manager/url_util.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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 "chrome/browser/chromeos/file_manager/url_util.h" 5 #include "chrome/browser/chromeos/file_manager/url_util.h"
6 6
7 #include <stddef.h>
8
7 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
8 #include "base/values.h" 10 #include "base/values.h"
9 #include "chrome/browser/chromeos/file_manager/app_id.h" 11 #include "chrome/browser/chromeos/file_manager/app_id.h"
10 #include "net/base/escape.h" 12 #include "net/base/escape.h"
11 13
12 namespace file_manager { 14 namespace file_manager {
13 namespace util { 15 namespace util {
14 namespace { 16 namespace {
15 17
16 // Returns a file manager URL for the given |path|. 18 // Returns a file manager URL for the given |path|.
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 base::JSONWriter::Write(arg_value, &json_args); 116 base::JSONWriter::Write(arg_value, &json_args);
115 117
116 std::string url = GetFileManagerMainPageUrl().spec() + '?' + 118 std::string url = GetFileManagerMainPageUrl().spec() + '?' +
117 net::EscapeUrlEncodedData(json_args, 119 net::EscapeUrlEncodedData(json_args,
118 false); // Space to %20 instead of +. 120 false); // Space to %20 instead of +.
119 return GURL(url); 121 return GURL(url);
120 } 122 }
121 123
122 } // namespace util 124 } // namespace util
123 } // namespace file_manager 125 } // namespace file_manager
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/file_manager/snapshot_manager.cc ('k') | chrome/browser/chromeos/file_manager/volume_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698