2
2
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
3
3
* You can obtain one at http://mozilla.org/MPL/2.0/. */
4
4
5
- import './change_ipfs_gateway_dialog.js' ;
6
-
7
5
( function ( ) {
8
6
'use strict' ;
9
7
@@ -22,9 +20,7 @@ Polymer({
22
20
showRestartToast_ : Boolean ,
23
21
torEnabled_ : Boolean ,
24
22
widevineEnabled_ : Boolean ,
25
- disableTorOption_ : Boolean ,
26
- ipfsEnabled_ : Boolean ,
27
- showChangeIPFSGatewayDialog_ : Boolean ,
23
+ disableTorOption_ : Boolean
28
24
} ,
29
25
30
26
/** @private {?settings.BraveDefaultExtensionsBrowserProxy} */
@@ -40,7 +36,6 @@ Polymer({
40
36
this . onWebTorrentEnabledChange_ = this . onWebTorrentEnabledChange_ . bind ( this )
41
37
this . onBraveWalletEnabledChange_ = this . onBraveWalletEnabledChange_ . bind ( this )
42
38
this . onHangoutsEnabledChange_ = this . onHangoutsEnabledChange_ . bind ( this )
43
- this . onIPFSCompanionEnabledChange_ = this . onIPFSCompanionEnabledChange_ . bind ( this )
44
39
this . openExtensionsPage_ = this . openExtensionsPage_ . bind ( this )
45
40
this . openKeyboardShortcutsPage_ = this . openKeyboardShortcutsPage_ . bind ( this )
46
41
this . onWidevineEnabledChange_ = this . onWidevineEnabledChange_ . bind ( this )
@@ -72,12 +67,6 @@ Polymer({
72
67
this . browserProxy_ . getWeb3ProviderList ( ) . then ( list => {
73
68
this . braveWeb3Providers_ = JSON . parse ( list )
74
69
} ) ;
75
- this . browserProxy_ . getIPFSResolveMethodList ( ) . then ( list => {
76
- this . ipfsResolveMethod_ = JSON . parse ( list )
77
- } ) ;
78
- this . browserProxy_ . getIPFSEnabled ( ) . then ( enabled => {
79
- this . ipfsEnabled_ = enabled
80
- } ) ;
81
70
} ,
82
71
83
72
onWebTorrentEnabledChange_ : function ( ) {
@@ -92,10 +81,6 @@ Polymer({
92
81
this . browserProxy_ . setHangoutsEnabled ( this . $ . hangoutsEnabled . checked ) ;
93
82
} ,
94
83
95
- onIPFSCompanionEnabledChange_ : function ( ) {
96
- this . browserProxy_ . setIPFSCompanionEnabled ( this . $ . ipfsCompanionEnabled . checked ) ;
97
- } ,
98
-
99
84
restartBrowser_ : function ( e ) {
100
85
e . stopPropagation ( ) ;
101
86
window . open ( "chrome://restart" , "_self" ) ;
@@ -127,15 +112,7 @@ Polymer({
127
112
128
113
shouldShowRestartForGoogleLogin_ : function ( value ) {
129
114
return this . browserProxy_ . wasSignInEnabledAtStartup ( ) != value ;
130
- } ,
131
-
132
- onChangeIPFSGatewayDialogTapped_ : function ( ) {
133
- this . showChangeIPFSGatewayDialog_ = true ;
134
- } ,
135
-
136
- onChangeIPFSGatewayDialogClosed_ : function ( ) {
137
- this . showChangeIPFSGatewayDialog_ = false ;
138
- } ,
115
+ }
139
116
140
117
} ) ;
141
118
} ) ( ) ;
0 commit comments