diff options
Diffstat (limited to 'WebKit/android/WebCoreSupport/WebRequest.h')
-rw-r--r-- | WebKit/android/WebCoreSupport/WebRequest.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/WebKit/android/WebCoreSupport/WebRequest.h b/WebKit/android/WebCoreSupport/WebRequest.h index dba7559..252267b 100644 --- a/WebKit/android/WebCoreSupport/WebRequest.h +++ b/WebKit/android/WebCoreSupport/WebRequest.h @@ -88,6 +88,7 @@ public: const std::string& getUrl() const; const std::string& getUserAgent() const; + void setSync(bool sync) { m_isSync = sync; } private: void startReading(); bool read(int* bytesRead); @@ -113,6 +114,7 @@ private: ScopedRunnableMethodFactory<WebRequest> m_runnableFactory; bool m_wantToPause; bool m_isPaused; + bool m_isSync; #ifdef LOG_REQUESTS time_t m_startTime; #endif |