OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Portions of this code based on Mozilla: | 5 // Portions of this code based on Mozilla: |
6 // (netwerk/cookie/src/nsCookieService.cpp) | 6 // (netwerk/cookie/src/nsCookieService.cpp) |
7 /* ***** BEGIN LICENSE BLOCK ***** | 7 /* ***** BEGIN LICENSE BLOCK ***** |
8 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 8 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
9 * | 9 * |
10 * The contents of this file are subject to the Mozilla Public License Version | 10 * The contents of this file are subject to the Mozilla Public License Version |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 | 370 |
371 std::string CanonicalCookie::DebugString() const { | 371 std::string CanonicalCookie::DebugString() const { |
372 return base::StringPrintf( | 372 return base::StringPrintf( |
373 "name: %s value: %s domain: %s path: %s creation: %" | 373 "name: %s value: %s domain: %s path: %s creation: %" |
374 PRId64, | 374 PRId64, |
375 name_.c_str(), value_.c_str(), | 375 name_.c_str(), value_.c_str(), |
376 domain_.c_str(), path_.c_str(), | 376 domain_.c_str(), path_.c_str(), |
377 static_cast<int64>(creation_date_.ToTimeT())); | 377 static_cast<int64>(creation_date_.ToTimeT())); |
378 } | 378 } |
379 | 379 |
380 } // namespace | 380 } // namespace net |
OLD | NEW |