mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Cleans up statusor.h includes.
PiperOrigin-RevId: 339050213 Change-Id: Iea5747f907b294503cdb37e1c25cf787c7e83dcf
This commit is contained in:
parent
609a370634
commit
ea379ef4d6
|
@ -25,6 +25,8 @@
|
|||
#include <memory>
|
||||
#include <thread> // NOLINT(build/c++11)
|
||||
|
||||
#include "absl/status/statusor.h"
|
||||
|
||||
int CurlTestUtils::port_;
|
||||
std::thread CurlTestUtils::server_thread_;
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include "curl_sapi.sapi.h" // NOLINT(build/include)
|
||||
#include "gtest/gtest.h"
|
||||
#include "sandboxed_api/util/flag.h"
|
||||
#include "absl/status/statusor.h"
|
||||
#include "sandboxed_api/util/status_matchers.h"
|
||||
|
||||
namespace curl::tests {
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
#include "guetzli_sandbox.h" // NOLINT(build/include)
|
||||
#include "gtest/gtest.h"
|
||||
#include "absl/status/statusor.h"
|
||||
#include "sandboxed_api/sandbox2/util/fileops.h"
|
||||
#include "sandboxed_api/vars.h"
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
#include <iostream>
|
||||
#include <memory>
|
||||
|
||||
#include "absl/status/statusor.h"
|
||||
|
||||
namespace guetzli::sandbox {
|
||||
|
||||
absl::Status GuetzliTransaction::Main() {
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#include <syscall.h>
|
||||
|
||||
#include "guetzli_sandbox.h" // NOLINT(build/include)
|
||||
#include "absl/status/statusor.h"
|
||||
#include "sandboxed_api/transaction.h"
|
||||
#include "sandboxed_api/vars.h"
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
#include "helpers.h" // NOLINT(build/include)
|
||||
|
||||
#include "absl/status/statusor.h"
|
||||
#include "sandboxed_api/sandbox2/util/temp_file.h"
|
||||
|
||||
std::vector<uint8_t> GenerateValues() {
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include <glog/logging.h>
|
||||
#include "helpers.h" // NOLINT(build/include)
|
||||
#include "sandbox.h" // NOLINT(build/include)
|
||||
#include "absl/status/statusor.h"
|
||||
|
||||
void EncodeDecodeOneStep(SapiLodepngSandbox& sandbox, LodepngApi& api) {
|
||||
// Generate the values.
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
#include "gen_files/convert.h" // NOLINT(build/include)
|
||||
#include "openjp2_sapi.sapi.h" // NOLINT(build/include)
|
||||
#include "absl/status/statusor.h"
|
||||
|
||||
class Openjp2SapiSandbox : public Openjp2Sandbox {
|
||||
public:
|
||||
|
|
|
@ -81,6 +81,7 @@ cc_library(
|
|||
"@com_google_absl//absl/container:flat_hash_map",
|
||||
"@com_google_absl//absl/memory",
|
||||
"@com_google_absl//absl/status",
|
||||
"@com_google_absl//absl/status:statusor",
|
||||
"@com_google_absl//absl/strings",
|
||||
"@com_google_absl//absl/strings:str_format",
|
||||
"@com_google_absl//absl/synchronization",
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include "absl/base/macros.h"
|
||||
#include "absl/memory/memory.h"
|
||||
#include "absl/status/status.h"
|
||||
#include "absl/status/statusor.h"
|
||||
#include "absl/strings/str_cat.h"
|
||||
#include "absl/strings/str_format.h"
|
||||
#include "absl/time/time.h"
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
#include "sandboxed_api/file_toc.h"
|
||||
#include "absl/base/macros.h"
|
||||
#include "absl/status/statusor.h"
|
||||
#include "sandboxed_api/rpcchannel.h"
|
||||
#include "sandboxed_api/sandbox2/client.h"
|
||||
#include "sandboxed_api/sandbox2/comms.h"
|
||||
|
|
|
@ -77,6 +77,7 @@ if(SAPI_ENABLE_TESTS)
|
|||
sapi::sapi
|
||||
sapi::generator
|
||||
sapi::status
|
||||
sapi::statusor
|
||||
sapi::status_matchers
|
||||
sapi::test_main
|
||||
)
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include "gmock/gmock.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "absl/memory/memory.h"
|
||||
#include "absl/status/statusor.h"
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "sandboxed_api/sandbox2/testing.h"
|
||||
#include "sandboxed_api/tools/clang_generator/frontend_action_test_util.h"
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
#include "absl/base/macros.h"
|
||||
#include "absl/memory/memory.h"
|
||||
#include "absl/status/statusor.h"
|
||||
#include "sandboxed_api/proto_helper.h"
|
||||
#include "sandboxed_api/var_lenval.h"
|
||||
#include "sandboxed_api/var_pointable.h"
|
||||
|
|
Loading…
Reference in New Issue
Block a user