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

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

Issue 20593003: Move kEnableExperimentalExtensionApis switch to extensions/common/switches.cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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 #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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 // TODO(aa): Rename to just Init()? There's no Value here anymore. 341 // TODO(aa): Rename to just Init()? There's no Value here anymore.
342 // TODO(aa): It is really weird the way this class essentially contains a copy 342 // TODO(aa): It is really weird the way this class essentially contains a copy
343 // of the underlying DictionaryValue in its members. We should decide to 343 // of the underlying DictionaryValue in its members. We should decide to
344 // either wrap the DictionaryValue and go with that only, or we should parse 344 // either wrap the DictionaryValue and go with that only, or we should parse
345 // into strong types and discard the value. But doing both is bad. 345 // into strong types and discard the value. But doing both is bad.
346 bool InitFromValue(int flags, string16* error); 346 bool InitFromValue(int flags, string16* error);
347 347
348 // The following are helpers for InitFromValue to load various features of the 348 // The following are helpers for InitFromValue to load various features of the
349 // extension from the manifest. 349 // extension from the manifest.
350 350
351 bool LoadAppIsolation(string16* error);
352
353 bool LoadRequiredFeatures(string16* error); 351 bool LoadRequiredFeatures(string16* error);
354 bool LoadName(string16* error); 352 bool LoadName(string16* error);
355 bool LoadVersion(string16* error); 353 bool LoadVersion(string16* error);
356 354
357 bool LoadAppFeatures(string16* error); 355 bool LoadAppFeatures(string16* error);
358 bool LoadExtent(const char* key, 356 bool LoadExtent(const char* key,
359 URLPatternSet* extent, 357 URLPatternSet* extent,
360 const char* list_error, 358 const char* list_error,
361 const char* value_error, 359 const char* value_error,
362 string16* error); 360 string16* error);
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 511
514 UpdatedExtensionPermissionsInfo( 512 UpdatedExtensionPermissionsInfo(
515 const Extension* extension, 513 const Extension* extension,
516 const PermissionSet* permissions, 514 const PermissionSet* permissions,
517 Reason reason); 515 Reason reason);
518 }; 516 };
519 517
520 } // namespace extensions 518 } // namespace extensions
521 519
522 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 520 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698