| 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 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_CLOUD_EXTERNAL_DATA_STORE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_CLOUD_EXTERNAL_DATA_STORE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_POLICY_CLOUD_EXTERNAL_DATA_STORE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_POLICY_CLOUD_EXTERNAL_DATA_STORE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 12 #include "chrome/browser/policy/cloud/cloud_external_data_manager.h" | 12 #include "components/policy/core/common/cloud/cloud_external_data_manager.h" |
| 13 | 13 |
| 14 namespace base { | 14 namespace base { |
| 15 class SequencedTaskRunner; | 15 class SequencedTaskRunner; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace policy { | 18 namespace policy { |
| 19 | 19 |
| 20 class ResourceCache; | 20 class ResourceCache; |
| 21 | 21 |
| 22 // Stores external data referenced by policies. Data is keyed by (policy, hash), | 22 // Stores external data referenced by policies. Data is keyed by (policy, hash), |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 scoped_refptr<base::SequencedTaskRunner> task_runner_; | 61 scoped_refptr<base::SequencedTaskRunner> task_runner_; |
| 62 | 62 |
| 63 ResourceCache* cache_; // Not owned. | 63 ResourceCache* cache_; // Not owned. |
| 64 | 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(CloudExternalDataStore); | 65 DISALLOW_COPY_AND_ASSIGN(CloudExternalDataStore); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace policy | 68 } // namespace policy |
| 69 | 69 |
| 70 #endif // CHROME_BROWSER_CHROMEOS_POLICY_CLOUD_EXTERNAL_DATA_STORE_H_ | 70 #endif // CHROME_BROWSER_CHROMEOS_POLICY_CLOUD_EXTERNAL_DATA_STORE_H_ |
| OLD | NEW |