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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.h

Issue 2829453003: Remove unused methods from ScriptStreamer (Closed)
Patch Set: Rebase Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.h b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.h
index 2390472594f4cab8a43d11c1d908e6654767c68d..81c2f92db03a8ad5b2fd4671fd7677a5bee2de32 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.h
@@ -72,10 +72,6 @@ class CORE_EXPORT ScriptStreamer final
void SuppressStreaming();
bool StreamingSuppressed() const { return streaming_suppressed_; }
- v8::ScriptCompiler::CompileOptions GetCompileOptions() const {
- return compile_options_;
- }
-
// Called by PendingScript when data arrives from the network.
void NotifyAppendData(ScriptResource*);
void NotifyFinished(Resource*);
@@ -84,10 +80,6 @@ class CORE_EXPORT ScriptStreamer final
// has processed it.
void StreamingCompleteOnBackgroundThread();
- v8::ScriptCompiler::StreamedSource::Encoding GetEncoding() const {
- return encoding_;
- }
-
const String& ScriptURLString() const { return script_url_string_; }
unsigned long ScriptResourceIdentifier() const {
return script_resource_identifier_;
@@ -97,8 +89,6 @@ class CORE_EXPORT ScriptStreamer final
small_script_threshold_ = threshold;
}
- static size_t SmallScriptThreshold() { return small_script_threshold_; }
-
private:
// Scripts whose first data chunk is smaller than this constant won't be
// streamed. Non-const for testing.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698