| 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_SYNC_CREDENTIAL_CACHE_SERVICE_WIN_H_ | 5 #ifndef CHROME_BROWSER_SYNC_CREDENTIAL_CACHE_SERVICE_WIN_H_ |
| 6 #define CHROME_BROWSER_SYNC_CREDENTIAL_CACHE_SERVICE_WIN_H_ | 6 #define CHROME_BROWSER_SYNC_CREDENTIAL_CACHE_SERVICE_WIN_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/cancelable_callback.h" | 11 #include "base/cancelable_callback.h" |
| 12 #include "base/file_path.h" | 12 #include "base/file_path.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "chrome/browser/api/prefs/pref_change_registrar.h" | 15 #include "base/prefs/json_pref_store.h" |
| 16 #include "base/prefs/public/pref_change_registrar.h" |
| 16 #include "chrome/browser/profiles/profile_keyed_service.h" | 17 #include "chrome/browser/profiles/profile_keyed_service.h" |
| 17 #include "chrome/browser/sync/sync_prefs.h" | 18 #include "chrome/browser/sync/sync_prefs.h" |
| 18 #include "chrome/common/json_pref_store.h" | |
| 19 #include "content/public/browser/notification_observer.h" | 19 #include "content/public/browser/notification_observer.h" |
| 20 #include "content/public/browser/notification_registrar.h" | 20 #include "content/public/browser/notification_registrar.h" |
| 21 | 21 |
| 22 namespace base { | 22 namespace base { |
| 23 class StringValue; | 23 class StringValue; |
| 24 class Value; | 24 class Value; |
| 25 } | 25 } |
| 26 | 26 |
| 27 class Profile; | 27 class Profile; |
| 28 | 28 |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 // Used to make sure that there is always at most one future read scheduled | 310 // Used to make sure that there is always at most one future read scheduled |
| 311 // on the alternate credential cache. | 311 // on the alternate credential cache. |
| 312 base::CancelableClosure next_read_; | 312 base::CancelableClosure next_read_; |
| 313 | 313 |
| 314 DISALLOW_COPY_AND_ASSIGN(CredentialCacheService); | 314 DISALLOW_COPY_AND_ASSIGN(CredentialCacheService); |
| 315 }; | 315 }; |
| 316 | 316 |
| 317 } // namespace syncer | 317 } // namespace syncer |
| 318 | 318 |
| 319 #endif // CHROME_BROWSER_SYNC_CREDENTIAL_CACHE_SERVICE_WIN_H_ | 319 #endif // CHROME_BROWSER_SYNC_CREDENTIAL_CACHE_SERVICE_WIN_H_ |
| OLD | NEW |