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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc

Issue 21131003: c++11 ud suffix fixes for cros dbus files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 | « no previous file | chrome/browser/ui/webui/chromeos/drive_internals_ui.cc » ('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 "chrome/browser/chromeos/extensions/file_manager/file_browser_private_a pi.h" 5 #include "chrome/browser/chromeos/extensions/file_manager/file_browser_private_a pi.h"
6 6
7 #include <sys/stat.h> 7 #include <sys/stat.h>
8 #include <sys/statvfs.h> 8 #include <sys/statvfs.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 #include <utime.h> 10 #include <utime.h>
(...skipping 1643 matching lines...) Expand 10 before | Expand all | Expand 10 after
1654 it != mount_points.end(); 1654 it != mount_points.end();
1655 ++it) { 1655 ++it) {
1656 mounts->Append(CreateValueFromMountPoint(profile_, it->second, 1656 mounts->Append(CreateValueFromMountPoint(profile_, it->second,
1657 extension_->id(), source_url_)); 1657 extension_->id(), source_url_));
1658 log_string += separator + it->first; 1658 log_string += separator + it->first;
1659 separator = ", "; 1659 separator = ", ";
1660 } 1660 }
1661 1661
1662 log_string += "]"; 1662 log_string += "]";
1663 1663
1664 drive::util::Log("%s[%d] succeeded. (results: '%s', %"PRIuS" mount points)", 1664 drive::util::Log("%s[%d] succeeded. (results: '%s', %" PRIuS " mount points)",
1665 name().c_str(), 1665 name().c_str(),
1666 request_id(), 1666 request_id(),
1667 log_string.c_str(), 1667 log_string.c_str(),
1668 mount_points.size()); 1668 mount_points.size());
1669 1669
1670 SendResponse(true); 1670 SendResponse(true);
1671 return true; 1671 return true;
1672 } 1672 }
1673 1673
1674 SetLastModifiedFunction::SetLastModifiedFunction() { 1674 SetLastModifiedFunction::SetLastModifiedFunction() {
(...skipping 1585 matching lines...) Expand 10 before | Expand all | Expand 10 after
3260 const GURL& share_url) { 3260 const GURL& share_url) {
3261 if (error != drive::FILE_ERROR_OK) { 3261 if (error != drive::FILE_ERROR_OK) {
3262 error_ = "Share Url for this item is not available."; 3262 error_ = "Share Url for this item is not available.";
3263 SendResponse(false); 3263 SendResponse(false);
3264 return; 3264 return;
3265 } 3265 }
3266 3266
3267 SetResult(new base::StringValue(share_url.spec())); 3267 SetResult(new base::StringValue(share_url.spec()));
3268 SendResponse(true); 3268 SendResponse(true);
3269 } 3269 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chromeos/drive_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698