Index: chrome/common/extensions/extension.cc |
diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc |
index 2cc7c127384022e1a7cd0f4a8f7f755b8074c62a..56d6924283b2ce175a5aa4fbd56608931ba25df1 100644 |
--- a/chrome/common/extensions/extension.cc |
+++ b/chrome/common/extensions/extension.cc |
@@ -382,6 +382,15 @@ GURL Extension::GetBackgroundURL() const { |
} |
} |
+bool Extension::RequiresSeparateUserDataDirectory() const { |
+ // Currently separate data directories are only supported on Mac OSX. |
+#if defined(OS_MACOSX) |
+ return is_platform_app(); |
+#else |
+ return false; |
+#endif |
+} |
+ |
bool Extension::IsResourceWebAccessible(const std::string& relative_path) |
const { |
// For old manifest versions which do not specify web_accessible_resources |