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

Side by Side Diff: google_apis/drive/time_util.cc

Issue 96413002: Move c/b/google_apis to google_apis/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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 | « google_apis/drive/time_util.h ('k') | google_apis/drive/time_util_unittest.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/google_apis/time_util.h" 5 #include "google_apis/drive/time_util.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 14
15 namespace google_apis { 15 namespace google_apis {
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 base::Time::Exploded exploded; 161 base::Time::Exploded exploded;
162 time.LocalExplode(&exploded); 162 time.LocalExplode(&exploded);
163 return base::StringPrintf( 163 return base::StringPrintf(
164 "%04d-%02d-%02dT%02d:%02d:%02d.%03d", 164 "%04d-%02d-%02dT%02d:%02d:%02d.%03d",
165 exploded.year, exploded.month, exploded.day_of_month, 165 exploded.year, exploded.month, exploded.day_of_month,
166 exploded.hour, exploded.minute, exploded.second, exploded.millisecond); 166 exploded.hour, exploded.minute, exploded.second, exploded.millisecond);
167 } 167 }
168 168
169 } // namespace util 169 } // namespace util
170 } // namespace google_apis 170 } // namespace google_apis
OLDNEW
« no previous file with comments | « google_apis/drive/time_util.h ('k') | google_apis/drive/time_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698