/external/chromium_org/chrome/common/extensions/manifest_tests/ |
extension_manifests_homepage_unittest.cc | 7 #include "extensions/common/extension.h" 18 scoped_refptr<extensions::Extension> extension( 34 scoped_refptr<extensions::Extension> extension( 37 extensions::ManifestURL::GetHomepageURL(extension.get())); 41 extension = LoadAndExpectSuccess("homepage_google_hosted.json"); 43 extensions::ManifestURL::GetHomepageURL(extension.get()).spec(), 47 extension = LoadAndExpectSuccess("homepage_externally_hosted.json"); 48 EXPECT_EQ(GURL(), extensions::ManifestURL::GetHomepageURL(extension.get())) [all...] |
extension_manifests_launch_unittest.cc | 10 #include "extensions/common/extension.h" 23 scoped_refptr<Extension> extension; local 25 extension = LoadAndExpectSuccess("launch_tab.json"); 27 AppLaunchInfo::GetLaunchContainer(extension.get())); 29 extension = LoadAndExpectSuccess("launch_panel.json"); 31 AppLaunchInfo::GetLaunchContainer(extension.get())); 33 extension = LoadAndExpectSuccess("launch_default.json"); 35 AppLaunchInfo::GetLaunchContainer(extension.get())); 37 extension = LoadAndExpectSuccess("launch_width.json") 110 scoped_refptr<Extension> extension; local [all...] |
/external/chromium_org/extensions/common/manifest_handlers/ |
kiosk_mode_info.h | 11 #include "extensions/common/extension.h" 17 struct KioskModeInfo : public Extension::ManifestData { 30 // Whether the extension or app is enabled for app kiosk mode. 31 static bool IsKioskEnabled(const Extension* extension); 33 // Whether the extension or app should only be available in kiosk mode. 34 static bool IsKioskOnly(const Extension* extension); 43 virtual bool Parse(Extension* extension, string16* error) OVERRIDE [all...] |
shared_module_info.cc | 31 const SharedModuleInfo& GetSharedModuleInfo(const Extension* extension) { 33 extension->GetManifestData(kSharedModule)); 54 Extension::IdIsValid(tokens[1])) { 67 Extension::IdIsValid(tokens[1])) { 74 bool SharedModuleInfo::IsSharedModule(const Extension* extension) { 75 CHECK(extension); 76 return extension->manifest()->is_shared_module(); 80 bool SharedModuleInfo::IsExportAllowed(const Extension* extension [all...] |
/external/clang/test/Sema/ |
empty2.c | 3 struct emp_1 { // expected-warning {{empty struct is a GNU extension}} 6 union emp_2 { // expected-warning {{empty union is a GNU extension}} 9 struct emp_3 { // expected-warning {{struct without named members is a GNU extension}} 13 union emp_4 { // expected-warning {{union without named members is a GNU extension}} 17 struct emp_5 { // expected-warning {{struct without named members is a GNU extension}} 22 union emp_6 { // expected-warning {{union without named members is a GNU extension}} 27 struct nonamed_1 { // expected-warning {{struct without named members is a GNU extension}} 31 union nonamed_2 { // expected-warning {{union without named members is a GNU extension}} 35 struct nonamed_3 { // expected-warning {{struct without named members is a GNU extension}} 40 union nonamed_4 { // expected-warning {{union without named members is a GNU extension}} [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemExtensionScript.java | 24 * Implement Script extension element 41 /** Language used in extension. 46 * Set language used by extension 49 * @param v Language used by extension 57 * Get language used by extension 60 * @return Language used by extension 67 /** Extension handler. 72 * Set Extension handler name for this extension 75 * @param v Extension handler name to se [all...] |
/external/chromium_org/chrome/common/extensions/api/identity/ |
extension_manifests_auth_unittest.cc | 18 // Produces extension ID = "mdbihdcgjmagbcapkhhkjbbdlkflmbfo". 24 "'oauth2.auto_approve' is not allowed for specified extension ID."; 101 // OAuth2 section should be parsed for an extension. 104 // Lack of "app" section representa an extension. So the base manifest 105 // itself represents an extension. 111 scoped_refptr<extensions::Extension> extension = local 113 EXPECT_TRUE(extension->install_warnings().empty()); 114 EXPECT_EQ("client1", OAuth2Info::GetOAuth2Info(extension.get()).client_id); 115 EXPECT_EQ(2U, OAuth2Info::GetOAuth2Info(extension.get()).scopes.size()) 128 scoped_refptr<extensions::Extension> extension = local 145 scoped_refptr<extensions::Extension> extension = local 163 scoped_refptr<extensions::Extension> extension = local 173 scoped_refptr<extensions::Extension> extension = local 186 scoped_refptr<extensions::Extension> extension = local 199 scoped_refptr<extensions::Extension> extension = local 212 scoped_refptr<extensions::Extension> extension = local 222 scoped_refptr<extensions::Extension> extension = local 232 scoped_refptr<extensions::Extension> extension = local 243 scoped_refptr<extensions::Extension> extension = local 296 scoped_refptr<extensions::Extension> extension = local 306 scoped_refptr<extensions::Extension> extension = local 317 scoped_refptr<extensions::Extension> extension = local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
Extensions.java | 56 Extension ext = Extension.getInstance(e.nextElement()); 66 * @param extension a single extension. 69 Extension extension) 71 this.ordering.addElement(extension.getExtnId()); 72 this.extensions.put(extension.getExtnId(), extension); local 81 Extension[] extensions [all...] |
/external/chromium/chrome/browser/extensions/ |
convert_web_app_unittest.cc | 19 #include "chrome/common/extensions/extension.h" 108 scoped_refptr<Extension> extension = ConvertWebAppToExtension( local 110 ASSERT_TRUE(extension.get()); 113 EXPECT_TRUE(extension_dir.Set(extension->path())); 115 EXPECT_TRUE(extension->is_app()); 116 EXPECT_TRUE(extension->is_hosted_app()); 117 EXPECT_FALSE(extension->is_packaged_app()); 120 extension->public_key()); 121 EXPECT_EQ("ncnbaadanljoanockmphfdkimpdedemj", extension->id()) 151 scoped_refptr<Extension> extension = ConvertWebAppToExtension( local [all...] |
image_loading_tracker_unittest.cc | 9 #include "chrome/common/extensions/extension.h" 54 scoped_refptr<Extension> CreateExtension() { 55 // Create and load an extension. 77 return Extension::Create(test_file, Extension::INVALID, *valid_value, 78 Extension::STRICT_ERROR_CHECKS, &error); 97 // Tests asking ImageLoadingTracker to cache pushes the result to the Extension. 99 scoped_refptr<Extension> extension(CreateExtension()); 100 ASSERT_TRUE(extension.get() != NULL) [all...] |
convert_user_script.h | 13 class Extension; 17 // Wraps the specified user script in an extension. The extension is created 18 // unpacked in the system temp dir. Returns a valid extension that the caller 22 // NOTE: The caller takes ownership of the directory at extension->path() on the 24 scoped_refptr<Extension> ConvertUserScriptToExtension(
|
extension_module.cc | 27 const Extension* extension = GetExtension(); local 30 ext_service->IsIncognitoEnabled(extension->id()))); 36 const Extension* extension = GetExtension(); local 39 ext_service->AllowFileAccess(extension)));
|
extension_process_manager.h | 20 class Extension; 38 virtual ExtensionHost* CreateView(const Extension* extension, 45 ExtensionHost* CreatePopup(const Extension* extension, 49 ExtensionHost* CreateInfobar(const Extension* extension, 55 // Open the extension's options page. 56 void OpenOptionsPage(const Extension* extension, Browser* browser) [all...] |
external_extension_provider_impl.cc | 25 // Constants for keeping track of extension preferences in a dictionary. 37 Extension::Location crx_location, 38 Extension::Location download_location) 72 DictionaryValue* extension; local 74 if (!Extension::IdIsValid(extension_id)) { 75 LOG(WARNING) << "Malformed extension dictionary: key " 80 if (!prefs_->GetDictionaryWithoutPathExpansion(extension_id, &extension)) { 81 LOG(WARNING) << "Malformed extension dictionary: key " 91 bool has_external_crx = extension->GetString(kExternalCrx, &external_crx); 92 bool has_external_version = extension->GetString(kExternalVersion 192 DictionaryValue* extension = NULL; local [all...] |
page_action_apitest.cc | 14 #include "chrome/common/extensions/extension.h" 21 const Extension* extension = GetSingleLoadedExtension(); local 22 ASSERT_TRUE(extension) << message_; 24 // Tell the extension to update the page action state. 27 GURL(extension->GetResourceURL("update.html"))); 34 ExtensionAction* action = extension->page_action(); 45 browser()->profile(), extension->id(), "", tab_id, "", 0); 50 // Tell the extension to update the page action state again. 53 GURL(extension->GetResourceURL("update2.html"))) 66 const Extension* extension = GetSingleLoadedExtension(); local 112 const Extension* extension = GetSingleLoadedExtension(); local 141 const Extension* extension = GetSingleLoadedExtension(); local 167 const Extension* extension = GetSingleLoadedExtension(); local [all...] |
/external/chromium_org/chrome/browser/extensions/ |
convert_web_app_unittest.cc | 23 #include "extensions/common/extension.h" 116 scoped_refptr<Extension> extension = ConvertWebAppToExtension( local 119 ASSERT_TRUE(extension.get()); 122 EXPECT_TRUE(extension_dir.Set(extension->path())); 124 EXPECT_TRUE(extension->is_app()); 125 EXPECT_TRUE(extension->is_hosted_app()); 126 EXPECT_FALSE(extension->is_legacy_packaged_app()); 129 extension->public_key()); 130 EXPECT_EQ("ncnbaadanljoanockmphfdkimpdedemj", extension->id()) 166 scoped_refptr<Extension> extension = ConvertWebAppToExtension( local [all...] |
extension_context_menu_model.h | 19 class Extension; 22 // The context menu model for extension icons. 49 // Creates a menu model for the given extension. If 53 ExtensionContextMenuModel(const extensions::Extension* extension, 57 // Create a menu model for the given extension, without support 59 ExtensionContextMenuModel(const extensions::Extension* extension, 78 void InitMenu(const extensions::Extension* extension); [all...] |
extension_service.cc | 86 #include "extensions/common/extension.h" 113 using extensions::Extension; 140 // Prompt the user this many times before considering an extension acknowledged. 153 static bool IsSharedModule(const Extension* extension) { 154 return SharedModuleInfo::IsSharedModule(extension); 157 static bool IsCWSSharedModule(const Extension* extension) { 158 return extension->from_webstore() && IsSharedModule(extension); 280 const Extension* extension = GetExtensionById(id, true); local 309 const Extension* extension = GetInstalledExtensionByUrl(url); local 512 const Extension* extension = extensions_.GetByID(lowercase_id); local 517 const Extension* extension = disabled_extensions_.GetByID(lowercase_id); local 522 const Extension* extension = terminated_extensions_.GetByID(lowercase_id); local 527 const Extension* extension = blacklisted_extensions_.GetByID(lowercase_id); local 641 const Extension& extension = **i; local 661 const Extension& extension = **i; local 679 const Extension& extension = **i; local 720 const Extension* extension = GetInstalledExtension(id); local 1004 const Extension* extension = disabled_extensions_.GetByID(extension_id); local 1061 const Extension* extension = GetInstalledExtension(extension_id); local 1331 const Extension* extension = (iter->get()); local 1372 const Extension* extension = GetInstalledExtension(moved_extension_id); local 1603 const Extension* extension = NULL; local 2032 const Extension* extension = iter->get(); local 2308 const Extension* extension = delayed_installs_.GetByID(extension_id); local 2405 const Extension* extension = terminated_extensions_.GetByID(lowercase_id); local 2431 const Extension* extension = extensions_.GetExtensionOrAppByURL(url); local 2437 const Extension* extension = extensions_.GetExtensionOrAppByURL(*url); local 2522 const extensions::Extension* extension = extensions_.GetByID(extension_id); local 2881 scoped_refptr<const Extension> extension = local 2898 scoped_refptr<const Extension> extension = GetInstalledExtension(*it); local [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
extension_set.cc | 85 GOOGLE_LOG(FATAL) << "Multiple extension registrations for type \"" 102 const ExtensionInfo* extension = local 104 if (extension == NULL) { 107 *output = *extension; 165 for (map<int, Extension>::iterator iter = extensions_.begin(); 177 map<int, Extension>::const_iterator iter = extensions_.find(number); 185 for (map<int, Extension>::const_iterator iter = extensions_.begin(); 195 map<int, Extension>::const_iterator iter = extensions_.find(number); 201 map<int, Extension>::const_iterator iter = extensions_.find(number); 203 GOOGLE_LOG(DFATAL) << "Don't lookup extension types if they aren't present (1). " 331 Extension* extension; local 360 Extension* extension; local 391 Extension* extension; local 420 Extension* extension; local 460 Extension* extension; local 492 Extension* extension; local 553 Extension* extension; local 586 Extension* extension = &iter->second; local 627 Extension* extension = &iter->second; local 637 Extension* extension = &iter->second; local 689 Extension* extension; local 771 Extension* extension; local 834 const Extension& extension = iter->second; local 880 ExtensionInfo extension; local [all...] |
/external/chromium_org/chrome/browser/extensions/api/management/ |
management_api_constants.cc | 14 "Failed to create extension from manifest."; 16 "Re-enabling an extension disabled due to permissions increase " 19 const char kNoExtensionError[] = "Failed to find extension with id *"; 20 const char kNotAnAppError[] = "Extension * is not an App"; 21 const char kUserCantModifyError[] = "Extension * cannot be modified by user"; 22 const char kUninstallCanceledError[] = "Extension * uninstall canceled by user";
|
/external/chromium_org/chrome/browser/extensions/api/module/ |
module.h | 13 namespace extension { namespace in namespace:extensions 14 // Return the extension's update URL data, if any. 17 } // namespace extension 21 DECLARE_EXTENSION_FUNCTION("extension.setUpdateUrlData", 34 DECLARE_EXTENSION_FUNCTION("extension.isAllowedIncognitoAccess", 47 DECLARE_EXTENSION_FUNCTION("extension.isAllowedFileSchemeAccess",
|
/external/chromium_org/chrome/common/extensions/api/commands/ |
commands_handler.cc | 19 // keybinding an extension can have. 31 const Extension* extension) { 33 extension->GetManifestData(keys::kCommands)); 38 const Command* CommandsInfo::GetPageActionCommand(const Extension* extension) { 40 extension->GetManifestData(keys::kCommands)); 45 const Command* CommandsInfo::GetScriptBadgeCommand(const Extension* extension) { 47 extension->GetManifestData(keys::kCommands)) [all...] |
/external/chromium_org/chrome/common/extensions/ |
extension_process_policy.h | 13 class Extension; 15 // Returns the extension for the given URL. Excludes extension objects for 17 const Extension* GetNonBookmarkAppExtension(const ExtensionSet& extensions, 21 // an extension process boundary (e.g. navigating from a web URL into an 22 // extension URL).
|
/external/chromium_org/chrome/common/extensions/manifest_handlers/ |
nacl_modules_handler.h | 11 #include "extensions/common/extension.h" 16 // An NaCl module included in the extension. 21 const Extension* extension); 33 virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
|
/external/clang/test/SemaCXX/ |
warn-c++11-extensions.cpp | 3 long long ll1 = // expected-warning {{'long long' is a C++11 extension}} 4 -42LL; // expected-warning {{'long long' is a C++11 extension}} 5 unsigned long long ull1 = // expected-warning {{'long long' is a C++11 extension}} 6 42ULL; // expected-warning {{'long long' is a C++11 extension}} 8 enum struct E1 { A, B }; // expected-warning {{scoped enumerations are a C++11 extension}} 9 enum class E2 { C, D }; // expected-warning {{scoped enumerations are a C++11 extension}}
|