summaryrefslogtreecommitdiffstats
path: root/ceee/testing
diff options
context:
space:
mode:
Diffstat (limited to 'ceee/testing')
-rw-r--r--ceee/testing/utils/test_utils.cc5
-rw-r--r--ceee/testing/utils/test_utils.h3
2 files changed, 5 insertions, 3 deletions
diff --git a/ceee/testing/utils/test_utils.cc b/ceee/testing/utils/test_utils.cc
index 48e522a..c55588d 100644
--- a/ceee/testing/utils/test_utils.cc
+++ b/ceee/testing/utils/test_utils.cc
@@ -57,8 +57,9 @@ HRESULT GetConnectionCount(IUnknown* container,
return E_UNEXPECTED;
}
-
-bool LogDisabler::DropMessageHandler(int severity, const std::string& str) {
+bool LogDisabler::DropMessageHandler(int severity, const char* file, int line,
+ size_t message_start, const std::string& str) {
+ // Message is handled, no further processing.
return true;
}
diff --git a/ceee/testing/utils/test_utils.h b/ceee/testing/utils/test_utils.h
index 55582be..a51ca63 100644
--- a/ceee/testing/utils/test_utils.h
+++ b/ceee/testing/utils/test_utils.h
@@ -68,7 +68,8 @@ class LogDisabler {
private:
logging::LogMessageHandlerFunction old_handler_;
- static bool DropMessageHandler(int severity, const std::string& str);
+ static bool DropMessageHandler(int severity, const char* file, int line,
+ size_t message_start, const std::string& str);
};
// Overrides a path in the PathService singleton, replacing the