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

Side by Side Diff: content/browser/devtools/devtools_protocol_constants.cc

Issue 23240002: Backend for DevTools quota managements. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "content/browser/devtools/devtools_protocol_constants.h" 5 #include "content/browser/devtools/devtools_protocol_constants.h"
6 6
7 namespace content { 7 namespace content {
8 namespace devtools { 8 namespace devtools {
9 9
10 const char kParamX[] = "x"; 10 const char kParamX[] = "x";
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 } // startScreencast 113 } // startScreencast
114 114
115 namespace stopScreencast { 115 namespace stopScreencast {
116 const char kName[] = "Page.stopScreencast"; 116 const char kName[] = "Page.stopScreencast";
117 } // stopScreencast 117 } // stopScreencast
118 118
119 namespace screencastFrame { 119 namespace screencastFrame {
120 const char kName[] = "Page.screencastFrame"; 120 const char kName[] = "Page.screencastFrame";
121 } // screencastFrame 121 } // screencastFrame
122 122
123 namespace queryUsageAndQuota {
124 const char kName[] = "Page.queryUsageAndQuota";
125 const char kParamSecurityOrigin[] = "securityOrigin";
126 extern const char kResponseQuota[] = "quota";
127 extern const char kResponseUsage[] = "usage";
128 } // queryUsageAndQuota
129
130 namespace Quota {
131 extern const char kItemTemporary[] = "temporary";
132 extern const char kItemPersistent[] = "persistent";
133 } // Quota
134
135 namespace Usage {
136 extern const char kItemTemporary[] = "temporary";
137 extern const char kItemPersistent[] = "persistent";
138 extern const char kItemSyncable[] = "syncable";
139 } // Usage
140
141 namespace UsageItem {
142 namespace ID {
143 extern const char kFilesystem[] = "filesystem";
144 extern const char kDatabase[] = "database";
145 extern const char kAppcache[] = "appcache";
146 extern const char kIndexedDatabase[] = "indexeddatabase";
147 } // ID
148 extern const char kItemID[] = "id";
149 extern const char kItemValue[] = "value";
150 } // UsageItem
151
123 namespace screencastVisibilityChanged { 152 namespace screencastVisibilityChanged {
124 const char kName[] = "Page.screencastVisibilityChanged"; 153 const char kName[] = "Page.screencastVisibilityChanged";
125 const char kParamVisible[] = "visible"; 154 const char kParamVisible[] = "visible";
126 } // screencastVisibilityChanged 155 } // screencastVisibilityChanged
127 156
128 } // Page 157 } // Page
129 158
130 namespace Worker { 159 namespace Worker {
131 160
132 namespace disconnectedFromWorker { 161 namespace disconnectedFromWorker {
(...skipping 30 matching lines...) Expand all
163 const char kName[] = "SystemInfo"; 192 const char kName[] = "SystemInfo";
164 193
165 namespace getInfo { 194 namespace getInfo {
166 const char kName[] = "SystemInfo.getInfo"; 195 const char kName[] = "SystemInfo.getInfo";
167 } // getInfo 196 } // getInfo
168 } // SystemInfo 197 } // SystemInfo
169 198
170 } // devtools 199 } // devtools
171 } // content 200 } // content
172 201
OLDNEW
« no previous file with comments | « content/browser/devtools/devtools_protocol_constants.h ('k') | content/browser/devtools/renderer_overrides_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698