| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #ifndef FrameLoaderStateMachine_h | 30 #ifndef FrameLoaderStateMachine_h |
| 31 #define FrameLoaderStateMachine_h | 31 #define FrameLoaderStateMachine_h |
| 32 | 32 |
| 33 #include "core/CoreExport.h" | 33 #include "core/CoreExport.h" |
| 34 #include "wtf/Allocator.h" | 34 #include "platform/wtf/Allocator.h" |
| 35 #include "wtf/Noncopyable.h" | 35 #include "platform/wtf/Noncopyable.h" |
| 36 #include "wtf/text/WTFString.h" | 36 #include "platform/wtf/text/WTFString.h" |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 // Encapsulates a state machine for FrameLoader. Note that this is different | 40 // Encapsulates a state machine for FrameLoader. Note that this is different |
| 41 // from FrameState, which stores the state of the current load that FrameLoader | 41 // from FrameState, which stores the state of the current load that FrameLoader |
| 42 // is executing. | 42 // is executing. |
| 43 class CORE_EXPORT FrameLoaderStateMachine { | 43 class CORE_EXPORT FrameLoaderStateMachine { |
| 44 DISALLOW_NEW(); | 44 DISALLOW_NEW(); |
| 45 WTF_MAKE_NONCOPYABLE(FrameLoaderStateMachine); | 45 WTF_MAKE_NONCOPYABLE(FrameLoaderStateMachine); |
| 46 | 46 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 65 | 65 |
| 66 String ToString() const; | 66 String ToString() const; |
| 67 | 67 |
| 68 private: | 68 private: |
| 69 State state_; | 69 State state_; |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace blink | 72 } // namespace blink |
| 73 | 73 |
| 74 #endif // FrameLoaderStateMachine_h | 74 #endif // FrameLoaderStateMachine_h |
| OLD | NEW |