summaryrefslogtreecommitdiffstats
path: root/chrome/browser/drive
diff options
context:
space:
mode:
authorhidehiko@chromium.org <hidehiko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-20 14:16:19 +0000
committerhidehiko@chromium.org <hidehiko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-20 14:16:19 +0000
commit07393ab1fd6ddefe339ebd88f564807be0b4e31e (patch)
tree8a90ee4d03fcf853f52e76e685ba63a142e35e6a /chrome/browser/drive
parentad04625d03e519489873f2c7dd3749a5e99ab272 (diff)
downloadchromium_src-07393ab1fd6ddefe339ebd88f564807be0b4e31e.zip
chromium_src-07393ab1fd6ddefe339ebd88f564807be0b4e31e.tar.gz
chromium_src-07393ab1fd6ddefe339ebd88f564807be0b4e31e.tar.bz2
Enables Drive API v2.
As Drive server gets ready, this CL enables Drive API v2 by default. BUG=240160 TEST=Ran unit_tests, browser_tests --gtest_filter="*FileSystemExtensionApiTest*:*FileManagerBrowserTest*", and tested manually. Review URL: https://chromiumcodereview.appspot.com/23149003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218482 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/drive')
-rw-r--r--chrome/browser/drive/drive_api_util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/drive/drive_api_util.cc b/chrome/browser/drive/drive_api_util.cc
index cd11548..169bdac 100644
--- a/chrome/browser/drive/drive_api_util.cc
+++ b/chrome/browser/drive/drive_api_util.cc
@@ -26,9 +26,9 @@ namespace util {
bool IsDriveV2ApiEnabled() {
const CommandLine* command_line = CommandLine::ForCurrentProcess();
- // Disable Drive API v2 by default.
+ // Enable Drive API v2 by default.
if (!command_line->HasSwitch(switches::kEnableDriveV2Api))
- return false;
+ return true;
std::string value =
command_line->GetSwitchValueASCII(switches::kEnableDriveV2Api);