OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef CHROME_BROWSER_GOOGLE_APIS_AUTH_SERVICE_H_ | 5 #ifndef GOOGLE_APIS_DRIVE_AUTH_SERVICE_H_ |
6 #define CHROME_BROWSER_GOOGLE_APIS_AUTH_SERVICE_H_ | 6 #define GOOGLE_APIS_DRIVE_AUTH_SERVICE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
13 #include "base/threading/thread_checker.h" | 13 #include "base/threading/thread_checker.h" |
14 #include "chrome/browser/google_apis/auth_service_interface.h" | 14 #include "google_apis/drive/auth_service_interface.h" |
15 #include "google_apis/gaia/oauth2_token_service.h" | 15 #include "google_apis/gaia/oauth2_token_service.h" |
16 | 16 |
17 namespace net { | 17 namespace net { |
18 class URLRequestContextGetter; | 18 class URLRequestContextGetter; |
19 } | 19 } |
20 | 20 |
21 namespace google_apis { | 21 namespace google_apis { |
22 | 22 |
23 class AuthServiceObserver; | 23 class AuthServiceObserver; |
24 | 24 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 // Note: This should remain the last member so it'll be destroyed and | 75 // Note: This should remain the last member so it'll be destroyed and |
76 // invalidate its weak pointers before any other members are destroyed. | 76 // invalidate its weak pointers before any other members are destroyed. |
77 base::WeakPtrFactory<AuthService> weak_ptr_factory_; | 77 base::WeakPtrFactory<AuthService> weak_ptr_factory_; |
78 | 78 |
79 DISALLOW_COPY_AND_ASSIGN(AuthService); | 79 DISALLOW_COPY_AND_ASSIGN(AuthService); |
80 }; | 80 }; |
81 | 81 |
82 } // namespace google_apis | 82 } // namespace google_apis |
83 | 83 |
84 #endif // CHROME_BROWSER_GOOGLE_APIS_AUTH_SERVICE_H_ | 84 #endif // GOOGLE_APIS_DRIVE_AUTH_SERVICE_H_ |
OLD | NEW |