Index: chrome/common/extensions/api/storage/storage_schema_manifest_handler.h |
diff --git a/chrome/common/extensions/api/storage/storage_schema_manifest_handler.h b/chrome/common/extensions/api/storage/storage_schema_manifest_handler.h |
index 15bf822b4a9c43dea359f4e8ff1a228c3b25ac65..89e0c28a9aa38e5be1f397b6094f73fcda0aacb1 100644 |
--- a/chrome/common/extensions/api/storage/storage_schema_manifest_handler.h |
+++ b/chrome/common/extensions/api/storage/storage_schema_manifest_handler.h |
@@ -9,7 +9,7 @@ |
#include "extensions/common/manifest_handler.h" |
namespace policy { |
-class SchemaOwner; |
+class Schema; |
} |
namespace extensions { |
@@ -22,11 +22,11 @@ class StorageSchemaManifestHandler : public ManifestHandler { |
#if defined(ENABLE_CONFIGURATION_POLICY) |
// Returns the managed storage schema defined for |extension|. |
- // If the schema is invalid then NULL is returned, and the failure reason |
- // is stored in |error|. |
+ // If the schema is invalid then the Schema returned is invalid too, and |
+ // the failure reason is stored in |error|. |
// This function does file I/O and must be called on a thread that allows I/O. |
- static scoped_ptr<policy::SchemaOwner> GetSchema(const Extension* extension, |
- std::string* error); |
+ static policy::Schema GetSchema(const Extension* extension, |
+ std::string* error); |
#endif |
private: |