Index: Source/core/page/NavigatorID.cpp |
diff --git a/Source/core/page/NavigatorID.cpp b/Source/core/page/NavigatorID.cpp |
index 6f60f5d061006f5c2b3dcb0a5b4b94faf336b3fe..54363323ad913435bcf0baea6c596947b5942890 100644 |
--- a/Source/core/page/NavigatorID.cpp |
+++ b/Source/core/page/NavigatorID.cpp |
@@ -40,6 +40,10 @@ |
#include <sys/utsname.h> |
#endif |
+#ifndef WEBCORE_NAVIGATOR_PRODUCT |
+#define WEBCORE_NAVIGATOR_PRODUCT "Gecko" |
+#endif // ifndef WEBCORE_NAVIGATOR_PRODUCT |
+ |
namespace WebCore { |
String NavigatorID::appName(const NavigatorBase*) |
@@ -74,4 +78,14 @@ String NavigatorID::platform(const NavigatorBase*) |
#endif |
} |
+String NavigatorID::appCodeName(const NavigatorBase*) |
+{ |
+ return "Mozilla"; |
+} |
+ |
+String NavigatorID::product(const NavigatorBase*) |
+{ |
+ return WEBCORE_NAVIGATOR_PRODUCT; |
+} |
+ |
} // namespace WebCore |