Searched refs:extension_id (Results 1 - 25 of 835) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/extensions/api/identity/
H A Dextension_token_key.cc9 ExtensionTokenKey::ExtensionTokenKey(const std::string& extension_id, argument
12 : extension_id(extension_id), account_id(account_id), scopes(scopes) {}
17 if (extension_id < rhs.extension_id)
19 else if (rhs.extension_id < extension_id)
/external/chromium_org/chrome/browser/media_galleries/
H A Dmedia_scan_manager_observer.h15 virtual void OnScanStarted(const std::string& extension_id) {} argument
16 virtual void OnScanCancelled(const std::string& extension_id) {} argument
18 const std::string& extension_id,
21 virtual void OnScanError(const std::string& extension_id) {} argument
17 OnScanFinished( const std::string& extension_id, int gallery_count, const MediaGalleryScanResult& file_counts) argument
/external/chromium_org/extensions/browser/
H A Dextension_util.cc13 bool IsExtensionInstalledPermanently(const std::string& extension_id, argument
16 GetExtensionById(extension_id, ExtensionRegistry::EVERYTHING);
17 return extension && !IsEphemeralApp(extension_id, context);
20 bool IsEphemeralApp(const std::string& extension_id, argument
22 return ExtensionPrefs::Get(context)->IsEphemeralApp(extension_id);
H A Dextension_prefs_observer.h19 virtual void OnExtensionDisableReasonsChanged(const std::string& extension_id, argument
23 virtual void OnExtensionRegistered(const std::string& extension_id, argument
28 virtual void OnExtensionPrefsLoaded(const std::string& extension_id, argument
32 virtual void OnExtensionPrefsDeleted(const std::string& extension_id) {} argument
35 virtual void OnExtensionStateChanged(const std::string& extension_id, argument
H A Dprocess_map.cc23 : extension_id(other.extension_id),
28 Item(const std::string& extension_id, int process_id, argument
30 : extension_id(extension_id),
39 if (extension_id < other.extension_id)
42 if (extension_id == other.extension_id &&
47 if (extension_id
56 std::string extension_id; member in struct:extensions::ProcessMap::Item
74 Insert(const std::string& extension_id, int process_id, int site_instance_id) argument
79 Remove(const std::string& extension_id, int process_id, int site_instance_id) argument
97 Contains(const std::string& extension_id, int process_id) const argument
[all...]
H A Dextension_scoped_prefs.h23 // Reads a boolean pref |pref_key| from extension with id |extension_id|.
24 virtual bool ReadPrefAsBoolean(const std::string& extension_id,
28 // Reads an integer pref |pref_key| from extension with id |extension_id|.
29 virtual bool ReadPrefAsInteger(const std::string& extension_id,
33 // Reads a string pref |pref_key| from extension with id |extension_id|.
34 virtual bool ReadPrefAsString(const std::string& extension_id,
38 // Reads a list pref |pref_key| from extension with id |extension_id|.
39 virtual bool ReadPrefAsList(const std::string& extension_id,
43 // Reads a dictionary pref |pref_key| from extension with id |extension_id|.
45 const std::string& extension_id,
[all...]
H A Dextension_error_test_util.h20 const std::string& extension_id,
26 const std::string& extension_id, const std::string& message);
30 const std::string& extension_id, const std::string& mnessage);
H A Dextension_prefs.h103 const std::string& extension_id,
171 // Checks whether |extension_id| is disabled. If there's no state pref for
201 void OnExtensionUninstalled(const std::string& extension_id,
206 void SetExtensionState(const std::string& extension_id, Extension::State);
211 void SetExtensionBlacklistState(const std::string& extension_id,
214 // Checks whether |extension_id| is marked as greylisted.
216 BlacklistState GetExtensionBlacklistState(const std::string& extension_id);
228 virtual bool ReadPrefAsBoolean(const std::string& extension_id,
232 virtual bool ReadPrefAsInteger(const std::string& extension_id,
236 virtual bool ReadPrefAsString(const std::string& extension_id,
[all...]
/external/chromium_org/extensions/browser/api/storage/
H A Dleveldb_settings_storage_factory.cc16 const std::string& extension_id) {
17 return base_path.AppendASCII(extension_id);
24 const std::string& extension_id) {
25 return new LeveldbValueStore(GetDatabasePath(base_path, extension_id));
30 const std::string& extension_id) {
31 base::FilePath path = GetDatabasePath(base_path, extension_id);
15 GetDatabasePath(const base::FilePath& base_path, const std::string& extension_id) argument
22 Create( const base::FilePath& base_path, const std::string& extension_id) argument
28 DeleteDatabaseIfExists( const base::FilePath& base_path, const std::string& extension_id) argument
/external/chromium_org/chrome/browser/extensions/api/push_messaging/
H A Dpush_messaging_invalidation_mapper.h18 // Informs the mapper that |extension_id| was just installed. The mapper uses
22 const std::string& extension_id) = 0;
24 // Register/unregister the object IDs associated with |extension_id|.
25 virtual void RegisterExtension(const std::string& extension_id) = 0;
26 virtual void UnregisterExtension(const std::string& extension_id) = 0;
/external/chromium_org/chrome/browser/extensions/
H A Dinstall_observer.cc10 std::string extension_id,
15 : extension_id(extension_id),
9 ExtensionInstallParams( std::string extension_id, std::string extension_name, gfx::ImageSkia installing_icon, bool is_app, bool is_platform_app) argument
H A Dactive_install_data.cc17 ActiveInstallData::ActiveInstallData(const std::string& extension_id) argument
18 : extension_id(extension_id), percent_downloaded(0), is_ephemeral(false) {
27 extension_id_(install_data.extension_id) {
33 const std::string& extension_id)
34 : tracker_(tracker), tracker_observer_(this), extension_id_(extension_id) {
32 ScopedActiveInstall(InstallTracker* tracker, const std::string& extension_id) argument
H A Dbrowsertest_util.cc18 const std::string& extension_id,
23 manager->GetBackgroundHostForExtension(extension_id);
25 ADD_FAILURE() << "Extension " << extension_id << " has no background page.";
38 const std::string& extension_id,
43 manager->GetBackgroundHostForExtension(extension_id);
45 ADD_FAILURE() << "Extension " << extension_id << " has no background page.";
17 ExecuteScriptInBackgroundPage(Profile* profile, const std::string& extension_id, const std::string& script) argument
37 ExecuteScriptInBackgroundPageNoWait(Profile* profile, const std::string& extension_id, const std::string& script) argument
H A Dinstall_tracker.cc58 const std::string& extension_id) const {
60 active_installs_.find(extension_id);
68 DCHECK(!install_data.extension_id.empty());
69 DCHECK(active_installs_.find(install_data.extension_id) ==
72 std::make_pair(install_data.extension_id, install_data));
75 void InstallTracker::RemoveActiveInstall(const std::string& extension_id) { argument
76 active_installs_.erase(extension_id);
82 active_installs_.find(params.extension_id);
84 ActiveInstallData install_data(params.extension_id);
86 active_installs_.insert(std::make_pair(params.extension_id, install_dat
93 OnBeginExtensionDownload(const std::string& extension_id) argument
98 OnDownloadProgress(const std::string& extension_id, int percent_downloaded) argument
112 OnBeginCrxInstall(const std::string& extension_id) argument
117 OnFinishCrxInstall(const std::string& extension_id, bool success) argument
123 OnInstallFailure( const std::string& extension_id) argument
[all...]
H A Dbrowsertest_util.h17 // an empty string if |extension_id| isn't installed in |profile| or doesn't
20 const std::string& extension_id,
24 // to return a result. Fails the test and returns false if |extension_id|
28 const std::string& extension_id,
H A Dchrome_extension_web_contents_observer.cc59 std::string extension_id = GetExtensionId(render_view_host); local
60 if (extension_id.empty())
61 extension_id = GURL(source).host();
65 new RuntimeError(extension_id,
78 std::string extension_id = GetExtensionId(render_view_host); local
79 if (extension_id.empty())
88 if (registry->GetExtensionById(extension_id, ExtensionRegistry::TERMINATED)) {
90 extension_service()->ReloadExtension(extension_id);
/external/chromium_org/chrome/browser/extensions/api/content_settings/
H A Dcontent_settings_service.cc36 const std::string& extension_id,
40 extension_id, install_time, is_enabled);
44 const std::string& extension_id,
48 extension_id, pref_names::kPrefContentSettings, &content_settings)) {
50 extension_id, content_settings, kExtensionPrefsScopeRegular);
52 if (prefs->ReadPrefAsList(extension_id,
56 extension_id,
63 const std::string& extension_id) {
64 content_settings_store_->UnregisterExtension(extension_id);
68 const std::string& extension_id,
35 OnExtensionRegistered( const std::string& extension_id, const base::Time& install_time, bool is_enabled) argument
43 OnExtensionPrefsLoaded( const std::string& extension_id, const ExtensionPrefs* prefs) argument
62 OnExtensionPrefsDeleted( const std::string& extension_id) argument
67 OnExtensionStateChanged( const std::string& extension_id, bool state) argument
[all...]
/external/chromium_org/chrome/browser/extensions/api/webstore/
H A Dwebstore_api.cc26 const std::string& extension_id,
31 std::string extension_id; member in struct:extensions::WebstoreAPI::ObservedInstallInfo
37 const std::string& extension_id,
40 extension_id(extension_id),
62 const std::string& extension_id,
66 ObservedInstallInfo(routing_id, extension_id, ipc_sender));
71 ObservedInstallInfo(routing_id, extension_id, ipc_sender));
76 const std::string& extension_id) {
77 RemoveListeners(routing_id, extension_id,
35 ObservedInstallInfo( int routing_id, const std::string& extension_id, IPC::Sender* ipc_sender) argument
60 OnInlineInstallStart(int routing_id, IPC::Sender* ipc_sender, const std::string& extension_id, int listeners_mask) argument
75 OnInlineInstallFinished(int routing_id, const std::string& extension_id) argument
81 OnBeginExtensionDownload(const std::string& extension_id) argument
86 OnDownloadProgress(const std::string& extension_id, int percent_downloaded) argument
99 OnBeginCrxInstall(const std::string& extension_id) argument
115 SendInstallMessageIfObserved( const std::string& extension_id, api::webstore::InstallStage install_stage) argument
129 RemoveListeners(int routing_id, const std::string& extension_id, ObservedInstallInfoList* listeners) argument
[all...]
/external/chromium_org/sync/util/
H A Dextensions_activity.cc27 records_[i->first].extension_id = i->second.extension_id;
32 void ExtensionsActivity::UpdateRecord(const std::string& extension_id) { argument
34 Record& record = records_[extension_id];
35 record.extension_id = extension_id;
/external/chromium_org/chrome/browser/chromeos/fileapi/
H A Dfile_access_permissions.h25 // Grants |extension_id| full access to all paths.
26 void GrantFullAccessPermission(const std::string& extension_id);
27 // Grants |extension_id| access to |path|.
28 void GrantAccessPermission(const std::string& extension_id,
30 // Checks id |extension_id| has permission to access to |path|.
31 bool HasAccessPermission(const std::string& extension_id,
33 // Revokes all file permissions for |extension_id|.
34 void RevokePermissions(const std::string& extension_id);
H A Dfile_access_permissions.cc23 const std::string& extension_id) {
25 path_map_[extension_id].insert(FullPermission());
29 const std::string& extension_id, const base::FilePath& path) {
32 path_map_[extension_id].insert(path);
36 const std::string& extension_id, const base::FilePath& path) const {
38 PathAccessMap::const_iterator path_map_iter = path_map_.find(extension_id);
60 const std::string& extension_id) {
62 path_map_.erase(extension_id);
22 GrantFullAccessPermission( const std::string& extension_id) argument
28 GrantAccessPermission( const std::string& extension_id, const base::FilePath& path) argument
35 HasAccessPermission( const std::string& extension_id, const base::FilePath& path) const argument
59 RevokePermissions( const std::string& extension_id) argument
/external/chromium_org/chromeos/ime/
H A Dmock_component_extension_ime_manager_delegate.cc27 const std::string& extension_id,
30 last_loaded_extension_id_ = extension_id;
35 const std::string& extension_id,
38 last_unloaded_extension_id_ = extension_id;
26 Load(Profile* profile, const std::string& extension_id, const std::string& manifest, const base::FilePath& path) argument
34 Unload(Profile* profile, const std::string& extension_id, const base::FilePath& path) argument
/external/chromium_org/tools/telemetry/telemetry/core/
H A Dextension_dict.py9 """Dictionary of ExtensionPage instances, with extension_id as key."""
19 return self.GetByExtensionId(load_extension.extension_id)[0]
25 return load_extension.extension_id in self._extension_backend
30 def GetByExtensionId(self, extension_id):
33 return self._extension_backend[extension_id]
/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/
H A Dgallery_watch_state_tracker.cc64 const std::string& extension_id) {
66 extension_id);
103 const std::string& extension_id,
107 if (HasGalleryWatchInfo(extension_id, gallery_id, false))
108 SetupGalleryWatch(extension_id, gallery_id, preferences);
113 const std::string& extension_id,
117 if (HasGalleryWatchInfo(extension_id, gallery_id, true))
118 RemoveGalleryWatch(extension_id, gallery_id, preferences);
134 const std::string& extension_id) const {
137 watched_extensions_map_.find(extension_id);
63 GetExtensionById(Profile* profile, const std::string& extension_id) argument
101 OnPermissionAdded( MediaGalleriesPreferences* preferences, const std::string& extension_id, MediaGalleryPrefId gallery_id) argument
111 OnPermissionRemoved( MediaGalleriesPreferences* preferences, const std::string& extension_id, MediaGalleryPrefId gallery_id) argument
149 RemoveAllGalleryWatchersForExtension( const std::string& extension_id, MediaGalleriesPreferences* preferences) argument
164 OnGalleryWatchAdded( const std::string& extension_id, MediaGalleryPrefId gallery_id) argument
174 OnGalleryWatchRemoved( const std::string& extension_id, MediaGalleryPrefId gallery_id) argument
220 WriteToStorage(const std::string& extension_id) argument
233 ReadFromStorage( const std::string& extension_id, scoped_ptr<base::Value> value) argument
253 SetupGalleryWatch( const std::string& extension_id, MediaGalleryPrefId gallery_id, MediaGalleriesPreferences* preferences) argument
282 RemoveGalleryWatch( const std::string& extension_id, MediaGalleryPrefId gallery_id, MediaGalleriesPreferences* preferences) argument
302 HasGalleryWatchInfo( const std::string& extension_id, MediaGalleryPrefId gallery_id, bool has_active_watcher) argument
313 HandleSetupGalleryWatchResponse( const std::string& extension_id, MediaGalleryPrefId gallery_id, bool success) argument
323 AddWatchedGalleryIdInfoForExtension( const std::string& extension_id, MediaGalleryPrefId gallery_id) argument
[all...]
/external/chromium_org/chrome/browser/chromeos/file_system_provider/
H A Dprovided_file_system_info.cc13 const std::string& extension_id,
18 : extension_id_(extension_id),
12 ProvidedFileSystemInfo( const std::string& extension_id, const std::string& file_system_id, const std::string& display_name, bool writable, const base::FilePath& mount_path) argument

Completed in 907 milliseconds

1234567891011>>