| 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_CHROMEOS_POLICY_USER_POLICY_TOKEN_LOADER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_USER_POLICY_TOKEN_LOADER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_POLICY_USER_POLICY_TOKEN_LOADER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_POLICY_USER_POLICY_TOKEN_LOADER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 | 14 |
| 15 namespace base { | 15 namespace base { |
| 16 class SequencedTaskRunner; | 16 class SequencedTaskRunner; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace policy { | 19 namespace policy { |
| 20 | 20 |
| 21 // Handles disk access and threading details for loading and storing tokens. | 21 // Handles disk access and threading details for loading and storing tokens. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 const base::FilePath cache_file_; | 54 const base::FilePath cache_file_; |
| 55 scoped_refptr<base::SequencedTaskRunner> origin_task_runner_; | 55 scoped_refptr<base::SequencedTaskRunner> origin_task_runner_; |
| 56 scoped_refptr<base::SequencedTaskRunner> background_task_runner_; | 56 scoped_refptr<base::SequencedTaskRunner> background_task_runner_; |
| 57 | 57 |
| 58 DISALLOW_COPY_AND_ASSIGN(UserPolicyTokenLoader); | 58 DISALLOW_COPY_AND_ASSIGN(UserPolicyTokenLoader); |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 } // namespace policy | 61 } // namespace policy |
| 62 | 62 |
| 63 #endif // CHROME_BROWSER_CHROMEOS_POLICY_USER_POLICY_TOKEN_LOADER_H_ | 63 #endif // CHROME_BROWSER_CHROMEOS_POLICY_USER_POLICY_TOKEN_LOADER_H_ |
| OLD | NEW |