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

Side by Side Diff: chrome/browser/resources/net_internals/sdch_view.js

Issue 2785493003: Disable SDCH by Default (Closed)
Patch Set: Clean up IOS compilation errors and remove from IOS OTR profile. 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/common/chrome_constants.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // TODO(rdsmith) Note that SDCH has been disabled in Chrome as of M59.
6 // This code is being retained for examining dumps generated before that
7 // milestone. It's probably fine to remove it in M64 or later.
8
5 /** 9 /**
6 * This view displays information related to SDCH. 10 * This view displays information related to SDCH.
7 * 11 *
8 * Shows loaded dictionaries, blacklisted domains and SDCH errors. 12 * Shows loaded dictionaries, blacklisted domains and SDCH errors.
9 */ 13 */
10 var SdchView = (function() { 14 var SdchView = (function() {
11 'use strict'; 15 'use strict';
12 16
13 // We inherit from DivView. 17 // We inherit from DivView.
14 var superClass = DivView; 18 var superClass = DivView;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 if (!sdchInfo || typeof(sdchInfo.sdch_enabled) === 'undefined') 55 if (!sdchInfo || typeof(sdchInfo.sdch_enabled) === 'undefined')
52 return false; 56 return false;
53 var input = new JsEvalContext(sdchInfo); 57 var input = new JsEvalContext(sdchInfo);
54 jstProcess(input, $(SdchView.MAIN_BOX_ID)); 58 jstProcess(input, $(SdchView.MAIN_BOX_ID));
55 return true; 59 return true;
56 }, 60 },
57 }; 61 };
58 62
59 return SdchView; 63 return SdchView;
60 })(); 64 })();
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl_io_data.cc ('k') | chrome/common/chrome_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698