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

Side by Side Diff: chrome/common/extensions/api/types.json

Issue 10763007: Add "regular_only" scope to allowed scopes for ChromeSetting.clear(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/common/extensions/docs/apps/types.html » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 [ 5 [
6 { 6 {
7 "namespace": "types", 7 "namespace": "types",
8 "types": [ 8 "types": [
9 { 9 {
10 "id": "ChromeSetting", 10 "id": "ChromeSetting",
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 "type": "function", 94 "type": "function",
95 "description": "Clears the setting. This way default settings can be come effective again.", 95 "description": "Clears the setting. This way default settings can be come effective again.",
96 "parameters": [ 96 "parameters": [
97 { 97 {
98 "name": "details", 98 "name": "details",
99 "type": "object", 99 "type": "object",
100 "description": "What setting to clear.", 100 "description": "What setting to clear.",
101 "properties": { 101 "properties": {
102 "scope": { 102 "scope": {
103 "type": "string", 103 "type": "string",
104 "enum": ["regular", "incognito_persistent", "incognito_sessi on_only"], 104 "enum": ["regular", "regular_only", "incognito_persistent", "incognito_session_only"],
105 "optional": true, 105 "optional": true,
106 "description": "Where to clear the setting (default: regular ). One of<br><var>regular</var>: setting for the regular profile (which is inher ited by the incognito profile if not overridden elsewhere),<br><var>regular_only </var>: setting for the regular profile only (not inherited by the incognito pro file),<br><var>incognito_persistent</var>: setting for the incognito profile tha t survives browser restarts (overrides regular preferences),<br><var>incognito_s ession_only</var>: setting for the incognito profile that can only be set during an incognito session and is deleted when the incognito session ends (overrides regular and incognito_persistent preferences)." 106 "description": "Where to clear the setting (default: regular ). One of<br><var>regular</var>: setting for the regular profile (which is inher ited by the incognito profile if not overridden elsewhere),<br><var>regular_only </var>: setting for the regular profile only (not inherited by the incognito pro file),<br><var>incognito_persistent</var>: setting for the incognito profile tha t survives browser restarts (overrides regular preferences),<br><var>incognito_s ession_only</var>: setting for the incognito profile that can only be set during an incognito session and is deleted when the incognito session ends (overrides regular and incognito_persistent preferences)."
107 } 107 }
108 } 108 }
109 }, 109 },
110 { 110 {
111 "name": "callback", 111 "name": "callback",
112 "type": "function", 112 "type": "function",
113 "description": "Called after the setting has been cleared.", 113 "description": "Called after the setting has been cleared.",
114 "optional": true, 114 "optional": true,
(...skipping 27 matching lines...) Expand all
142 } 142 }
143 } 143 }
144 } 144 }
145 ] 145 ]
146 } 146 }
147 ] 147 ]
148 } 148 }
149 ] 149 ]
150 } 150 }
151 ] 151 ]
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/apps/types.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698