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

Side by Side Diff: chrome/common/extensions/extension.h

Issue 10977048: Fix bug in disabling sync for default apps (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fix browser and integration tests, which got broken Created 8 years, 2 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/ui/panels/base_panel_browser_test.cc ('k') | no next file » | 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 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_
7 7
8 #include <algorithm> 8 #include <algorithm>
9 #include <iosfwd> 9 #include <iosfwd>
10 #include <map> 10 #include <map>
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 enum InitFromValueFlags { 228 enum InitFromValueFlags {
229 NO_FLAGS = 0, 229 NO_FLAGS = 0,
230 230
231 // Usually, the id of an extension is generated by the "key" property of 231 // Usually, the id of an extension is generated by the "key" property of
232 // its manifest, but if |REQUIRE_KEY| is not set, a temporary ID will be 232 // its manifest, but if |REQUIRE_KEY| is not set, a temporary ID will be
233 // generated based on the path. 233 // generated based on the path.
234 REQUIRE_KEY = 1 << 0, 234 REQUIRE_KEY = 1 << 0,
235 235
236 // Requires the extension to have an up-to-date manifest version. 236 // Requires the extension to have an up-to-date manifest version.
237 // Typically, we'll support multiple manifest versions during a version 237 // Typically, we'll support multiple manifest versions during a version
238 // transition. This flag signals that we want to require the most modern 238 // transition. This flag signals that we want to require the most modern
239 // manifest version that Chrome understands. 239 // manifest version that Chrome understands.
240 REQUIRE_MODERN_MANIFEST_VERSION = 1 << 1, 240 REQUIRE_MODERN_MANIFEST_VERSION = 1 << 1,
241 241
242 // |ALLOW_FILE_ACCESS| indicates that the user is allowing this extension 242 // |ALLOW_FILE_ACCESS| indicates that the user is allowing this extension
243 // to have file access. If it's not present, then permissions and content 243 // to have file access. If it's not present, then permissions and content
244 // scripts that match file:/// URLs will be filtered out. 244 // scripts that match file:/// URLs will be filtered out.
245 ALLOW_FILE_ACCESS = 1 << 2, 245 ALLOW_FILE_ACCESS = 1 << 2,
246 246
247 // |FROM_WEBSTORE| indicates that the extension was installed from the 247 // |FROM_WEBSTORE| indicates that the extension was installed from the
248 // Chrome Web Store. 248 // Chrome Web Store.
(...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after
1236 1236
1237 UpdatedExtensionPermissionsInfo( 1237 UpdatedExtensionPermissionsInfo(
1238 const Extension* extension, 1238 const Extension* extension,
1239 const PermissionSet* permissions, 1239 const PermissionSet* permissions,
1240 Reason reason); 1240 Reason reason);
1241 }; 1241 };
1242 1242
1243 } // namespace extensions 1243 } // namespace extensions
1244 1244
1245 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 1245 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/base_panel_browser_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698