[WRTjs] Fix build warning 55/307255/2
authorzhaosy <shiyusy.zhao@samsung.com>
Wed, 6 Mar 2024 09:56:57 +0000 (17:56 +0800)
committerBot Blink <blinkbot@samsung.com>
Thu, 7 Mar 2024 02:44:56 +0000 (02:44 +0000)
  Fix build warning

Change-Id: I53fa73ff611c8c4ff0bb366839999acb5bd610bc
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
wrt/src/browser/net/wrt_proxying_url_loader_factory.h
wrt/src/common/wrt_profile_delegate.h [changed mode: 0755->0644]

index 611c323..3d52ce7 100755 (executable)
@@ -16,8 +16,8 @@ class WRTProxyingURL {
   WRTProxyingURL(GURL url, bool encrypted = false) {
     url_ = url;
     encrypted_ = encrypted;
-  };
-  ~WRTProxyingURL() {};
+  }
+  ~WRTProxyingURL() {}
 
   GURL url() { return url_; }
   bool encrypted() { return encrypted_; }
old mode 100755 (executable)
new mode 100644 (file)
index f7dcbe6..be324aa
@@ -20,7 +20,7 @@ class WRTProfileDelegate {
   virtual void DidInitialized() {}
   virtual void Finalize() {}
 
-  virtual bool BlockNavigation(const std::string& url) {}
+  virtual bool BlockNavigation(const std::string& url) { return false; }
   virtual void GetUserDataPath(base::FilePath& data_path) {}
   virtual void HandleLowMemory() {}
   virtual bool IsAccessibilityMode() { return false; }