OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/google_apis/dummy_auth_service.h" | 5 #include "google_apis/drive/dummy_auth_service.h" |
6 | 6 |
7 namespace google_apis { | 7 namespace google_apis { |
8 | 8 |
9 DummyAuthService::DummyAuthService() { | 9 DummyAuthService::DummyAuthService() { |
10 set_access_token("dummy"); | 10 set_access_token("dummy"); |
11 set_refresh_token("dummy"); | 11 set_refresh_token("dummy"); |
12 } | 12 } |
13 | 13 |
14 void DummyAuthService::AddObserver(AuthServiceObserver* observer) { | 14 void DummyAuthService::AddObserver(AuthServiceObserver* observer) { |
15 } | 15 } |
(...skipping 18 matching lines...) Expand all Loading... |
34 | 34 |
35 void DummyAuthService::ClearAccessToken() { | 35 void DummyAuthService::ClearAccessToken() { |
36 access_token_.clear(); | 36 access_token_.clear(); |
37 } | 37 } |
38 | 38 |
39 void DummyAuthService::ClearRefreshToken() { | 39 void DummyAuthService::ClearRefreshToken() { |
40 refresh_token_.clear(); | 40 refresh_token_.clear(); |
41 } | 41 } |
42 | 42 |
43 } // namespace google_apis | 43 } // namespace google_apis |
OLD | NEW |