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

Side by Side Diff: Source/web/AssociatedURLLoader.cpp

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/ApplicationCacheHostInternal.h ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010, 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2010, 2011, 2012 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 virtual bool isDocumentThreadableLoaderClient() { return true; } 144 virtual bool isDocumentThreadableLoaderClient() { return true; }
145 145
146 // Sets an error to be reported back to the client, asychronously. 146 // Sets an error to be reported back to the client, asychronously.
147 void setDelayedError(const ResourceError&); 147 void setDelayedError(const ResourceError&);
148 148
149 // Enables forwarding of error notifications to the WebURLLoaderClient. Thes e must be 149 // Enables forwarding of error notifications to the WebURLLoaderClient. Thes e must be
150 // deferred until after the call to AssociatedURLLoader::loadAsynchronously( ) completes. 150 // deferred until after the call to AssociatedURLLoader::loadAsynchronously( ) completes.
151 void enableErrorNotifications(); 151 void enableErrorNotifications();
152 152
153 // Stops loading and releases the DocumentThreadableLoader as early as possi ble. 153 // Stops loading and releases the DocumentThreadableLoader as early as possi ble.
154 void clearClient() { m_client = 0; } 154 void clearClient() { m_client = 0; }
155 155
156 private: 156 private:
157 ClientAdapter(AssociatedURLLoader*, WebURLLoaderClient*, const WebURLLoaderO ptions&); 157 ClientAdapter(AssociatedURLLoader*, WebURLLoaderClient*, const WebURLLoaderO ptions&);
158 158
159 void notifyError(Timer<ClientAdapter>*); 159 void notifyError(Timer<ClientAdapter>*);
160 160
161 AssociatedURLLoader* m_loader; 161 AssociatedURLLoader* m_loader;
162 WebURLLoaderClient* m_client; 162 WebURLLoaderClient* m_client;
163 WebURLLoaderOptions m_options; 163 WebURLLoaderOptions m_options;
164 WebURLError m_error; 164 WebURLError m_error;
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 m_loader->cancel(); 365 m_loader->cancel();
366 } 366 }
367 367
368 void AssociatedURLLoader::setDefersLoading(bool defersLoading) 368 void AssociatedURLLoader::setDefersLoading(bool defersLoading)
369 { 369 {
370 if (m_loader) 370 if (m_loader)
371 m_loader->setDefersLoading(defersLoading); 371 m_loader->setDefersLoading(defersLoading);
372 } 372 }
373 373
374 } // namespace WebKit 374 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/web/ApplicationCacheHostInternal.h ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698