summaryrefslogtreecommitdiffstats
path: root/src/core/common/extensions
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-08-01 15:42:46 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-10-11 10:15:13 +0200
commit687671d249613bb2b00570f93df35fcaa0eacdd3 (patch)
tree3e103acb3c30a8edbbec856cdc6063349db4548d /src/core/common/extensions
parenta3b6dfc0989227b3519daae817ec4fc420cd7016 (diff)
Adaptations for Chromium 76
Change-Id: Id6d18a3854b572334dc1d65f1916b8991a740cd2 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'src/core/common/extensions')
-rw-r--r--src/core/common/extensions/extensions_client_qt.cpp14
-rw-r--r--src/core/common/extensions/extensions_client_qt.h9
2 files changed, 0 insertions, 23 deletions
diff --git a/src/core/common/extensions/extensions_client_qt.cpp b/src/core/common/extensions/extensions_client_qt.cpp
index 6c6200eb0..dd1de1483 100644
--- a/src/core/common/extensions/extensions_client_qt.cpp
+++ b/src/core/common/extensions/extensions_client_qt.cpp
@@ -135,20 +135,6 @@ bool ExtensionsClientQt::IsScriptableURL(const GURL &url, std::string *error) co
return true;
}
-// Determines if certain fatal extensions errors should be surpressed
-// (i.e., only logged) or allowed (i.e., logged before crashing).
-bool ExtensionsClientQt::ShouldSuppressFatalErrors() const
-{
- return true;
-}
-
-// Records that a fatal error was caught and suppressed. It is expected that
-// embedders will only do so if ShouldSuppressFatalErrors at some point
-// returned true.
-void ExtensionsClientQt::RecordDidSuppressFatalError()
-{
-}
-
// Returns the base webstore URL prefix.
const GURL &ExtensionsClientQt::GetWebstoreBaseURL() const
{
diff --git a/src/core/common/extensions/extensions_client_qt.h b/src/core/common/extensions/extensions_client_qt.h
index 657487277..e689f76b7 100644
--- a/src/core/common/extensions/extensions_client_qt.h
+++ b/src/core/common/extensions/extensions_client_qt.h
@@ -102,15 +102,6 @@ public:
// Returns false if content scripts are forbidden from running on |url|.
bool IsScriptableURL(const GURL &url, std::string *error) const override;
- // Determines if certain fatal extensions errors should be surpressed
- // (i.e., only logged) or allowed (i.e., logged before crashing).
- bool ShouldSuppressFatalErrors() const override;
-
- // Records that a fatal error was caught and suppressed. It is expected that
- // embedders will only do so if ShouldSuppressFatalErrors at some point
- // returned true.
- void RecordDidSuppressFatalError() override;
-
// Returns the base webstore URL prefix.
const GURL &GetWebstoreBaseURL() const override;