1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef GOOGLE_APIS_DRIVE_REQUEST_UTIL_H_
6 #define GOOGLE_APIS_DRIVE_REQUEST_UTIL_H_
10 namespace google_apis
{
13 // If-Match header which matches to all etags.
14 extern const char kIfMatchAllHeader
[];
16 // Returns If-Match header string for |etag|.
17 // If |etag| is empty, the returned header should match any etag.
18 std::string
GenerateIfMatchHeader(const std::string
& etag
);
21 } // namespace google_apis
23 #endif // GOOGLE_APIS_DRIVE_REQUEST_UTIL_H_