HomeSort by relevance Sort by last modified time
    Searched refs:extension (Results 176 - 200 of 2101) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/protobuf/java/src/main/java/com/google/protobuf/
ExtensionRegistry.java 78 * privileged class by registering itself as an extension of the right type.
81 * extension until it is first requested, at which point the caller must
83 * it would require a mutex lock any time an extension was accessed, which
112 /** The extension's descriptor. */
116 * A default instance of the extension's type, if it has a message type.
133 * Find an extension by fully-qualified field name, in the proto namespace.
137 * @return Information about the extension if found, or {@code null}
145 * Find an extension by containing type and field number.
147 * @return Information about the extension if found, or {@code null}
156 /** Add an extension from a generated file to the registry. *
225 extensionsByName.put(extension.descriptor.getFullName(), extension); local
239 extensionsByName.put(field.getMessageType().getFullName(), extension); local
    [all...]
  /external/chromium/chrome/browser/sync/glue/
extension_sync_traits.cc 13 #include "chrome/common/extensions/extension.h"
53 if (!entity_specifics.HasExtension(sync_pb::extension)) {
56 *extension_specifics = entity_specifics.GetExtension(sync_pb::extension);
60 bool IsSyncableExtension(Extension::Type type, const GURL& update_url) {
62 case Extension::TYPE_EXTENSION:
64 case Extension::TYPE_USER_SCRIPT:
72 bool IsValidAndSyncableExtension(const Extension& extension) {
74 IsExtensionValid(extension) &&
75 IsSyncableExtension(extension.GetType(), extension.update_url())
    [all...]
  /external/chromium/chrome/common/extensions/
extension_unittest.cc 5 #include "chrome/common/extensions/extension.h"
64 ASSERT_EQ(0, Extension::INVALID);
65 ASSERT_EQ(1, Extension::INTERNAL);
66 ASSERT_EQ(2, Extension::EXTERNAL_PREF);
67 ASSERT_EQ(3, Extension::EXTERNAL_REGISTRY);
68 ASSERT_EQ(4, Extension::LOAD);
69 ASSERT_EQ(5, Extension::COMPONENT);
70 ASSERT_EQ(6, Extension::EXTERNAL_PREF_DOWNLOAD);
71 ASSERT_EQ(7, Extension::EXTERNAL_POLICY_DOWNLOAD);
75 for (int i = 0; i < Extension::NUM_LOCATIONS; i++)
126 Extension& extension = *extension_ptr; local
389 Extension& extension = *extension_ptr; local
460 Extension& extension = *extension_ptr; local
523 Extension& extension = *extension_ptr; local
835 scoped_refptr<Extension> extension = Extension::Create( local
849 scoped_refptr<Extension> extension; local
1199 scoped_refptr<Extension> extension; local
1210 scoped_refptr<Extension> extension; local
1219 scoped_refptr<Extension> extension; local
1234 scoped_refptr<Extension> extension; local
1329 scoped_refptr<Extension> extension = Extension::Create( local
1360 scoped_refptr<Extension> extension; local
    [all...]
extension_sidebar_utils.cc 7 #include "chrome/common/extensions/extension.h"
26 const Extension* extension,
28 GURL url(extension->GetResourceURL(relative_path));
  /external/chromium/chrome/browser/extensions/
extension_host_mac.h 15 ExtensionHostMac(const Extension* extension, SiteInstance* site_instance,
17 ExtensionHost(extension, site_instance, url, host_type) {}
extension_toolbar_model.h 10 #include "chrome/common/extensions/extension.h"
31 // An extension with a browser action button has been added, and should go
33 virtual void BrowserActionAdded(const Extension* extension, int index) {}
35 // The browser action button for |extension| should no longer show.
36 virtual void BrowserActionRemoved(const Extension* extension) {}
38 // The browser action button for |extension| has been moved to |index|.
39 virtual void BrowserActionMoved(const Extension* extension, int index) {
    [all...]
  /external/chromium/chrome/browser/ui/app_modal_dialogs/
message_box_handler.cc 30 const Extension* extension = local
32 if (!extension)
33 extension = extensions_service->GetExtensionByWebExtent(frame_url);
35 if (extension && (extension->location() == Extension::COMPONENT)) {
37 } else if (extension && !extension->name().empty()) {
38 return UTF8ToWide(extension->name())
    [all...]
  /external/chromium_org/chrome/browser/chromeos/screensaver/
screensaver_controller_browsertest.cc 17 scoped_refptr<extensions::Extension> CreateTestScreensaverExtension() {
18 scoped_refptr<extensions::Extension> extension = local
22 .Set("name", "Screensaver Extension")
32 return extension;
35 void InstallExtensionToDefaultProfile(const extensions::Extension* extension) {
42 service->AddExtension(extension);
53 scoped_refptr<extensions::Extension> extension(
    [all...]
  /external/chromium_org/chrome/browser/extensions/
alert_apitest.cc 13 #include "chrome/common/extensions/extension.h"
20 const extensions::Extension* extension = GetSingleLoadedExtension(); local
23 process_manager()->GetBackgroundHostForExtension(extension->id());
  /external/chromium_org/chrome/browser/ui/cocoa/extensions/
extension_install_prompt_test_utils.h 33 // Loads the install prompt test extension.
34 scoped_refptr<extensions::Extension> LoadInstallPromptExtension();
36 // Loads the icon for the install prompt extension.
39 // Builds a prompt using the given extension.
41 extensions::Extension* extension);
44 extensions::Extension* extension);
  /external/chromium_org/chrome/common/extensions/api/extension_action/
browser_action_handler.h 11 #include "chrome/common/extensions/extension.h"
22 virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
23 virtual bool Validate(const Extension* extension,
page_action_handler.h 11 #include "chrome/common/extensions/extension.h"
22 virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
23 virtual bool Validate(const Extension* extension,
script_badge_handler.h 11 #include "chrome/common/extensions/extension.h"
22 virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
28 // extension's title and icons. Performed whether or not the script_badge key
30 void SetActionInfoDefaults(const Extension* extension, ActionInfo* info);
  /external/chromium_org/chrome/common/extensions/api/storage/
storage_schema_manifest_handler.cc 16 #include "chrome/common/extensions/extension.h"
33 const Extension* extension,
35 if (!extension->HasAPIPermission(APIPermission::kStorage)) {
41 extension->manifest()->GetString(kStorageManagedSchema, &path);
48 file = extension->path().AppendASCII(path);
62 bool StorageSchemaManifestHandler::Parse(Extension* extension,
65 if (!extension->manifest()->GetString(kStorageManagedSchema, &path)) {
74 const Extension* extension
    [all...]
  /external/chromium_org/chrome/common/extensions/
incognito_handler.h 9 #include "chrome/common/extensions/extension.h"
14 struct IncognitoInfo : public Extension::ManifestData {
18 // If true, a separate process will be used for the extension in incognito
22 // Return the incognito mode information for the given |extension|.
23 static bool IsSplitMode(const Extension* extension);
32 virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
sync_type_unittest.cc 7 #include "chrome/common/extensions/extension.h"
23 EXTENSION,
29 static scoped_refptr<Extension> MakeSyncTestExtensionWithPluginPermission(
71 scoped_refptr<Extension> extension = Extension::Create( local
74 EXPECT_TRUE(extension.get());
76 EXPECT_FALSE(extension.get());
78 return extension;
81 static scoped_refptr<Extension> MakeSyncTestExtension
    [all...]
  /external/chromium_org/chrome/common/extensions/manifest_handlers/
app_isolation_info.h 11 #include "chrome/common/extensions/extension.h"
17 struct AppIsolationInfo : public Extension::ManifestData {
21 static bool HasIsolatedStorage(const Extension* extension);
23 // Whether this extension requests isolated storage.
33 virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
kiosk_enabled_info.h 11 #include "chrome/common/extensions/extension.h"
17 struct KioskEnabledInfo : public Extension::ManifestData {
23 // Whether the extension or app should be enabled in app kiosk mode.
24 static bool IsKioskEnabled(const Extension* extension);
33 virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
nacl_modules_handler.h 11 #include "chrome/common/extensions/extension.h"
16 // An NaCl module included in the extension.
21 const Extension* extension);
33 virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
offline_enabled_info.h 11 #include "chrome/common/extensions/extension.h"
17 struct OfflineEnabledInfo : public Extension::ManifestData {
21 // Whether the extension or app should be enabled when offline.
25 static bool IsOfflineEnabled(const Extension* extension);
34 virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
  /external/chromium_org/chrome/renderer/extensions/
resource_request_policy.cc 11 #include "chrome/common/extensions/extension.h"
27 // This method does a security check whether chrome-extension:// URLs can be
41 const Extension* extension = local
43 if (!extension) {
44 // Allow the load in the case of a non-existent extension. We'll just get a
56 if (extension->is_hosted_app() &&
57 !IconsInfo::GetIcons(extension)
64 // Disallow loading of extension resources which are not explicitly listed
67 extension, resource_url.path()) &
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/
MIMETypeRegistry.h 38 static String getMIMETypeForExtension(const String& extension);
39 static String getWellKnownMIMETypeForExtension(const String& extension);
  /external/srec/srec/include/
duk_io.h 39 #define OS_EXT_DELIM '.' /* OS Filename Extension Delimeter */
40 #define TCP_EXT "tcp" /* Transcription Extension */
41 #define MDL_EXT "mdl" /* Model Extension */
59 int check_file_extension(char *filename, char *extension);
60 void get_file_extension(char *filename, char *extension);
  /frameworks/base/core/java/android/webkit/
MimeTypeMap.java 37 * Returns the file extension or an empty string iff there is no
38 * extension. This method is a convenience method for obtaining the
39 * extension of a url and has undefined results for other Strings.
41 * @return The file extension of the given url.
83 * Return the MIME type for the given extension.
84 * @param extension A file extension without the leading '.'
85 * @return The MIME type for the given extension or null iff there is none.
87 public String getMimeTypeFromExtension(String extension) {
88 return MimeUtils.guessMimeTypeFromExtension(extension);
142 String extension = getFileExtensionFromUrl(url); local
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/developer_private/
developer_private_apitest.cc 10 using extensions::Extension;
28 const Extension* extension = LoadExtension(path.AppendASCII(name)); local
29 ASSERT_TRUE(extension);
30 extension_name_to_ids_[name] = extension->id();
36 const Extension* extension = InstallExtension(path.AppendASCII(name), 1, local
38 ASSERT_TRUE(extension);
39 extension_name_to_ids_[name] = extension->id();

Completed in 414 milliseconds

1 2 3 4 5 6 78 91011>>