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

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

Issue 7067040: Enable incognito_session_only preferences (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/common/extensions/docs/preferences.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 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "unprivileged": true, 4 "unprivileged": true,
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "MessageSender", 7 "id": "MessageSender",
8 "type": "object", 8 "type": "object",
9 "description": "An object containing information about the script contex t that sent a message or request.", 9 "description": "An object containing information about the script contex t that sent a message or request.",
10 "properties": { 10 "properties": {
(...skipping 5366 matching lines...) Expand 10 before | Expand all | Expand 10 after
5377 "name": "details", 5377 "name": "details",
5378 "type": "object", 5378 "type": "object",
5379 "description": "What setting to change.", 5379 "description": "What setting to change.",
5380 "properties": { 5380 "properties": {
5381 "value": { 5381 "value": {
5382 "description": "The value of the preference. <br>Note that e very preference has a specific value type, which is described together with the preference. An extension should <em>not</em> set a preference value of a differe nt type.", 5382 "description": "The value of the preference. <br>Note that e very preference has a specific value type, which is described together with the preference. An extension should <em>not</em> set a preference value of a differe nt type.",
5383 "type": "any" 5383 "type": "any"
5384 }, 5384 },
5385 "scope": { 5385 "scope": {
5386 "type": "string", 5386 "type": "string",
5387 "enum": ["regular", "incognito_persistent"], 5387 "enum": ["regular", "incognito_persistent", "incognito_sessi on_only"],
5388 "optional": true, 5388 "optional": true,
5389 "description": "Where to set the preference (default: regula r). 'regular' = preference for regular profile (which is inherited by the incogn ito profile if not overridden elsewhere), 'incognito_persistent' = preference fo r incognito profile that sustains browser restarts (overrides regular preference s)." 5389 "description": "Where to set the preference (default: regula r). One of<br><var>regular</var>: preference for regular profile (which is inher ited by the incognito profile if not overridden elsewhere),<br><var>incognito_pe rsistent</var>: preference for incognito profile that survives browser restarts (overrides regular preferences),<br><var>incognito_session_only</var>: preferenc e for incognito profile that can only be set during an incognito session and is deleted when the incognito session ends (overrides regular and incognito_persist ent preferences)."
5390 } 5390 }
5391 } 5391 }
5392 }, 5392 },
5393 { 5393 {
5394 "name": "callback", 5394 "name": "callback",
5395 "type": "function", 5395 "type": "function",
5396 "description": "Called after the preference has been set.", 5396 "description": "Called after the preference has been set.",
5397 "optional": true, 5397 "optional": true,
5398 "parameters": [] 5398 "parameters": []
5399 } 5399 }
5400 ] 5400 ]
5401 }, 5401 },
5402 { 5402 {
5403 "name": "clear", 5403 "name": "clear",
5404 "type": "function", 5404 "type": "function",
5405 "description": "Clears the setting in the user preferences. This way default settings can become effective again.", 5405 "description": "Clears the setting in the user preferences. This way default settings can become effective again.",
5406 "parameters": [ 5406 "parameters": [
5407 { 5407 {
5408 "name": "details", 5408 "name": "details",
5409 "type": "object", 5409 "type": "object",
5410 "description": "What preference to clear.", 5410 "description": "What preference to clear.",
5411 "properties": { 5411 "properties": {
5412 "scope": { 5412 "scope": {
5413 "type": "string", 5413 "type": "string",
5414 "enum": ["regular", "incognito_persistent"], 5414 "enum": ["regular", "incognito_persistent", "incognito_sessi on_only"],
5415 "optional": true, 5415 "optional": true,
5416 "description": "Where to set the preference (default: regula r). 'regular' = preference for regular profile (which is inherited by the incogn ito profile if not overridden elsewhere), 'incognito_persistent' = preference fo r incognito profile that sustains browser restarts (overrides regular preference s)." 5416 "description": "Where to set the preference (default: regula r). One of<br><var>regular</var>: preference for regular profile (which is inher ited by the incognito profile if not overridden elsewhere),<br><var>incognito_pe rsistent</var>: preference for incognito profile that survives browser restarts (overrides regular preferences),<br><var>incognito_session_only</var>: preferenc e for incognito profile that can only be set during an incognito session and is deleted when the incognito session ends (overrides regular and incognito_persist ent preferences)."
5417 } 5417 }
5418 } 5418 }
5419 }, 5419 },
5420 { 5420 {
5421 "name": "callback", 5421 "name": "callback",
5422 "type": "function", 5422 "type": "function",
5423 "description": "Called after the preference has been cleared.", 5423 "description": "Called after the preference has been cleared.",
5424 "optional": true, 5424 "optional": true,
5425 "parameters": [] 5425 "parameters": []
5426 } 5426 }
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
5595 { 5595 {
5596 "type": "integer", 5596 "type": "integer",
5597 "name": "tabId", 5597 "name": "tabId",
5598 "description": "The id of the tab that was detached." 5598 "description": "The id of the tab that was detached."
5599 } 5599 }
5600 ] 5600 ]
5601 } 5601 }
5602 ] 5602 ]
5603 } 5603 }
5604 ] 5604 ]
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_impl.cc ('k') | chrome/common/extensions/docs/preferences.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698