Add support for running disabled Telemetry benchmarks
[chromium-blink-merge.git] / google_apis / drive / request_util.h
blobf0672edaf7aee6a032a9b6d4385fa192978d8586
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_
8 #include <string>
10 namespace google_apis {
11 namespace util {
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);
20 } // namespace util
21 } // namespace google_apis
23 #endif // GOOGLE_APIS_DRIVE_REQUEST_UTIL_H_