Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(838)

Unified Diff: Source/core/page/NavigatorBase.h

Issue 22866014: Expose navigator.product and navigator.appCodeName constants to workers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/page/Navigator.idl ('k') | Source/core/page/NavigatorBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/NavigatorBase.h
diff --git a/Source/core/page/NavigatorBase.h b/Source/core/page/NavigatorBase.h
index cb6c81f085d31f0813d59fc42cb4f76a0b498fae..38ae2660553ee535ffef83b5ccb2d4f80602868a 100644
--- a/Source/core/page/NavigatorBase.h
+++ b/Source/core/page/NavigatorBase.h
@@ -30,18 +30,13 @@
namespace WebCore {
- class NavigatorBase {
- public:
- virtual String userAgent() const = 0;
+class NavigatorBase {
+public:
+ virtual String userAgent() const = 0;
- // FIXME: The following should be moved to NavigatorID and
- // exposed on WorkerNavigator as well.
- String appCodeName() const;
- String product() const;
-
- protected:
- virtual ~NavigatorBase();
- };
+protected:
+ virtual ~NavigatorBase() { }
+};
} // namespace WebCore
« no previous file with comments | « Source/core/page/Navigator.idl ('k') | Source/core/page/NavigatorBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698