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

Side by Side Diff: third_party/WebKit/Source/platform/exported/WebURLRequest.cpp

Issue 1738623004: Rename enums/functions that collide in chromium style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-4
Patch Set: get-names-5: rebase-and-stuff Created 4 years, 9 months 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 bool WebURLRequest::allowStoredCredentials() const 140 bool WebURLRequest::allowStoredCredentials() const
141 { 141 {
142 return m_private->m_resourceRequest->allowStoredCredentials(); 142 return m_private->m_resourceRequest->allowStoredCredentials();
143 } 143 }
144 144
145 void WebURLRequest::setAllowStoredCredentials(bool allowStoredCredentials) 145 void WebURLRequest::setAllowStoredCredentials(bool allowStoredCredentials)
146 { 146 {
147 m_private->m_resourceRequest->setAllowStoredCredentials(allowStoredCredentia ls); 147 m_private->m_resourceRequest->setAllowStoredCredentials(allowStoredCredentia ls);
148 } 148 }
149 149
150 WebURLRequest::CachePolicy WebURLRequest::cachePolicy() const 150 WebURLRequest::CachePolicy WebURLRequest::getCachePolicy() const
151 { 151 {
152 return static_cast<WebURLRequest::CachePolicy>( 152 return static_cast<WebURLRequest::CachePolicy>(
153 m_private->m_resourceRequest->cachePolicy()); 153 m_private->m_resourceRequest->getCachePolicy());
154 } 154 }
155 155
156 void WebURLRequest::setCachePolicy(CachePolicy cachePolicy) 156 void WebURLRequest::setCachePolicy(CachePolicy cachePolicy)
157 { 157 {
158 m_private->m_resourceRequest->setCachePolicy( 158 m_private->m_resourceRequest->setCachePolicy(
159 static_cast<ResourceRequestCachePolicy>(cachePolicy)); 159 static_cast<ResourceRequestCachePolicy>(cachePolicy));
160 } 160 }
161 161
162 WebString WebURLRequest::httpMethod() const 162 WebString WebURLRequest::httpMethod() const
163 { 163 {
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 // Subclasses may call this directly so a self-assignment check is needed 471 // Subclasses may call this directly so a self-assignment check is needed
472 // here as well as in the public assign method. 472 // here as well as in the public assign method.
473 if (m_private == p) 473 if (m_private == p)
474 return; 474 return;
475 if (m_private) 475 if (m_private)
476 m_private->dispose(); 476 m_private->dispose();
477 m_private = p; 477 m_private = p;
478 } 478 }
479 479
480 } // namespace blink 480 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698