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

Side by Side Diff: chrome/browser/drive/drive_api_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 | « chrome/browser/drive/drive_api_util.h ('k') | chrome/browser/drive/drive_api_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/drive/drive_api_util.h" 5 #include "chrome/browser/drive/drive_api_util.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/scoped_platform_file_closer.h" 10 #include "base/files/scoped_platform_file_closer.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/md5.h" 12 #include "base/md5.h"
13 #include "base/platform_file.h" 13 #include "base/platform_file.h"
14 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
15 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
16 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
17 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
18 #include "base/values.h" 18 #include "base/values.h"
19 #include "chrome/browser/drive/drive_switches.h" 19 #include "chrome/browser/drive/drive_switches.h"
20 #include "chrome/browser/google_apis/drive_api_parser.h"
21 #include "chrome/browser/google_apis/gdata_wapi_parser.h"
22 #include "content/public/browser/browser_thread.h" 20 #include "content/public/browser/browser_thread.h"
21 #include "google_apis/drive/drive_api_parser.h"
22 #include "google_apis/drive/gdata_wapi_parser.h"
23 #include "net/base/escape.h" 23 #include "net/base/escape.h"
24 #include "third_party/re2/re2/re2.h" 24 #include "third_party/re2/re2/re2.h"
25 #include "url/gurl.h" 25 #include "url/gurl.h"
26 26
27 namespace drive { 27 namespace drive {
28 namespace util { 28 namespace util {
29 namespace { 29 namespace {
30 30
31 // Google Apps MIME types: 31 // Google Apps MIME types:
32 const char kGoogleDocumentMimeType[] = "application/vnd.google-apps.document"; 32 const char kGoogleDocumentMimeType[] = "application/vnd.google-apps.document";
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 590
591 base::MD5Digest digest; 591 base::MD5Digest digest;
592 base::MD5Final(&digest, &context); 592 base::MD5Final(&digest, &context);
593 return MD5DigestToBase16(digest); 593 return MD5DigestToBase16(digest);
594 } 594 }
595 595
596 const char kWapiRootDirectoryResourceId[] = "folder:root"; 596 const char kWapiRootDirectoryResourceId[] = "folder:root";
597 597
598 } // namespace util 598 } // namespace util
599 } // namespace drive 599 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/drive/drive_api_util.h ('k') | chrome/browser/drive/drive_api_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698