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

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

Issue 11428116: First few API implementation of AppsDebuggerPrivate. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixing build on windows 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
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 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 return (creation_flags_ & WAS_INSTALLED_BY_DEFAULT) != 0; 787 return (creation_flags_ & WAS_INSTALLED_BY_DEFAULT) != 0;
788 } 788 }
789 789
790 // App-related. 790 // App-related.
791 bool is_app() const { 791 bool is_app() const {
792 return is_legacy_packaged_app() || is_hosted_app() || is_platform_app(); 792 return is_legacy_packaged_app() || is_hosted_app() || is_platform_app();
793 } 793 }
794 bool is_platform_app() const; 794 bool is_platform_app() const;
795 bool is_hosted_app() const; 795 bool is_hosted_app() const;
796 bool is_legacy_packaged_app() const; 796 bool is_legacy_packaged_app() const;
797 bool is_extension() const;
797 bool is_storage_isolated() const { return is_storage_isolated_; } 798 bool is_storage_isolated() const { return is_storage_isolated_; }
798 bool can_be_incognito_enabled() const; 799 bool can_be_incognito_enabled() const;
799 const URLPatternSet& web_extent() const { return extent_; } 800 const URLPatternSet& web_extent() const { return extent_; }
800 const std::string& launch_local_path() const { return launch_local_path_; } 801 const std::string& launch_local_path() const { return launch_local_path_; }
801 const std::string& launch_web_url() const { return launch_web_url_; } 802 const std::string& launch_web_url() const { return launch_web_url_; }
802 extension_misc::LaunchContainer launch_container() const { 803 extension_misc::LaunchContainer launch_container() const {
803 return launch_container_; 804 return launch_container_;
804 } 805 }
805 int launch_width() const { return launch_width_; } 806 int launch_width() const { return launch_width_; }
806 int launch_height() const { return launch_height_; } 807 int launch_height() const { return launch_height_; }
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
1324 1325
1325 UpdatedExtensionPermissionsInfo( 1326 UpdatedExtensionPermissionsInfo(
1326 const Extension* extension, 1327 const Extension* extension,
1327 const PermissionSet* permissions, 1328 const PermissionSet* permissions,
1328 Reason reason); 1329 Reason reason);
1329 }; 1330 };
1330 1331
1331 } // namespace extensions 1332 } // namespace extensions
1332 1333
1333 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 1334 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698