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

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

Issue 11614021: Revert 173612 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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) 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 777 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 return (creation_flags_ & WAS_INSTALLED_BY_DEFAULT) != 0; 788 return (creation_flags_ & WAS_INSTALLED_BY_DEFAULT) != 0;
789 } 789 }
790 790
791 // App-related. 791 // App-related.
792 bool is_app() const { 792 bool is_app() const {
793 return is_legacy_packaged_app() || is_hosted_app() || is_platform_app(); 793 return is_legacy_packaged_app() || is_hosted_app() || is_platform_app();
794 } 794 }
795 bool is_platform_app() const; 795 bool is_platform_app() const;
796 bool is_hosted_app() const; 796 bool is_hosted_app() const;
797 bool is_legacy_packaged_app() const; 797 bool is_legacy_packaged_app() const;
798 bool is_extension() const;
799 bool is_storage_isolated() const { return is_storage_isolated_; } 798 bool is_storage_isolated() const { return is_storage_isolated_; }
800 bool can_be_incognito_enabled() const; 799 bool can_be_incognito_enabled() const;
801 const URLPatternSet& web_extent() const { return extent_; } 800 const URLPatternSet& web_extent() const { return extent_; }
802 const std::string& launch_local_path() const { return launch_local_path_; } 801 const std::string& launch_local_path() const { return launch_local_path_; }
803 const std::string& launch_web_url() const { return launch_web_url_; } 802 const std::string& launch_web_url() const { return launch_web_url_; }
804 extension_misc::LaunchContainer launch_container() const { 803 extension_misc::LaunchContainer launch_container() const {
805 return launch_container_; 804 return launch_container_;
806 } 805 }
807 int launch_width() const { return launch_width_; } 806 int launch_width() const { return launch_width_; }
808 int launch_height() const { return launch_height_; } 807 int launch_height() const { return launch_height_; }
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
1329 1328
1330 UpdatedExtensionPermissionsInfo( 1329 UpdatedExtensionPermissionsInfo(
1331 const Extension* extension, 1330 const Extension* extension,
1332 const PermissionSet* permissions, 1331 const PermissionSet* permissions,
1333 Reason reason); 1332 Reason reason);
1334 }; 1333 };
1335 1334
1336 } // namespace extensions 1335 } // namespace extensions
1337 1336
1338 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 1337 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/developer_private.idl ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698