Searched refs:extension (Results 1 - 25 of 2483) sorted by relevance

1234567891011>>

/external/chromium_org/tools/gn/
H A Dsource_file_type.cc11 base::StringPiece extension = FindExtension(&file.value()); local
12 if (extension == "cc" || extension == "cpp" || extension == "cxx")
14 if (extension == "h")
16 if (extension == "c")
18 if (extension == "m")
20 if (extension == "mm")
22 if (extension == "rc")
24 if (extension
[all...]
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebScriptController.cpp38 void WebScriptController::registerExtension(v8::Extension* extension) argument
40 ScriptController::registerExtensionIfNeeded(extension);
/external/chromium_org/third_party/WebKit/Source/platform/clipboard/
H A DClipboardUtilitiesPosix.cpp46 void validateFilename(String& name, String& extension) argument
50 extension = extension.removeCharacters(&isInvalidFileCharacter);
52 // Remove a ridiculously-long extension.
53 if (extension.length() >= maxFilenameLength)
54 extension = String();
57 name.truncate(maxFilenameLength - extension.length() - 1);
/external/chromium_org/extensions/browser/
H A Druntime_data.cc8 #include "extensions/common/extension.h"
21 bool RuntimeData::IsBackgroundPageReady(const Extension* extension) const {
22 if (!BackgroundInfo::HasPersistentBackgroundPage(extension))
24 return HasFlag(extension, BACKGROUND_PAGE_READY);
27 void RuntimeData::SetBackgroundPageReady(const Extension* extension, argument
29 SetFlag(extension, BACKGROUND_PAGE_READY, value);
32 bool RuntimeData::IsBeingUpgraded(const Extension* extension) const {
33 return HasFlag(extension, BEING_UPGRADED);
36 void RuntimeData::SetBeingUpgraded(const Extension* extension, bool value) { argument
37 SetFlag(extension, BEING_UPGRADE
44 SetHasUsedWebRequest(const Extension* extension, bool value) argument
56 OnExtensionUnloaded(content::BrowserContext* browser_context, const Extension* extension, UnloadedExtensionInfo::Reason reason) argument
62 HasFlag(const Extension* extension, RuntimeFlag flag) const argument
69 SetFlag(const Extension* extension, RuntimeFlag flag, bool value) argument
[all...]
H A Dextension_registry.cc40 void ExtensionRegistry::TriggerOnLoaded(const Extension* extension) { argument
41 DCHECK(enabled_extensions_.Contains(extension->id()));
44 OnExtensionLoaded(browser_context_, extension));
48 const Extension* extension,
50 DCHECK(!enabled_extensions_.Contains(extension->id()));
53 OnExtensionUnloaded(browser_context_, extension, reason));
56 void ExtensionRegistry::TriggerOnWillBeInstalled(const Extension* extension, argument
61 GenerateInstalledExtensionsSet()->Contains(extension->id()));
67 browser_context_, extension, is_update, from_ephemeral, old_name));
70 void ExtensionRegistry::TriggerOnInstalled(const Extension* extension, argument
47 TriggerOnUnloaded( const Extension* extension, UnloadedExtensionInfo::Reason reason) argument
79 TriggerOnUninstalled(const Extension* extension, UninstallReason reason) argument
92 const Extension* extension = enabled_extensions_.GetByID(lowercase_id); local
97 const Extension* extension = disabled_extensions_.GetByID(lowercase_id); local
102 const Extension* extension = terminated_extensions_.GetByID(lowercase_id); local
107 const Extension* extension = blacklisted_extensions_.GetByID(lowercase_id); local
114 AddEnabled( const scoped_refptr<const Extension>& extension) argument
123 AddDisabled( const scoped_refptr<const Extension>& extension) argument
132 AddTerminated( const scoped_refptr<const Extension>& extension) argument
141 AddBlacklisted( const scoped_refptr<const Extension>& extension) argument
[all...]
/external/chromium_org/chrome/browser/resources/memory_internals/
H A Dextension_view.css5 #extension-view .extension-id {
10 #extension-view .extension-info {
14 #extension-view .extension-memory {
20 #extension-template {
/external/chromium_org/chrome/common/extensions/manifest_tests/
H A Dextension_manifests_devtools_unittest.cc7 #include "extensions/common/extension.h"
19 scoped_refptr<extensions::Extension> extension; local
20 extension = LoadAndExpectSuccess("devtools_extension.json");
21 EXPECT_EQ(extension->url().spec() + "devtools.html",
22 extensions::ManifestURL::GetDevToolsPage(extension.get()).spec());
23 EXPECT_TRUE(extension->permissions_data()->HasEffectiveAccessToAllHosts());
H A Dextension_manifests_dummy_unittest.cc10 scoped_refptr<Extension> extension = local
12 EXPECT_EQ(0u, extension->install_warnings().size());
16 scoped_refptr<Extension> extension = local
H A Dextension_manifests_kiosk_unittest.cc6 #include "extensions/common/extension.h"
22 scoped_refptr<Extension> extension(
24 EXPECT_FALSE(KioskModeInfo::IsKioskEnabled(extension.get()));
28 scoped_refptr<Extension> extension(
30 EXPECT_FALSE(KioskModeInfo::IsKioskEnabled(extension.get()));
34 scoped_refptr<Extension> extension(
36 EXPECT_FALSE(KioskModeInfo::IsKioskEnabled(extension.get()));
40 scoped_refptr<Extension> extension(
42 EXPECT_TRUE(KioskModeInfo::IsKioskEnabled(extension.get()));
46 scoped_refptr<Extension> extension(
[all...]
H A Dextension_manifests_default_extent_path_unittest.cc6 #include "extensions/common/extension.h"
10 scoped_refptr<extensions::Extension> extension(
13 ASSERT_EQ(1u, extension->web_extent().patterns().size());
14 EXPECT_EQ("/*", extension->web_extent().patterns().begin()->path());
15 EXPECT_TRUE(extension->web_extent().MatchesURL(
H A Dextension_manifests_options_unittest.cc22 scoped_refptr<Extension> extension = local
25 OptionsPageInfo::GetOptionsPage(extension.get()).spec());
27 extension = LoadAndExpectSuccess("platform_app_with_options_page.json");
28 EXPECT_TRUE(!OptionsPageInfo::HasOptionsPage(extension.get()));
52 scoped_refptr<Extension> extension = local
54 EXPECT_EQ(base::StringPrintf("chrome-extension://%s/options.html",
55 extension.get()->id().c_str()),
56 OptionsPageInfo::GetOptionsPage(extension.get()).spec());
58 extension = LoadAndExpectSuccess("options_ui_page_with_legacy_page.json");
59 EXPECT_EQ(base::StringPrintf("chrome-extension
73 scoped_refptr<Extension> extension = local
94 scoped_refptr<Extension> extension = local
[all...]
H A Dextension_manifests_override_unittest.cc23 scoped_refptr<extensions::Extension> extension; local
25 extension = LoadAndExpectSuccess("override_new_tab.json");
26 EXPECT_EQ(extension->url().spec() + "newtab.html",
27 extensions::URLOverrides::GetChromeURLOverrides(extension.get())
30 extension = LoadAndExpectSuccess("override_history.json");
31 EXPECT_EQ(extension->url().spec() + "history.html",
32 extensions::URLOverrides::GetChromeURLOverrides(extension.get())
/external/chromium_org/chrome/common/extensions/
H A Dsync_helper.h14 // NOTE: The check in the functions here only considers the data in extension
15 // itself, not the environment it is in. To determine whether an extension
19 // Returns true if the extension should be synced.
20 bool IsSyncable(const Extension* extension);
22 // Returns true if the extension uses the sync bucket of this type.
23 bool IsSyncableExtension(const Extension* extension);
24 bool IsSyncableApp(const Extension* extension);
H A Dsync_helper.cc12 #include "extensions/common/extension.h"
27 SyncType GetSyncType(const Extension* extension) { argument
28 if (!IsSyncable(extension)) {
37 if (!ManifestURL::GetUpdateURL(extension).is_empty() &&
38 !ManifestURL::UpdatesFromGallery(extension)) {
46 if (PluginInfo::HasPlugins(extension) ||
47 extension->permissions_data()->HasAPIPermission(APIPermission::kPlugin)) {
51 switch (extension->GetType()) {
57 if (ManifestURL::UpdatesFromGallery(extension))
82 bool IsSyncable(const Extension* extension) { argument
98 IsSyncableExtension(const Extension* extension) argument
102 IsSyncableApp(const Extension* extension) argument
[all...]
H A Dextension_unittest.cc16 #include "extensions/common/extension.h"
61 // Check that no install source can override a componenet extension.
88 scoped_refptr<Extension> extension = LoadManifestStrict("empty_manifest", local
90 EXPECT_TRUE(extension.get());
92 EXPECT_EQ(extension->url().spec() + "bar/baz.js",
93 Extension::GetResourceURL(extension->url(), "bar/baz.js").spec());
94 EXPECT_EQ(extension->url().spec() + "baz.js",
95 Extension::GetResourceURL(extension->url(),
97 EXPECT_EQ(extension->url().spec() + "baz.js",
98 Extension::GetResourceURL(extension
162 scoped_refptr<Extension> extension = LoadManifestStrict("empty_manifest", local
172 scoped_refptr<Extension> extension = LoadManifestStrict("absolute_path", local
235 scoped_refptr<Extension> extension; local
311 scoped_refptr<Extension> extension; local
[all...]
/external/chromium_org/chrome/renderer/
H A Dplayback_extension.cc14 v8::Extension* extension = new v8::Extension( local
45 return extension;
/external/chromium_org/chrome/browser/extensions/
H A Dactive_script_controller_unittest.cc20 #include "extensions/common/extension.h"
36 // of the controller itself (when to allow/deny extension script injection).
45 // Creates an extension with all hosts permission and adds it to the registry.
51 // Returns true if the |extension| requires user consent before injecting
53 bool RequiresUserConsent(const Extension* extension) const;
55 // Request an injection for the given |extension|.
56 void RequestInjection(const Extension* extension);
58 // Returns the number of times a given extension has had a script execute.
66 // Returns a closure to use as a script execution for a given extension.
82 // The map of observed executions, keyed by extension i
132 RequestInjection( const Extension* extension) argument
176 const Extension* extension = AddExtension(); local
232 const Extension* extension = AddExtension(); local
263 const Extension* extension = AddExtension(); local
284 const Extension* extension = AddExtension(); local
330 const Extension* extension = AddExtension(); local
354 const Extension* extension = AddExtension(); local
[all...]
H A Dextension_ui_util.cc13 #include "extensions/common/extension.h"
32 bool ShouldDisplayInAppLauncher(const Extension* extension, argument
34 return CanDisplayInAppLauncher(extension, context) &&
35 !util::IsEphemeralApp(extension->id(), context);
38 bool CanDisplayInAppLauncher(const Extension* extension, argument
40 return extension->ShouldDisplayInAppLauncher() &&
41 !IsBlockedByPolicy(extension, context);
44 bool ShouldDisplayInNewTabPage(const Extension* extension, argument
46 return extension->ShouldDisplayInNewTabPage() &&
47 !IsBlockedByPolicy(extension, contex
51 ShouldDisplayInExtensionSettings(const Extension* extension, content::BrowserContext* context) argument
57 ShouldNotBeVisible(const Extension* extension, content::BrowserContext* context) argument
[all...]
H A Dextension_webkit_preferences.cc10 #include "extensions/common/extension.h"
15 void SetPreferences(const extensions::Extension* extension, argument
18 if (!extension)
21 if (!extension->is_hosted_app()) {
32 if (extension->is_platform_app()) {
H A Dextension_storage_monitor_browsertest.cc112 const Extension* extension = InstallExtension(path, 1); local
113 EXPECT_TRUE(extension);
114 return extension;
124 const Extension* extension = InstallEphemeralAppWithSourceAndFlags( local
126 EXPECT_TRUE(extension);
127 return extension;
142 void WriteBytesExpectingNotification(const Extension* extension, argument
144 int64 previous_threshold = GetNextStorageThreshold(extension->id());
145 WriteBytes(extension, num_bytes, true);
146 EXPECT_GT(GetNextStorageThreshold(extension
149 WriteBytesNotExpectingNotification(const Extension* extension, int num_bytes) argument
176 WriteBytes(const Extension* extension, int num_bytes, bool expected_notification) argument
207 const Extension* extension = InitWriteDataApp(); local
214 const Extension* extension = InitWriteDataApp(); local
222 const Extension* extension = InitWriteDataApp(); local
231 const Extension* extension = InitWriteDataApp(); local
244 const Extension* extension = InitWriteDataApp(); local
269 const Extension* extension = InitWriteDataEphemeralApp(); local
298 const Extension* extension = InitWriteDataEphemeralApp(); local
319 const Extension* extension = InitWriteDataApp(); local
327 const Extension* extension = InitWriteDataApp(); local
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
H A DActionRegistry.js21 * @param {!Runtime.Extension} extension
24 function registerExtension(extension)
26 var actionId = extension.descriptor()["actionId"];
29 this._actionsById.set(actionId, extension);
42 var extension = this._actionsById.get(actionId);
43 if (extension)
44 extensions.push(extension);
46 return context.applicableExtensions(extensions).values().map(function(extension) {
47 return extension.descriptor()["actionId"];
57 var extension
[all...]
/external/chromium_org/third_party/cython/src/Cython/Distutils/
H A D__init__.py2 from Cython.Distutils.extension import Extension
/external/proguard/src/proguard/util/
H A DExtensionMatcher.java24 * This StringMatcher tests whether strings end in a given extension, ignoring
31 private final String extension; field in class:ExtensionMatcher
36 * @param extension the extension against which strings will be matched.
38 public ExtensionMatcher(String extension) argument
40 this.extension = extension;
48 return endsWithIgnoreCase(string, extension);
/external/chromium_org/chrome/common/extensions/permissions/
H A Dpermissions_data_unittest.cc15 #include "extensions/common/extension.h"
42 scoped_refptr<Extension> extension,
47 return extension->permissions_data()->CheckAPIPermissionWithParam(
51 // Creates and returns an extension with the given |id|, |host_permissions|, and
65 .Set("description", "an extension")
75 // Checks that urls are properly restricted for the given extension.
76 void CheckRestrictedUrls(const Extension* extension, argument
78 // We log the name so we know _which_ extension failed here.
79 const std::string& name = extension->name();
81 const GURL chrome_extension_url("chrome-extension
41 CheckSocketPermission( scoped_refptr<Extension> extension, SocketPermissionRequest::OperationType type, const char* host, int port) argument
146 scoped_refptr<Extension> extension; local
221 scoped_refptr<Extension> extension; local
256 scoped_refptr<const Extension> extension = local
277 scoped_refptr<Extension> extension; local
293 scoped_refptr<Extension> extension; local
308 scoped_refptr<Extension> extension; local
320 scoped_refptr<Extension> extension; local
331 scoped_refptr<Extension> extension; local
375 AllowedScript(const Extension* extension, const GURL& url, const GURL& top_url) argument
380 AllowedScript(const Extension* extension, const GURL& url, const GURL& top_url, int tab_id) argument
386 BlockedScript(const Extension* extension, const GURL& url, const GURL& top_url) argument
392 Allowed(const Extension* extension, const GURL& url) argument
396 Allowed(const Extension* extension, const GURL& url, int tab_id) argument
402 CaptureOnly(const Extension* extension, const GURL& url) argument
406 CaptureOnly(const Extension* extension, const GURL& url, int tab_id) argument
412 ScriptOnly(const Extension* extension, const GURL& url, const GURL& top_url) argument
417 ScriptOnly(const Extension* extension, const GURL& url, const GURL& top_url, int tab_id) argument
423 Blocked(const Extension* extension, const GURL& url) argument
427 Blocked(const Extension* extension, const GURL& url, int tab_id) argument
434 ScriptAllowedExclusivelyOnTab( const Extension* extension, const std::set<GURL>& allowed_urls, int tab_id) argument
472 scoped_refptr<Extension> extension = LoadManifestStrict("script_and_capture", local
568 scoped_refptr<Extension> extension; local
662 scoped_refptr<Extension> extension = local
[all...]
/external/smack/src/org/jivesoftware/smackx/
H A DMultipleRecipientInfo.java28 * MultipleRecipientInfo keeps information about the multiple recipients extension included
35 MultipleAddresses extension; field in class:MultipleRecipientInfo
37 MultipleRecipientInfo(MultipleAddresses extension) { argument
38 this.extension = extension;
48 return extension.getAddressesOfType(MultipleAddresses.TO);
58 return extension.getAddressesOfType(MultipleAddresses.CC);
71 List<MultipleAddresses.Address> replyRoom = extension.getAddressesOfType(MultipleAddresses.REPLY_ROOM);
83 return !extension.getAddressesOfType(MultipleAddresses.NO_REPLY).isEmpty();
95 List<MultipleAddresses.Address> replyTo = extension
[all...]

Completed in 614 milliseconds

1234567891011>>