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
3 // found in the LICENSE file.
5 #include "chrome/browser/google_apis/drive_api_util.h"
7 #include "base/command_line.h"
8 #include "chrome/browser/google_apis/drive_switches.h"
10 namespace google_apis
{
13 bool IsDriveV2ApiEnabled() {
14 return CommandLine::ForCurrentProcess()->HasSwitch(
15 switches::kEnableDriveV2Api
);
19 } // namespace google_apis