Move c/b/google_apis to google_apis/drive.

BUG=146989
[email protected], [email protected], [email protected]
[email protected]

Review URL: https://codereview.chromium.org/96413002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238306 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/google_apis/drive/dummy_auth_service.cc b/google_apis/drive/dummy_auth_service.cc
new file mode 100644
index 0000000..e1b6891
--- /dev/null
+++ b/google_apis/drive/dummy_auth_service.cc
@@ -0,0 +1,43 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "google_apis/drive/dummy_auth_service.h"
+
+namespace google_apis {
+
+DummyAuthService::DummyAuthService() {
+  set_access_token("dummy");
+  set_refresh_token("dummy");
+}
+
+void DummyAuthService::AddObserver(AuthServiceObserver* observer) {
+}
+
+void DummyAuthService::RemoveObserver(AuthServiceObserver* observer) {
+}
+
+void DummyAuthService::StartAuthentication(const AuthStatusCallback& callback) {
+}
+
+bool DummyAuthService::HasAccessToken() const {
+  return !access_token_.empty();
+}
+
+bool DummyAuthService::HasRefreshToken() const {
+  return !refresh_token_.empty();
+}
+
+const std::string& DummyAuthService::access_token() const {
+  return access_token_;
+}
+
+void DummyAuthService::ClearAccessToken() {
+  access_token_.clear();
+}
+
+void DummyAuthService::ClearRefreshToken() {
+  refresh_token_.clear();
+}
+
+}  // namespace google_apis