Chromium Code Reviews| Index: components/policy/core/common/external_data_manager.h |
| diff --git a/chrome/browser/policy/external_data_manager.h b/components/policy/core/common/external_data_manager.h |
| similarity index 78% |
| rename from chrome/browser/policy/external_data_manager.h |
| rename to components/policy/core/common/external_data_manager.h |
| index 155a511051e1f850e48c224b30d1d29e4907adff..406cf596bb99bf5e0fc5f9c3e8bbd88b61103788 100644 |
| --- a/chrome/browser/policy/external_data_manager.h |
| +++ b/components/policy/core/common/external_data_manager.h |
| @@ -2,12 +2,13 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef CHROME_BROWSER_POLICY_EXTERNAL_DATA_MANAGER_H_ |
| -#define CHROME_BROWSER_POLICY_EXTERNAL_DATA_MANAGER_H_ |
| +#ifndef COMPONENTS_POLICY_CORE_COMMON_EXTERNAL_DATA_MANAGER_H_ |
| +#define COMPONENTS_POLICY_CORE_COMMON_EXTERNAL_DATA_MANAGER_H_ |
| #include <string> |
| -#include "chrome/browser/policy/external_data_fetcher.h" |
| +#include "components/policy/core/common/external_data_fetcher.h" |
| +#include "components/policy/policy_export.h" |
| namespace policy { |
| @@ -16,7 +17,7 @@ namespace policy { |
| // An implementation of this abstract interface should be provided for each |
| // policy source (cloud policy, platform policy) that supports external data |
| // references. |
| -class ExternalDataManager { |
| +class POLICY_EXPORT ExternalDataManager { |
|
jochen (gone - plz use gerrit)
2013/11/21 13:55:25
you don't need to export pure virtual interfaces
dconnelly
2013/11/21 14:04:24
Done.
|
| public: |
| // Retrieves the external data referenced by |policy| and invokes |callback| |
| // with the result. If |policy| does not reference any external data, the |
| @@ -32,4 +33,4 @@ class ExternalDataManager { |
| } // namespace policy |
| -#endif // CHROME_BROWSER_POLICY_EXTERNAL_DATA_MANAGER_H_ |
| +#endif // COMPONENTS_POLICY_CORE_COMMON_EXTERNAL_DATA_MANAGER_H_ |