OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #ifndef CHROME_BROWSER_GOOGLE_APIS_REQUEST_UTIL_H_ | |
6 #define CHROME_BROWSER_GOOGLE_APIS_REQUEST_UTIL_H_ | |
7 | |
8 #include <string> | |
9 | |
10 namespace google_apis { | |
11 namespace util { | |
12 | |
13 // If-Match header which matches to all etags. | |
14 extern const char kIfMatchAllHeader[]; | |
15 | |
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); | |
19 | |
20 } // namespace util | |
21 } // namespace google_apis | |
22 | |
23 #endif // CHROME_BROWSER_GOOGLE_APIS_REQUEST_UTIL_H_ | |
OLD | NEW |