Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5441)

Unified Diff: chrome/browser/google_apis/request_util.cc

Issue 96413002: Move c/b/google_apis to google_apis/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/google_apis/request_util.h ('k') | chrome/browser/google_apis/request_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/google_apis/request_util.cc
diff --git a/chrome/browser/google_apis/request_util.cc b/chrome/browser/google_apis/request_util.cc
deleted file mode 100644
index 9062085a9bcb4b090421ac88f8a56075ffb2d946..0000000000000000000000000000000000000000
--- a/chrome/browser/google_apis/request_util.cc
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/google_apis/request_util.h"
-
-#include <string>
-
-namespace google_apis {
-namespace util {
-
-namespace {
-
-// etag matching header.
-const char kIfMatchHeaderPrefix[] = "If-Match: ";
-
-} // namespace
-
-const char kIfMatchAllHeader[] = "If-Match: *";
-
-std::string GenerateIfMatchHeader(const std::string& etag) {
- return etag.empty() ? kIfMatchAllHeader : (kIfMatchHeaderPrefix + etag);
-}
-
-} // namespace util
-} // namespace google_apis
« no previous file with comments | « chrome/browser/google_apis/request_util.h ('k') | chrome/browser/google_apis/request_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698