Cleans up statusor.h includes.

PiperOrigin-RevId: 339050213
Change-Id: Iea5747f907b294503cdb37e1c25cf787c7e83dcf
This commit is contained in:
Sandboxed API Team 2020-10-26 09:08:06 -07:00 committed by Copybara-Service
parent 609a370634
commit ea379ef4d6
14 changed files with 16 additions and 0 deletions

View File

@ -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_;

View File

@ -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 {

View File

@ -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"

View File

@ -22,6 +22,8 @@
#include <iostream>
#include <memory>
#include "absl/status/statusor.h"
namespace guetzli::sandbox {
absl::Status GuetzliTransaction::Main() {

View File

@ -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"

View File

@ -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() {

View File

@ -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.

View File

@ -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:

View File

@ -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",

View File

@ -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"

View File

@ -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"

View File

@ -77,6 +77,7 @@ if(SAPI_ENABLE_TESTS)
sapi::sapi
sapi::generator
sapi::status
sapi::statusor
sapi::status_matchers
sapi::test_main
)

View File

@ -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"

View File

@ -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"