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

Side by Side Diff: third_party/WebKit/Source/platform/network/ResourceRequest.h

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) 2003, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2003, 2006 Apple Computer, Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 4 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 PassOwnPtr<CrossThreadResourceRequestData> copyData() const; 95 PassOwnPtr<CrossThreadResourceRequestData> copyData() const;
96 96
97 bool isNull() const; 97 bool isNull() const;
98 bool isEmpty() const; 98 bool isEmpty() const;
99 99
100 const KURL& url() const; 100 const KURL& url() const;
101 void setURL(const KURL& url); 101 void setURL(const KURL& url);
102 102
103 void removeCredentials(); 103 void removeCredentials();
104 104
105 ResourceRequestCachePolicy cachePolicy() const; 105 ResourceRequestCachePolicy getCachePolicy() const;
106 void setCachePolicy(ResourceRequestCachePolicy cachePolicy); 106 void setCachePolicy(ResourceRequestCachePolicy cachePolicy);
107 107
108 double timeoutInterval() const; // May return 0 when using platform default. 108 double timeoutInterval() const; // May return 0 when using platform default.
109 void setTimeoutInterval(double timeoutInterval); 109 void setTimeoutInterval(double timeoutInterval);
110 110
111 const KURL& firstPartyForCookies() const; 111 const KURL& firstPartyForCookies() const;
112 void setFirstPartyForCookies(const KURL& firstPartyForCookies); 112 void setFirstPartyForCookies(const KURL& firstPartyForCookies);
113 113
114 PassRefPtr<SecurityOrigin> requestorOrigin() const; 114 PassRefPtr<SecurityOrigin> requestorOrigin() const;
115 void setRequestorOrigin(PassRefPtr<SecurityOrigin>); 115 void setRequestorOrigin(PassRefPtr<SecurityOrigin>);
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 bool m_checkForBrowserSideNavigation; 336 bool m_checkForBrowserSideNavigation;
337 double m_uiStartTime; 337 double m_uiStartTime;
338 bool m_originatesFromReservedIPRange; 338 bool m_originatesFromReservedIPRange;
339 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy; 339 InputToLoadPerfMetricReportPolicy m_inputPerfMetricReportPolicy;
340 bool m_followedRedirect; 340 bool m_followedRedirect;
341 }; 341 };
342 342
343 } // namespace blink 343 } // namespace blink
344 344
345 #endif // ResourceRequest_h 345 #endif // ResourceRequest_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698