Fix build break
[chromium-blink-merge.git] / chrome / browser / google_apis / drive_api_util.cc
blobc8f03d4f242b145619c93c845f425816f0f63ed1
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 {
11 namespace util {
13 bool IsDriveV2ApiEnabled() {
14 return CommandLine::ForCurrentProcess()->HasSwitch(
15 switches::kEnableDriveV2Api);
18 } // namespace util
19 } // namespace google_apis