OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_POLICY_USER_POLICY_TOKEN_CACHE_H_ | 5 #ifndef CHROME_BROWSER_POLICY_USER_POLICY_TOKEN_CACHE_H_ |
6 #define CHROME_BROWSER_POLICY_USER_POLICY_TOKEN_CACHE_H_ | 6 #define CHROME_BROWSER_POLICY_USER_POLICY_TOKEN_CACHE_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/file_path.h" | 11 #include "base/file_path.h" |
13 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
14 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
15 #include "chrome/browser/policy/cloud_policy_data_store.h" | 14 #include "chrome/browser/policy/cloud_policy_data_store.h" |
16 | 15 |
17 namespace policy { | 16 namespace policy { |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 // The current token in the cache. Upon new token notifications, we compare | 81 // The current token in the cache. Upon new token notifications, we compare |
83 // against this in order to avoid writing the file when there's no change. | 82 // against this in order to avoid writing the file when there's no change. |
84 std::string token_; | 83 std::string token_; |
85 | 84 |
86 DISALLOW_COPY_AND_ASSIGN(UserPolicyTokenCache); | 85 DISALLOW_COPY_AND_ASSIGN(UserPolicyTokenCache); |
87 }; | 86 }; |
88 | 87 |
89 } // namespace policy | 88 } // namespace policy |
90 | 89 |
91 #endif // CHROME_BROWSER_POLICY_USER_POLICY_TOKEN_CACHE_H_ | 90 #endif // CHROME_BROWSER_POLICY_USER_POLICY_TOKEN_CACHE_H_ |
OLD | NEW |