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

Unified Diff: chrome/browser/google_apis/dummy_auth_service.cc

Issue 96413002: Move c/b/google_apis to google_apis/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/google_apis/dummy_auth_service.cc
diff --git a/chrome/browser/google_apis/dummy_auth_service.cc b/chrome/browser/google_apis/dummy_auth_service.cc
deleted file mode 100644
index d5ceb76a91954d803740c82cd7945f8371fe774b..0000000000000000000000000000000000000000
--- a/chrome/browser/google_apis/dummy_auth_service.cc
+++ /dev/null
@@ -1,43 +0,0 @@
-// 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 "chrome/browser/google_apis/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
« no previous file with comments | « chrome/browser/google_apis/dummy_auth_service.h ('k') | chrome/browser/google_apis/gdata_contacts_requests.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698