fix include paths

PiperOrigin-RevId: 525315412
This commit is contained in:
Hai Shang
2023-04-18 19:21:36 -07:00
committed by Copybara-Service
parent f300012bcd
commit f1a1a7510b
8 changed files with 10 additions and 26 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
#include <vector>
#ifdef NEARBY_CHROMIUM
#include "base/check.h"
#include "internal/platform/logging.h"
#elif defined(NEARBY_SWIFTPM)
#include "internal/platform/logging.h"
#else
+1 -1
View File
@@ -24,7 +24,7 @@
#include <vector>
#ifdef NEARBY_CHROMIUM
#include "base/check.h"
#include "internal/platform/logging.h"
#elif defined(NEARBY_SWIFTPM)
#include "internal/platform/logging.h"
#else
+1 -1
View File
@@ -23,7 +23,7 @@
#include <vector>
#ifdef NEARBY_CHROMIUM
#include "base/check.h"
#include "internal/platform/logging.h"
#elif defined(NEARBY_SWIFTPM)
#include "internal/platform/logging.h"
#else
+1 -1
View File
@@ -20,7 +20,7 @@
#include <string>
#ifdef NEARBY_CHROMIUM
#include "base/check.h"
#include "internal/platform/logging.h"
#elif defined(NEARBY_SWIFTPM)
#include "internal/platform/logging.h"
#else
+1 -1
View File
@@ -19,7 +19,7 @@
#include <string>
#ifdef NEARBY_CHROMIUM
#include "base/check.h"
#include "internal/platform/logging.h"
#elif defined(NEARBY_SWIFTPM)
#include "internal/platform/logging.h"
#else
+3 -19
View File
@@ -19,7 +19,9 @@
#include <string>
#ifdef NEARBY_SWIFTPM
#ifdef NEARBY_CHROMIUM
#include "internal/platform/logging.h"
#elif defined(NEARBY_SWIFTPM)
#include "internal/platform/logging.h"
#else
#include "absl/log/log.h" // nogncheck
@@ -30,24 +32,6 @@
namespace crypto {
namespace {
// Callback routine for OpenSSL to print error messages. |str| is a
// NULL-terminated string of length |len| containing diagnostic information
// such as the library, function and reason for the error, the file and line
// where the error originated, plus potentially any context-specific
// information about the error. |context| contains a pointer to user-supplied
// data, which is currently unused.
// If this callback returns a value <= 0, OpenSSL will stop processing the
// error queue and return, otherwise it will continue calling this function
// until all errors have been removed from the queue.
int OpenSSLErrorCallback(const char* str, size_t len, void* context) {
LOG(INFO) << "\t" << absl::string_view(str, len);
return 1;
}
} // namespace
void EnsureOpenSSLInit() {
// CRYPTO_library_init may be safely called concurrently.
CRYPTO_library_init();
+1 -1
View File
@@ -17,7 +17,7 @@
#include <memory>
#ifdef NEARBY_CHROMIUM
#include "base/check.h"
#include "internal/platform/logging.h"
#elif defined(NEARBY_SWIFTPM)
#include "internal/platform/logging.h"
#else
+1 -1
View File
@@ -23,7 +23,7 @@
#include <utility>
#ifdef NEARBY_CHROMIUM
#include "base/check.h"
#include "internal/platform/logging.h"
#elif defined(NEARBY_SWIFTPM)
#include "internal/platform/logging.h"
#else