tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

string_piece.h (748B)


      1 // Copyright 2012 The Chromium Authors
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 //
      5 // This header is deprecated. `base::StringPiece` is now `std::string_view`.
      6 // Use it and <string_view> instead.
      7 //
      8 // TODO(crbug.com/691162): Remove uses of this header.
      9 
     10 #ifndef BASE_STRINGS_STRING_PIECE_H_
     11 #define BASE_STRINGS_STRING_PIECE_H_
     12 
     13 // Many files including this header rely on these being included due to IWYU
     14 // violations. Preserve the includes for now. As code is migrated away from this
     15 // header, we can incrementally fix the IWYU violations.
     16 #include "base/check.h"
     17 #include "base/check_op.h"
     18 #include "base/strings/string_piece_forward.h"
     19 
     20 #endif  // BASE_STRINGS_STRING_PIECE_H_