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

Unified Diff: chrome/browser/resources/net_internals/http_pipeline_view.js

Issue 275953002: Remove HTTP pipelining support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix line endings Created 6 years, 7 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
Index: chrome/browser/resources/net_internals/http_pipeline_view.js
diff --git a/chrome/browser/resources/net_internals/http_pipeline_view.js b/chrome/browser/resources/net_internals/http_pipeline_view.js
deleted file mode 100644
index 14c35a642f1d2dad3e009566062e21331376d2ba..0000000000000000000000000000000000000000
--- a/chrome/browser/resources/net_internals/http_pipeline_view.js
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-/**
- * This view displays a summary of the state of each HTTP pipelined connection,
- * and has links to display them in the events tab.
- */
-var HttpPipelineView = (function() {
- 'use strict';
-
- // We inherit from DivView.
- var superClass = DivView;
-
- /**
- * @constructor
- */
- function HttpPipelineView() {
- assertFirstConstructorCall(HttpPipelineView);
-
- // Call superclass's constructor.
- superClass.call(this, HttpPipelineView.MAIN_BOX_ID);
-
- g_browser.addHttpPipeliningStatusObserver(this, true);
- }
-
- HttpPipelineView.TAB_ID = 'tab-handle-http-pipeline';
- HttpPipelineView.TAB_NAME = 'Pipelining';
- HttpPipelineView.TAB_HASH = '#httpPipeline';
-
- // IDs for special HTML elements in http_pipeline_view.html
- HttpPipelineView.MAIN_BOX_ID = 'http-pipeline-view-tab-content';
- HttpPipelineView.ENABLED_SPAN_ID = 'http-pipeline-view-enabled-span';
- HttpPipelineView.KNOWN_HOSTS_TABLE_ID =
- 'http-pipeline-view-known-hosts-table';
-
- cr.addSingletonGetter(HttpPipelineView);
-
- HttpPipelineView.prototype = {
- // Inherit the superclass's methods.
- __proto__: superClass.prototype,
-
- onLoadLogFinish: function(data) {
- return this.onHttpPipeliningStatusChanged(data.httpPipeliningStatus);
- },
-
- /**
- * Displays information on the global HTTP pipelining status.
- */
- onHttpPipeliningStatusChanged: function(httpPipeliningStatus) {
- if (!httpPipeliningStatus)
- return false;
- var input = new JsEvalContext(httpPipeliningStatus);
- jstProcess(input, $(HttpPipelineView.MAIN_BOX_ID));
- // Hide view in loaded logs if pipelining isn't enabled.
- return httpPipeliningStatus.pipelining_enabled;
- },
- };
-
- return HttpPipelineView;
-})();
« no previous file with comments | « chrome/browser/resources/net_internals/http_pipeline_view.html ('k') | chrome/browser/resources/net_internals/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698