| 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 487 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  498     else if (*indexes[i] > index) |  498     else if (*indexes[i] > index) | 
|  499       --*indexes[i]; |  499       --*indexes[i]; | 
|  500   } |  500   } | 
|  501   pairs_.erase(pairs_.begin() + index); |  501   pairs_.erase(pairs_.begin() + index); | 
|  502 } |  502 } | 
|  503  |  503  | 
|  504 bool ParsedCookie::IsSameSiteAttributeValid() const { |  504 bool ParsedCookie::IsSameSiteAttributeValid() const { | 
|  505   return same_site_index_ == 0 || SameSite() != CookieSameSite::DEFAULT_MODE; |  505   return same_site_index_ == 0 || SameSite() != CookieSameSite::DEFAULT_MODE; | 
|  506 } |  506 } | 
|  507  |  507  | 
|  508 }  // namespace |  508 }  // namespace net | 
| OLD | NEW |