Index: chrome/browser/policy/external_data_manager.h |
diff --git a/chrome/browser/policy/external_data_manager.h b/chrome/browser/policy/external_data_manager.h |
index 4c97f868e96f0ba905d33703bbbc6a112a360bdd..155a511051e1f850e48c224b30d1d29e4907adff 100644 |
--- a/chrome/browser/policy/external_data_manager.h |
+++ b/chrome/browser/policy/external_data_manager.h |
@@ -18,6 +18,14 @@ namespace policy { |
// references. |
class ExternalDataManager { |
public: |
+ // Retrieves the external data referenced by |policy| and invokes |callback| |
+ // with the result. If |policy| does not reference any external data, the |
+ // |callback| is invoked with a NULL pointer. Otherwise, the |callback| is |
+ // invoked with the referenced data once it has been successfully retrieved. |
+ // If retrieval is temporarily impossible (e.g. no network connectivity), the |
+ // |callback| will be invoked when the temporary hindrance is resolved. If |
+ // retrieval is permanently impossible (e.g. |policy| references data that |
+ // does not exist on the server), the |callback| will never be invoked. |
virtual void Fetch(const std::string& policy, |
const ExternalDataFetcher::FetchCallback& callback) = 0; |
}; |