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

Side by Side Diff: chrome/browser/drive/drive_api_util.cc

Issue 24649002: Clean up a few more unused globals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: thestig comment Created 7 years, 2 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
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/logging.h" 10 #include "base/logging.h"
(...skipping 10 matching lines...) Expand all
21 #include "third_party/re2/re2/re2.h" 21 #include "third_party/re2/re2/re2.h"
22 #include "url/gurl.h" 22 #include "url/gurl.h"
23 23
24 namespace drive { 24 namespace drive {
25 namespace util { 25 namespace util {
26 namespace { 26 namespace {
27 27
28 // Google Apps MIME types: 28 // Google Apps MIME types:
29 const char kGoogleDocumentMimeType[] = "application/vnd.google-apps.document"; 29 const char kGoogleDocumentMimeType[] = "application/vnd.google-apps.document";
30 const char kGoogleDrawingMimeType[] = "application/vnd.google-apps.drawing"; 30 const char kGoogleDrawingMimeType[] = "application/vnd.google-apps.drawing";
31 const char kGoogleFormMimeType[] = "application/vnd.google-apps.form";
32 const char kGooglePresentationMimeType[] = 31 const char kGooglePresentationMimeType[] =
33 "application/vnd.google-apps.presentation"; 32 "application/vnd.google-apps.presentation";
34 const char kGoogleScriptMimeType[] = "application/vnd.google-apps.script";
35 const char kGoogleSiteMimeType[] = "application/vnd.google-apps.site";
36 const char kGoogleSpreadsheetMimeType[] = 33 const char kGoogleSpreadsheetMimeType[] =
37 "application/vnd.google-apps.spreadsheet"; 34 "application/vnd.google-apps.spreadsheet";
38 const char kGoogleTableMimeType[] = "application/vnd.google-apps.table"; 35 const char kGoogleTableMimeType[] = "application/vnd.google-apps.table";
39 36
40 ScopedVector<std::string> CopyScopedVectorString( 37 ScopedVector<std::string> CopyScopedVectorString(
41 const ScopedVector<std::string>& source) { 38 const ScopedVector<std::string>& source) {
42 ScopedVector<std::string> result; 39 ScopedVector<std::string> result;
43 result.reserve(source.size()); 40 result.reserve(source.size());
44 for (size_t i = 0; i < source.size(); ++i) 41 for (size_t i = 0; i < source.size(); ++i)
45 result.push_back(new std::string(*source[i])); 42 result.push_back(new std::string(*source[i]));
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 } 522 }
526 feed->set_links(links.Pass()); 523 feed->set_links(links.Pass());
527 524
528 return feed.Pass(); 525 return feed.Pass();
529 } 526 }
530 527
531 const char kWapiRootDirectoryResourceId[] = "folder:root"; 528 const char kWapiRootDirectoryResourceId[] = "folder:root";
532 529
533 } // namespace util 530 } // namespace util
534 } // namespace drive 531 } // namespace drive
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698