extension_ 231 apps/app_window.cc extension_(extension), extension_ 420 apps/app_window.cc !extension_->HasAPIPermission(APIPermission::kOverrideEscFullscreen)) { extension_ 449 apps/app_window.cc extension_, extension_ 894 apps/app_window.cc extension_, extension_ 919 apps/app_window.cc if (extension_ == unloaded_extension) extension_ 928 apps/app_window.cc if (installed_extension->id() == extension_->id()) extension_ 252 apps/app_window.h const extensions::Extension* extension() const { return extension_; } extension_ 476 apps/app_window.h const extensions::Extension* extension_; extension_ 122 apps/launcher.cc : profile_(profile), extension_(extension), file_path_(file_path) {} extension_ 127 apps/launcher.cc LaunchPlatformAppWithNoData(profile_, extension_); extension_ 133 apps/launcher.cc if (HasFileSystemWritePermission(extension_)) { extension_ 231 apps/launcher.cc LaunchPlatformAppWithNoData(profile_, extension_); extension_ 238 apps/launcher.cc handler = FileHandlerForId(*extension_, handler_id_); extension_ 240 apps/launcher.cc handler = FirstFileHandlerForFile(*extension_, mime_type, file_path_); extension_ 267 apps/launcher.cc if (queue->ShouldEnqueueTask(profile_, extension_)) { extension_ 268 apps/launcher.cc queue->AddPendingTask(profile_, extension_->id(), base::Bind( extension_ 277 apps/launcher.cc process_manager->GetBackgroundHostForExtension(extension_->id()); extension_ 286 apps/launcher.cc LOG(ERROR) << "Could not load app page for " << extension_->id(); extension_ 292 apps/launcher.cc extension_, extension_ 297 apps/launcher.cc profile_, extension_, handler_id_, mime_type, file_entry); extension_ 303 apps/launcher.cc const Extension* extension_; extension_ 42 apps/saved_files_service_unittest.cc extension_ = env_.MakeExtension(*base::test::ParseJson( extension_ 67 apps/saved_files_service_unittest.cc EXPECT_TRUE(service_->IsRegistered(extension_->id(), id_string)); extension_ 69 apps/saved_files_service_unittest.cc service_->GetFileEntry(extension_->id(), id_string); extension_ 86 apps/saved_files_service_unittest.cc const extensions::Extension* extension_; extension_ 92 apps/saved_files_service_unittest.cc service_->RegisterFileEntry(extension_->id(), GenerateId(1), path_, true); extension_ 93 apps/saved_files_service_unittest.cc service_->RegisterFileEntry(extension_->id(), GenerateId(2), path_, true); extension_ 94 apps/saved_files_service_unittest.cc service_->RegisterFileEntry(extension_->id(), GenerateId(3), path_, true); extension_ 102 apps/saved_files_service_unittest.cc service_->EnqueueFileEntry(extension_->id(), GenerateId(1)); extension_ 108 apps/saved_files_service_unittest.cc service_->EnqueueFileEntry(extension_->id(), GenerateId(1)); extension_ 114 apps/saved_files_service_unittest.cc service_->EnqueueFileEntry(extension_->id(), GenerateId(2)); extension_ 120 apps/saved_files_service_unittest.cc service_->EnqueueFileEntry(extension_->id(), GenerateId(2)); extension_ 125 apps/saved_files_service_unittest.cc service_->EnqueueFileEntry(extension_->id(), GenerateId(1)); extension_ 130 apps/saved_files_service_unittest.cc EXPECT_FALSE(service_->IsRegistered(extension_->id(), "another id")); extension_ 132 apps/saved_files_service_unittest.cc EXPECT_FALSE(service_->GetFileEntry(extension_->id(), "another id")); extension_ 136 apps/saved_files_service_unittest.cc service_->ClearQueueIfNoRetainPermission(extension_); extension_ 144 apps/saved_files_service_unittest.cc service_->Clear(extension_->id()); extension_ 147 apps/saved_files_service_unittest.cc EXPECT_FALSE(service_->IsRegistered(extension_->id(), GenerateId(3))); extension_ 151 apps/saved_files_service_unittest.cc extension_ = env_.MakeExtension(*base::test::ParseJson( extension_ 154 apps/saved_files_service_unittest.cc service_->RegisterFileEntry(extension_->id(), GenerateId(1), path_, true); extension_ 157 apps/saved_files_service_unittest.cc service_->EnqueueFileEntry(extension_->id(), GenerateId(1)); extension_ 159 apps/saved_files_service_unittest.cc EXPECT_FALSE(service_->IsRegistered(extension_->id(), "another id")); extension_ 160 apps/saved_files_service_unittest.cc EXPECT_FALSE(service_->GetFileEntry(extension_->id(), "another id")); extension_ 164 apps/saved_files_service_unittest.cc service_->ClearQueueIfNoRetainPermission(extension_); extension_ 166 apps/saved_files_service_unittest.cc service_->GetAllFileEntries(extension_->id()); extension_ 173 apps/saved_files_service_unittest.cc service_->RegisterFileEntry(extension_->id(), GenerateId(i), path_, true); extension_ 174 apps/saved_files_service_unittest.cc service_->EnqueueFileEntry(extension_->id(), GenerateId(i)); extension_ 176 apps/saved_files_service_unittest.cc service_->RegisterFileEntry(extension_->id(), GenerateId(10), path_, true); extension_ 181 apps/saved_files_service_unittest.cc service_->EnqueueFileEntry(extension_->id(), GenerateId(10)); extension_ 188 apps/saved_files_service_unittest.cc service_->Clear(extension_->id()); extension_ 190 apps/saved_files_service_unittest.cc EXPECT_FALSE(service_->GetFileEntry(extension_->id(), GenerateId(0))); extension_ 195 apps/saved_files_service_unittest.cc service_->EnqueueFileEntry(extension_->id(), GenerateId(2)); extension_ 201 apps/saved_files_service_unittest.cc service_->Clear(extension_->id()); extension_ 211 apps/saved_files_service_unittest.cc service_->RegisterFileEntry(extension_->id(), GenerateId(i), path_, true); extension_ 212 apps/saved_files_service_unittest.cc service_->EnqueueFileEntry(extension_->id(), GenerateId(i)); extension_ 214 apps/saved_files_service_unittest.cc service_->EnqueueFileEntry(extension_->id(), GenerateId(2)); extension_ 215 apps/saved_files_service_unittest.cc service_->EnqueueFileEntry(extension_->id(), GenerateId(3)); extension_ 216 apps/saved_files_service_unittest.cc service_->EnqueueFileEntry(extension_->id(), GenerateId(2)); extension_ 224 apps/saved_files_service_unittest.cc service_->Clear(extension_->id()); extension_ 233 apps/saved_files_service_unittest.cc service_->EnqueueFileEntry(extension_->id(), GenerateId(3)); extension_ 235 apps/saved_files_service_unittest.cc service_->Clear(extension_->id()); extension_ 180 chrome/browser/apps/ephemeral_app_launcher.cc DCHECK(extension_.get() != NULL); extension_ 185 chrome/browser/apps/ephemeral_app_launcher.cc extensions::PermissionsData::GetPermissionMessages(extension_.get()); extension_ 210 chrome/browser/apps/ephemeral_app_launcher.cc extension_ = Extension::Create( extension_ 219 chrome/browser/apps/ephemeral_app_launcher.cc if (!extension_.get()) { extension_ 224 chrome/browser/apps/ephemeral_app_launcher.cc if (!extension_->is_app()) { extension_ 110 chrome/browser/apps/ephemeral_app_launcher.h scoped_refptr<extensions::Extension> extension_; extension_ 87 chrome/browser/background/background_application_list_model.cc const Extension* extension_; extension_ 150 chrome/browser/background/background_application_list_model.cc : extension_(extension), model_(model) {} extension_ 157 chrome/browser/background/background_application_list_model.cc model_->SendApplicationDataChangedNotifications(extension_); extension_ 164 chrome/browser/background/background_application_list_model.cc extension_, size, ExtensionIconSet::MATCH_BIGGER); extension_ 166 chrome/browser/background/background_application_list_model.cc extension_, resource, gfx::Size(size, size), extension_ 503 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc extension_->id(), extension_ 605 chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc extension_->id(), extension_ 223 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc if (extension_->location() != extensions::Manifest::COMPONENT) { extension_ 235 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc backend->GrantFullAccessToExtension(extension_->id()); extension_ 188 chrome/browser/chromeos/file_manager/file_browser_handlers.cc scoped_refptr<const Extension> extension_; extension_ 252 chrome/browser/chromeos/file_manager/file_browser_handlers.cc extension_(extension), extension_ 269 chrome/browser/chromeos/file_manager/file_browser_handlers.cc profile_, extension_->id())); extension_ 276 chrome/browser/chromeos/file_manager/file_browser_handlers.cc extension_, extension_ 289 chrome/browser/chromeos/file_manager/file_browser_handlers.cc extension_->id(), extension_ 316 chrome/browser/chromeos/file_manager/file_browser_handlers.cc int handler_pid = ExtractProcessFromExtensionId(profile_, extension_->id()); extension_ 318 chrome/browser/chromeos/file_manager/file_browser_handlers.cc !extensions::BackgroundInfo::HasLazyBackgroundPage(extension_.get())) { extension_ 333 chrome/browser/chromeos/file_manager/file_browser_handlers.cc if (!queue->ShouldEnqueueTask(profile_, extension_.get())) { extension_ 339 chrome/browser/chromeos/file_manager/file_browser_handlers.cc extension_->id(), extension_ 370 chrome/browser/chromeos/file_manager/file_browser_handlers.cc file_definition_list.get(), extension_.get(), handler_pid); extension_ 397 chrome/browser/chromeos/file_manager/file_browser_handlers.cc event_router->DispatchEventToExtension(extension_->id(), event.Pass()); extension_ 407 chrome/browser/chromeos/file_manager/file_browser_handlers.cc extension_, action_id_); extension_ 56 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc extension_ = NULL; extension_ 64 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc extension_ = LoadExtensionWithType("input_ime", GetParam()); extension_ 65 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc ASSERT_TRUE(extension_); extension_ 115 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc const extensions::Extension* extension_; extension_ 254 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc extensions::BackgroundInfo::GetBackgroundURL(extension_).path(), extension_ 146 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc manager_->Remove(extension_->id(), channel_id); extension_ 171 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc return manager_->Get(extension_->id(), channel_id); extension_ 198 chrome/browser/extensions/api/cast_channel/cast_channel_api.cc scoped_ptr<CastSocket> socket = api_->CreateCastSocket(extension_->id(), extension_ 33 chrome/browser/extensions/api/commands/commands.cc if (command_service->GetBrowserActionCommand(extension_->id(), extension_ 41 chrome/browser/extensions/api/commands/commands.cc if (command_service->GetPageActionCommand(extension_->id(), extension_ 49 chrome/browser/extensions/api/commands/commands.cc command_service->GetNamedCommands(extension_->id(), extension_ 57 chrome/browser/extensions/api/commands/commands.cc extension_->id(), iter->second.command_name()); extension_ 62 chrome/browser/extensions/api/declarative/declarative_api.cc extension_->HasAPIPermission(extensions::APIPermission::kWebView)) extension_ 66 chrome/browser/extensions/api/declarative/declarative_api.cc event_name, extension_, Feature::BLESSED_EXTENSION_CONTEXT, extension_ 97 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc scoped_refptr<Extension> extension_; extension_ 110 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc extension_ = LoadManifestUnchecked("permissions", extension_ 116 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc ASSERT_TRUE(extension_.get()) << error; extension_ 128 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc extension_.get(), extension_ 167 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc "http://test.com", extension_->id(), action_set.get(), stage)); extension_ 174 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc "http://clients1.google.com", extension_->id(), action_set.get(), stage)); extension_ 343 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc extension_->id(), extension_ 354 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc extension_->id(), extension_ 428 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc extension_->id(), extension_ 443 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc extension_->id(), extension_ 447 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc extension_->id(), extension_ 461 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc extension_->id(), extension_ 465 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc extension_->id(), extension_ 481 chrome/browser/extensions/api/declarative_webrequest/webrequest_action_unittest.cc extension_->id(), extension_ 231 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc scoped_refptr<Extension> extension_; extension_ 240 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc extension_ = LoadManifestUnchecked("permissions", extension_ 246 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc ASSERT_TRUE(extension_.get()) << error; extension_ 256 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry_unittest.cc extension_info_map_->AddExtension(extension_.get(), extension_ 248 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc : extension_(NULL), extension_ 273 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc extension_ = LoadExtensionIncognito(test_data_dir_.AppendASCII(name)); extension_ 274 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc CHECK(extension_); extension_ 277 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc extension_->GetResourceURL("empty.html"), extension_ 299 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc extension_->GetResourceURL("empty.html"), extension_ 378 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc return extension_->url().spec(); extension_ 381 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc return extension_->id(); extension_ 587 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc if (extension_) { extension_ 591 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc extension_->GetResourceURL("empty.html"), extension_ 593 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc function->set_extension(extension_); extension_ 606 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc const extensions::Extension* extension_; extension_ 136 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc base::StringValue value(extension_->id()); extension_ 142 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc : extension_(utils::CreateEmptyExtension("")) { extension_ 192 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc whitelist.AppendString(extension_->id()); extension_ 199 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc scoped_refptr<extensions::Extension> extension_; extension_ 215 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc func_->set_extension(extension_.get()); extension_ 353 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc func_->set_extension(extension_.get()); extension_ 618 chrome/browser/extensions/api/extension_action/extension_action_api.cc ->GetBrowserAction(*extension_.get())) { extension_ 621 chrome/browser/extensions/api/extension_action/extension_action_api.cc ->GetPageAction(*extension_.get())) { extension_ 809 chrome/browser/extensions/api/extension_action/extension_action_api.cc if (!model->ShowBrowserActionPopup(extension_)) { extension_ 849 chrome/browser/extensions/api/extension_action/extension_action_api.cc host->extension()->id() != extension_->id()) extension_ 362 chrome/browser/extensions/api/file_system/file_system_api.cc if (!app_file_handler_util::HasFileSystemWritePermission(extension_)) { extension_ 389 chrome/browser/extensions/api/file_system/file_system_api.cc !extension_->HasAPIPermission(APIPermission::kFileSystemDirectory)) { extension_ 550 chrome/browser/extensions/api/file_system/file_system_api.cc if (extension_->is_platform_app()) { extension_ 745 chrome/browser/extensions/api/file_system/file_system_api.cc app_file_handler_util::HasFileSystemWritePermission(extension_), extension_ 746 chrome/browser/extensions/api/file_system/file_system_api.cc base::UTF8ToUTF16(extension_->name()), extension_ 767 chrome/browser/extensions/api/file_system/file_system_api.cc if (app_file_handler_util::HasFileSystemWritePermission(extension_)) { extension_ 852 chrome/browser/extensions/api/file_system/file_system_api.cc !app_file_handler_util::HasFileSystemWritePermission(extension_)) { extension_ 856 chrome/browser/extensions/api/file_system/file_system_api.cc if (!app_file_handler_util::HasFileSystemWritePermission(extension_)) { extension_ 867 chrome/browser/extensions/api/file_system/file_system_api.cc if (!extension_->HasAPIPermission(APIPermission::kFileSystemDirectory)) { extension_ 910 chrome/browser/extensions/api/file_system/file_system_api.cc if (!saved_files_service->IsRegistered(extension_->id(), entry_id)) { extension_ 934 chrome/browser/extensions/api/file_system/file_system_api.cc saved_files_service->EnqueueFileEntry(extension_->id(), entry_id); extension_ 943 chrome/browser/extensions/api/file_system/file_system_api.cc extension_->id(), entry_id, path_, is_directory_); extension_ 944 chrome/browser/extensions/api/file_system/file_system_api.cc saved_files_service->EnqueueFileEntry(extension_->id(), entry_id); extension_ 956 chrome/browser/extensions/api/file_system/file_system_api.cc GetProfile())->IsRegistered(extension_->id(), entry_id))); extension_ 966 chrome/browser/extensions/api/file_system/file_system_api.cc GetProfile())->GetFileEntry(extension_->id(), entry_id); extension_ 973 chrome/browser/extensions/api/file_system/file_system_api.cc ->EnqueueFileEntry(extension_->id(), entry_id); extension_ 63 chrome/browser/extensions/api/hid/hid_api.cc return connection_manager_->Get(extension_->id(), api_resource_id); extension_ 67 chrome/browser/extensions/api/hid/hid_api.cc connection_manager_->Remove(extension_->id(), api_resource_id); extension_ 138 chrome/browser/extensions/api/hid/hid_api.cc new HidConnectionResource(extension_->id(), connection)); extension_ 156 chrome/browser/extensions/api/hid/hid_api.cc connection_manager_->Get(extension_->id(), connection_id); extension_ 161 chrome/browser/extensions/api/hid/hid_api.cc connection_manager_->Remove(extension_->id(), connection_id); extension_ 178 chrome/browser/extensions/api/hid/hid_api.cc connection_manager_->Get(extension_->id(), connection_id); extension_ 212 chrome/browser/extensions/api/hid/hid_api.cc connection_manager_->Get(extension_->id(), connection_id); extension_ 247 chrome/browser/extensions/api/hid/hid_api.cc connection_manager_->Get(extension_->id(), connection_id); extension_ 282 chrome/browser/extensions/api/hid/hid_api.cc connection_manager_->Get(extension_->id(), connection_id); extension_ 614 chrome/browser/extensions/api/management/management_api.cc EXTENSION_FUNCTION_VALIDATE(extension_); extension_ 620 chrome/browser/extensions/api/management/management_api.cc if (params->id == extension_->id()) { extension_ 646 chrome/browser/extensions/api/management/management_api.cc return Uninstall(extension_->id(), show_confirm_dialog); extension_ 324 chrome/browser/extensions/api/notifications/notifications_api.cc this, GetProfile(), extension_->id(), id)); // ownership is passed to extension_ 327 chrome/browser/extensions/api/notifications/notifications_api.cc extension_->url(), extension_ 334 chrome/browser/extensions/api/notifications/notifications_api.cc extension_->id()), extension_ 335 chrome/browser/extensions/api/notifications/notifications_api.cc base::UTF8ToUTF16(extension_->name()), extension_ 445 chrome/browser/extensions/api/notifications/notifications_api.cc message_center::NotifierId::APPLICATION, extension_->id())); extension_ 495 chrome/browser/extensions/api/notifications/notifications_api.cc const std::string extension_id(extension_->id()); extension_ 533 chrome/browser/extensions/api/notifications/notifications_api.cc CreateScopedIdentifier(extension_->id(), params_->notification_id)); extension_ 570 chrome/browser/extensions/api/notifications/notifications_api.cc CreateScopedIdentifier(extension_->id(), params_->notification_id)); extension_ 587 chrome/browser/extensions/api/notifications/notifications_api.cc GetProfile(), extension_->url()); extension_ 594 chrome/browser/extensions/api/notifications/notifications_api.cc StripScopeFromIdentifier(extension_->id(), *iter), true); extension_ 57 chrome/browser/extensions/api/permissions/permissions_api.cc ExtensionPrefs::Get(GetProfile())->AllowFileAccess(extension_->id()), extension_ 80 chrome/browser/extensions/api/permissions/permissions_api.cc ExtensionPrefs::Get(GetProfile())->AllowFileAccess(extension_->id()), extension_ 150 chrome/browser/extensions/api/permissions/permissions_api.cc extension_->location() != Manifest::COMPONENT) { extension_ 160 chrome/browser/extensions/api/permissions/permissions_api.cc ExtensionPrefs::Get(GetProfile())->AllowFileAccess(extension_->id()), extension_ 208 chrome/browser/extensions/api/permissions/permissions_api.cc extension_->location() == Manifest::COMPONENT) { extension_ 136 chrome/browser/extensions/api/power/power_api_unittest.cc extension_ = utils::CreateEmptyExtensionWithLocation( extension_ 175 chrome/browser/extensions/api/power/power_api_unittest.cc scoped_refptr<extensions::Extension> extension_; extension_ 181 chrome/browser/extensions/api/power/power_api_unittest.cc ASSERT_TRUE(CallFunction(REQUEST, kDisplayArgs, extension_.get())); extension_ 184 chrome/browser/extensions/api/power/power_api_unittest.cc ASSERT_TRUE(CallFunction(RELEASE, kEmptyArgs, extension_.get())); extension_ 188 chrome/browser/extensions/api/power/power_api_unittest.cc ASSERT_TRUE(CallFunction(REQUEST, kSystemArgs, extension_.get())); extension_ 191 chrome/browser/extensions/api/power/power_api_unittest.cc ASSERT_TRUE(CallFunction(RELEASE, kEmptyArgs, extension_.get())); extension_ 200 chrome/browser/extensions/api/power/power_api_unittest.cc ASSERT_TRUE(CallFunction(REQUEST, kDisplayArgs, extension_.get())); extension_ 204 chrome/browser/extensions/api/power/power_api_unittest.cc UnloadExtension(extension_.get()); extension_ 212 chrome/browser/extensions/api/power/power_api_unittest.cc ASSERT_TRUE(CallFunction(RELEASE, kEmptyArgs, extension_.get())); extension_ 221 chrome/browser/extensions/api/power/power_api_unittest.cc ASSERT_TRUE(CallFunction(REQUEST, kSystemArgs, extension_.get())); extension_ 225 chrome/browser/extensions/api/power/power_api_unittest.cc ASSERT_TRUE(CallFunction(REQUEST, kDisplayArgs, extension_.get())); extension_ 230 chrome/browser/extensions/api/power/power_api_unittest.cc ASSERT_TRUE(CallFunction(RELEASE, kEmptyArgs, extension_.get())); extension_ 240 chrome/browser/extensions/api/power/power_api_unittest.cc ASSERT_TRUE(CallFunction(REQUEST, kDisplayArgs, extension_.get())); extension_ 244 chrome/browser/extensions/api/power/power_api_unittest.cc ASSERT_TRUE(CallFunction(REQUEST, kSystemArgs, extension_.get())); extension_ 249 chrome/browser/extensions/api/power/power_api_unittest.cc ASSERT_TRUE(CallFunction(RELEASE, kEmptyArgs, extension_.get())); extension_ 256 chrome/browser/extensions/api/power/power_api_unittest.cc ASSERT_TRUE(CallFunction(REQUEST, kDisplayArgs, extension_.get())); extension_ 273 chrome/browser/extensions/api/power/power_api_unittest.cc UnloadExtension(extension_.get()); extension_ 279 chrome/browser/extensions/api/power/power_api_unittest.cc ASSERT_TRUE(CallFunction(REQUEST, kDisplayArgs, extension_.get())); extension_ 607 chrome/browser/extensions/api/runtime/runtime_api.cc base::FilePath path = extension_->path(); extension_ 71 chrome/browser/extensions/api/serial/serial_api.cc return manager_->Get(extension_->id(), api_resource_id); extension_ 75 chrome/browser/extensions/api/serial/serial_api.cc manager_->Remove(extension_->id(), api_resource_id); extension_ 146 chrome/browser/extensions/api/serial/serial_api.cc connection_ = CreateSerialConnection(params_->path, extension_->id()); extension_ 178 chrome/browser/extensions/api/serial/serial_api.cc serial_event_dispatcher_->PollConnection(extension_->id(), id); extension_ 316 chrome/browser/extensions/api/serial/serial_api.cc serial_event_dispatcher_->PollConnection(extension_->id(), extension_ 359 chrome/browser/extensions/api/serial/serial_api.cc extension_->id()); extension_ 89 chrome/browser/extensions/api/sessions/sessions_apitest.cc fn->set_extension(extension_.get()); extension_ 96 chrome/browser/extensions/api/sessions/sessions_apitest.cc scoped_refptr<extensions::Extension> extension_; extension_ 162 chrome/browser/extensions/api/sessions/sessions_apitest.cc extension_ = utils::CreateExtension(test_extension_value.get()); extension_ 53 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc const extensions::Extension* extension_; extension_ 94 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc extension_->id(), event.Pass()); extension_ 106 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc : extension_(extension), extension_ 115 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc base::string16 tool_tip = base::UTF8ToUTF16(extension_->name()); extension_ 1802 chrome/browser/extensions/api/tabs/tabs_api.cc extension_.get(), execute_tab_id_, APIPermission::kTab)) { extension_ 453 chrome/browser/extensions/api/usb/usb_api.cc manager_->Get(extension_->id(), input_device_handle.handle); extension_ 461 chrome/browser/extensions/api/usb/usb_api.cc manager_->Remove(extension_->id(), input_device_handle.handle); extension_ 477 chrome/browser/extensions/api/usb/usb_api.cc manager_->Remove(extension_->id(), api_resource_id); extension_ 538 chrome/browser/extensions/api/usb/usb_api.cc extension_->id(), extension_ 600 chrome/browser/extensions/api/usb/usb_api.cc new UsbDeviceResource(extension_->id(), device_handle); extension_ 726 chrome/browser/extensions/api/usb/usb_api.cc manager_->Add(new UsbDeviceResource(extension_->id(), handle_)), extension_ 124 chrome/browser/extensions/app_background_page_apitest.cc : extension_(NULL) {} extension_ 139 chrome/browser/extensions/app_background_page_apitest.cc const Extension* extension() { return extension_; } extension_ 147 chrome/browser/extensions/app_background_page_apitest.cc extension_ = LoadExtension(app_dir); extension_ 148 chrome/browser/extensions/app_background_page_apitest.cc ASSERT_TRUE(extension_); extension_ 152 chrome/browser/extensions/app_background_page_apitest.cc const Extension* extension_; extension_ 95 chrome/browser/extensions/bookmark_app_helper_unittest.cc extension_ = extension; extension_ 104 chrome/browser/extensions/bookmark_app_helper_unittest.cc const Extension* extension() { return extension_; } extension_ 107 chrome/browser/extensions/bookmark_app_helper_unittest.cc const Extension* extension_; extension_ 29 chrome/browser/extensions/chrome_app_sorting_unittest.cc extension_ = prefs_.AddExtension("not_an_app"); extension_ 31 chrome/browser/extensions/chrome_app_sorting_unittest.cc prefs()->OnExtensionInstalled(extension_.get(), extension_ 40 chrome/browser/extensions/chrome_app_sorting_unittest.cc app_sorting()->GetAppLaunchOrdinal(extension_->id()).IsValid()); extension_ 42 chrome/browser/extensions/chrome_app_sorting_unittest.cc app_sorting()->GetPageOrdinal(extension_->id()).IsValid()); extension_ 46 chrome/browser/extensions/chrome_app_sorting_unittest.cc scoped_refptr<Extension> extension_; extension_ 58 chrome/browser/extensions/chrome_app_sorting_unittest.cc extension_ = prefs_.AddApp("on_extension_installed"); extension_ 59 chrome/browser/extensions/chrome_app_sorting_unittest.cc EXPECT_FALSE(prefs()->IsExtensionDisabled(extension_->id())); extension_ 60 chrome/browser/extensions/chrome_app_sorting_unittest.cc prefs()->OnExtensionInstalled(extension_.get(), extension_ 69 chrome/browser/extensions/chrome_app_sorting_unittest.cc app_sorting()->GetAppLaunchOrdinal(extension_->id()); extension_ 79 chrome/browser/extensions/chrome_app_sorting_unittest.cc extension_->id(), extension_ 82 chrome/browser/extensions/chrome_app_sorting_unittest.cc app_sorting()->GetAppLaunchOrdinal(extension_->id()); extension_ 103 chrome/browser/extensions/chrome_app_sorting_unittest.cc scoped_refptr<Extension> extension_; extension_ 110 chrome/browser/extensions/chrome_app_sorting_unittest.cc extension_ = prefs_.AddApp("page_ordinal"); extension_ 113 chrome/browser/extensions/chrome_app_sorting_unittest.cc prefs()->OnExtensionInstalled(extension_.get(), extension_ 119 chrome/browser/extensions/chrome_app_sorting_unittest.cc app_sorting()->GetPageOrdinal(extension_->id()))); extension_ 135 chrome/browser/extensions/chrome_app_sorting_unittest.cc app_sorting()->SetPageOrdinal(extension_->id(), new_page); extension_ 138 chrome/browser/extensions/chrome_app_sorting_unittest.cc new_page.Equals(app_sorting()->GetPageOrdinal(extension_->id()))); extension_ 148 chrome/browser/extensions/chrome_app_sorting_unittest.cc scoped_refptr<Extension> extension_; extension_ 32 chrome/browser/extensions/extension_action_icon_factory.cc : extension_(extension), extension_ 38 chrome/browser/extensions/extension_action_icon_factory.cc extension_, extension_ 59 chrome/browser/extensions/extension_action_icon_factory.h const extensions::Extension* extension_; extension_ 29 chrome/browser/extensions/extension_api_unittest.cc extension_ = utils::CreateEmptyExtensionWithLocation(Manifest::UNPACKED); extension_ 45 chrome/browser/extensions/extension_api_unittest.h const Extension* extension() const { return extension_.get(); } extension_ 46 chrome/browser/extensions/extension_api_unittest.h scoped_refptr<Extension> extension_ref() { return extension_; } extension_ 48 chrome/browser/extensions/extension_api_unittest.h extension_ = extension; extension_ 93 chrome/browser/extensions/extension_api_unittest.h scoped_refptr<Extension> extension_; extension_ 103 chrome/browser/extensions/extension_disabled_ui.cc const Extension* extension_; extension_ 112 chrome/browser/extensions/extension_disabled_ui.cc extension_(extension) { extension_ 114 chrome/browser/extensions/extension_disabled_ui.cc install_ui_->ConfirmReEnable(this, extension_); extension_ 121 chrome/browser/extensions/extension_disabled_ui.cc service_->GrantPermissionsAndEnableExtension(extension_); extension_ 130 chrome/browser/extensions/extension_disabled_ui.cc extension_, histogram_name.c_str()); extension_ 173 chrome/browser/extensions/extension_disabled_ui.cc const Extension* extension_; extension_ 199 chrome/browser/extensions/extension_disabled_ui.cc extension_(extension), extension_ 206 chrome/browser/extensions/extension_disabled_ui.cc extension_->is_app() ? extension_ 239 chrome/browser/extensions/extension_disabled_ui.cc base::UTF8ToUTF16(extension_->name())); extension_ 252 chrome/browser/extensions/extension_disabled_ui.cc base::UTF8ToUTF16(extension_->name())); extension_ 259 chrome/browser/extensions/extension_disabled_ui.cc extension_->is_app() ? extension_ 261 chrome/browser/extensions/extension_disabled_ui.cc base::UTF8ToUTF16(extension_->name()))); extension_ 266 chrome/browser/extensions/extension_disabled_ui.cc extension_->GetActivePermissions(), extension_->GetType()); extension_ 290 chrome/browser/extensions/extension_disabled_ui.cc service_->AsWeakPtr(), extension_)); extension_ 302 chrome/browser/extensions/extension_disabled_ui.cc uninstall_dialog_->AsWeakPtr(), extension_)); extension_ 307 chrome/browser/extensions/extension_disabled_ui.cc service_->UninstallExtension(extension_->id(), false, NULL); extension_ 322 chrome/browser/extensions/extension_disabled_ui.cc if (extension != extension_) extension_ 138 chrome/browser/extensions/extension_icon_image.cc extension_(extension), extension_ 164 chrome/browser/extensions/extension_icon_image.cc if (!extension_) extension_ 176 chrome/browser/extensions/extension_icon_image.cc resource = GetExtensionIconResource(extension_, icon_set_, extension_ 182 chrome/browser/extensions/extension_icon_image.cc resource = GetExtensionIconResource(extension_, icon_set_, extension_ 200 chrome/browser/extensions/extension_icon_image.cc loader->LoadImagesAsync(extension_, info_list, extension_ 235 chrome/browser/extensions/extension_icon_image.cc if (extension_ == extension) extension_ 236 chrome/browser/extensions/extension_icon_image.cc extension_ = NULL; extension_ 95 chrome/browser/extensions/extension_icon_image.h const Extension* extension_; extension_ 74 chrome/browser/extensions/extension_icon_image_unittest.cc : extension_(extension), extension_ 92 chrome/browser/extensions/extension_icon_image_unittest.cc extension_, extension_->GetResource(path), gfx::Size(size, size), extension_ 110 chrome/browser/extensions/extension_icon_image_unittest.cc const Extension* extension_; extension_ 43 chrome/browser/extensions/extension_infobar_delegate.cc extension_(extension), extension_ 102 chrome/browser/extensions/extension_infobar_delegate.cc if (extension_ == content::Details<extensions::UnloadedExtensionInfo>( extension_ 36 chrome/browser/extensions/extension_infobar_delegate.h const extensions::Extension* extension() { return extension_; } extension_ 74 chrome/browser/extensions/extension_infobar_delegate.h const extensions::Extension* extension_; extension_ 197 chrome/browser/extensions/extension_install_prompt.cc extension_(NULL), extension_ 274 chrome/browser/extensions/extension_install_prompt.cc if (extension_->is_app()) extension_ 276 chrome/browser/extensions/extension_install_prompt.cc else if (extension_->is_theme()) extension_ 282 chrome/browser/extensions/extension_install_prompt.cc resource_id, base::UTF8ToUTF16(extension_->name())); extension_ 290 chrome/browser/extensions/extension_install_prompt.cc return base::UTF8ToUTF16(extension_->name()); extension_ 295 chrome/browser/extensions/extension_install_prompt.cc if (extension_->is_app()) extension_ 297 chrome/browser/extensions/extension_install_prompt.cc else if (extension_->is_theme()) extension_ 304 chrome/browser/extensions/extension_install_prompt.cc kHeadingIds[type_], base::UTF8ToUTF16(extension_->name())); extension_ 319 chrome/browser/extensions/extension_install_prompt.cc extension_->is_extension() && experiment_ && experiment_->text_only(); extension_ 335 chrome/browser/extensions/extension_install_prompt.cc if (extension_->is_app()) extension_ 337 chrome/browser/extensions/extension_install_prompt.cc else if (extension_->is_theme()) extension_ 542 chrome/browser/extensions/extension_install_prompt.cc extension_(NULL), extension_ 558 chrome/browser/extensions/extension_install_prompt.cc extension_(NULL), extension_ 588 chrome/browser/extensions/extension_install_prompt.cc extension_ = extension; extension_ 604 chrome/browser/extensions/extension_install_prompt.cc extension_ = extension; extension_ 614 chrome/browser/extensions/extension_install_prompt.cc extension_ = extension; extension_ 641 chrome/browser/extensions/extension_install_prompt.cc extension_ = extension; extension_ 656 chrome/browser/extensions/extension_install_prompt.cc extension_ = extension; extension_ 670 chrome/browser/extensions/extension_install_prompt.cc extension_ = extension; extension_ 683 chrome/browser/extensions/extension_install_prompt.cc extension_ = extension; extension_ 698 chrome/browser/extensions/extension_install_prompt.cc extension_ = extension; extension_ 709 chrome/browser/extensions/extension_install_prompt.cc extension_ = extension; extension_ 729 chrome/browser/extensions/extension_install_prompt.cc icon_ = GetDefaultIconBitmapForMaxScaleFactor(extension_->is_app()); extension_ 748 chrome/browser/extensions/extension_install_prompt.cc extension_, extension_ 757 chrome/browser/extensions/extension_install_prompt.cc extension_, image, gfx::Size(pixel_size, pixel_size), extension_ 769 chrome/browser/extensions/extension_install_prompt.cc extensions::OAuth2Info::GetOAuth2Info(extension_); extension_ 776 chrome/browser/extensions/extension_install_prompt.cc extension_->id(), extension_ 810 chrome/browser/extensions/extension_install_prompt.cc (!extension_ || extension_ 812 chrome/browser/extensions/extension_install_prompt.cc extension_))) { extension_ 813 chrome/browser/extensions/extension_install_prompt.cc Manifest::Type extension_type = extension_ ? extension_ 814 chrome/browser/extensions/extension_install_prompt.cc extension_->GetType() : Manifest::TYPE_UNKNOWN; extension_ 831 chrome/browser/extensions/extension_install_prompt.cc prompt_.set_extension(extension_); extension_ 145 chrome/browser/extensions/extension_install_prompt.h const extensions::Extension* extension() const { return extension_; } extension_ 147 chrome/browser/extensions/extension_install_prompt.h extension_ = extension; extension_ 188 chrome/browser/extensions/extension_install_prompt.h const extensions::Extension* extension_; extension_ 416 chrome/browser/extensions/extension_install_prompt.h const extensions::Extension* extension_; extension_ 27 chrome/browser/extensions/extension_installer.cc requirements_checker_->Check(extension_, callback); extension_ 33 chrome/browser/extensions/extension_installer.cc ->UserMayLoad(extension_.get(), &error); extension_ 45 chrome/browser/extensions/extension_installer.h extension_ = extension; extension_ 49 chrome/browser/extensions/extension_installer.h return extension_; extension_ 60 chrome/browser/extensions/extension_installer.h scoped_refptr<const Extension> extension_; extension_ 647 chrome/browser/extensions/extension_prefs_unittest.cc extension_ = prefs_.AddExtension("on_extension_installed"); extension_ 648 chrome/browser/extensions/extension_prefs_unittest.cc EXPECT_FALSE(prefs()->IsExtensionDisabled(extension_->id())); extension_ 649 chrome/browser/extensions/extension_prefs_unittest.cc prefs()->OnExtensionInstalled(extension_.get(), extension_ 657 chrome/browser/extensions/extension_prefs_unittest.cc EXPECT_TRUE(prefs()->IsExtensionDisabled(extension_->id())); extension_ 658 chrome/browser/extensions/extension_prefs_unittest.cc EXPECT_EQ(std::string("Param"), prefs()->GetInstallParam(extension_->id())); extension_ 662 chrome/browser/extensions/extension_prefs_unittest.cc scoped_refptr<Extension> extension_; extension_ 670 chrome/browser/extensions/extension_prefs_unittest.cc extension_ = prefs_.AddExtension("on_extension_installed"); extension_ 671 chrome/browser/extensions/extension_prefs_unittest.cc EXPECT_FALSE(prefs()->WasAppDraggedByUser(extension_->id())); extension_ 672 chrome/browser/extensions/extension_prefs_unittest.cc prefs()->OnExtensionInstalled(extension_.get(), extension_ 681 chrome/browser/extensions/extension_prefs_unittest.cc prefs()->SetAppDraggedByUser(extension_->id()); extension_ 682 chrome/browser/extensions/extension_prefs_unittest.cc EXPECT_TRUE(prefs()->WasAppDraggedByUser(extension_->id())); extension_ 685 chrome/browser/extensions/extension_prefs_unittest.cc prefs()->SetAppDraggedByUser(extension_->id()); extension_ 686 chrome/browser/extensions/extension_prefs_unittest.cc EXPECT_TRUE(prefs()->WasAppDraggedByUser(extension_->id())); extension_ 690 chrome/browser/extensions/extension_prefs_unittest.cc scoped_refptr<Extension> extension_; extension_ 210 chrome/browser/extensions/extension_protocols.cc extensions::BackgroundInfo::GetBackgroundScripts(extension_.get()); extension_ 227 chrome/browser/extensions/extension_protocols.cc scoped_refptr<const Extension> extension_; extension_ 61 chrome/browser/extensions/extension_uninstall_dialog.cc extension_(NULL), extension_ 85 chrome/browser/extensions/extension_uninstall_dialog.cc extension_ = extension; extension_ 87 chrome/browser/extensions/extension_uninstall_dialog.cc const int icon_size = extension_->from_bookmark() extension_ 91 chrome/browser/extensions/extension_uninstall_dialog.cc extension_, extension_ 102 chrome/browser/extensions/extension_uninstall_dialog.cc loader->LoadImageAsync(extension_, image, extension_ 116 chrome/browser/extensions/extension_uninstall_dialog.cc GetDefaultIconBitmapForMaxScaleFactor(extension_->is_app())); extension_ 155 chrome/browser/extensions/extension_uninstall_dialog.cc base::UTF8ToUTF16(extension_->name())); extension_ 158 chrome/browser/extensions/extension_uninstall_dialog.cc base::UTF8ToUTF16(extension_->name())); extension_ 85 chrome/browser/extensions/extension_uninstall_dialog.h const extensions::Extension* extension_; extension_ 145 chrome/browser/extensions/external_install_ui.cc const Extension* extension_; extension_ 366 chrome/browser/extensions/external_install_ui.cc if (extension_->is_app()) extension_ 368 chrome/browser/extensions/external_install_ui.cc else if (extension_->is_theme()) extension_ 372 chrome/browser/extensions/external_install_ui.cc return l10n_util::GetStringFUTF16(id, base::UTF8ToUTF16(extension_->name())); extension_ 376 chrome/browser/extensions/external_install_ui.cc ShowExternalInstallDialog(service_, browser, extension_); extension_ 420 chrome/browser/extensions/external_install_ui.cc if (extension != extension_) extension_ 425 chrome/browser/extensions/external_install_ui.cc service_->AcknowledgeExternalExtension(extension_->id()); extension_ 44 chrome/browser/extensions/permissions_updater_unittest.cc extension_ = NULL; extension_ 58 chrome/browser/extensions/permissions_updater_unittest.cc const Extension* extension() const { return extension_.get(); } extension_ 70 chrome/browser/extensions/permissions_updater_unittest.cc extension_ = info->extension; extension_ 83 chrome/browser/extensions/permissions_updater_unittest.cc scoped_refptr<const Extension> extension_; extension_ 388 chrome/browser/extensions/sandboxed_unpacker.cc extension_ = Extension::Create( extension_ 395 chrome/browser/extensions/sandboxed_unpacker.cc if (!extension_.get()) { extension_ 603 chrome/browser/extensions/sandboxed_unpacker.cc temp_dir_.Take(), extension_root_, &original_manifest, extension_.get(), extension_ 605 chrome/browser/extensions/sandboxed_unpacker.cc extension_ = NULL; extension_ 661 chrome/browser/extensions/sandboxed_unpacker.cc extension_file_util::GetBrowserImagePaths(extension_.get()); extension_ 695 chrome/browser/extensions/sandboxed_unpacker.cc std::string install_icon_path = IconsInfo::GetIcons(extension_).Get( extension_ 217 chrome/browser/extensions/sandboxed_unpacker.h scoped_refptr<Extension> extension_; extension_ 55 chrome/browser/extensions/unpacked_installer.cc scoped_refptr<const Extension> extension_; extension_ 65 chrome/browser/extensions/unpacked_installer.cc extension_(extension), extension_ 86 chrome/browser/extensions/unpacked_installer.cc extension_.get(), extension_ 58 chrome/browser/media_galleries/media_galleries_dialog_controller.cc extension_(&extension), extension_ 97 chrome/browser/media_galleries/media_galleries_dialog_controller.cc extension_(&extension), extension_ 118 chrome/browser/media_galleries/media_galleries_dialog_controller.cc base::UTF8ToUTF16(extension_->name())); extension_ 128 chrome/browser/media_galleries/media_galleries_dialog_controller.cc extension_, APIPermission::kMediaGalleries, ©_to_param); extension_ 131 chrome/browser/media_galleries/media_galleries_dialog_controller.cc extension_, APIPermission::kMediaGalleries, &delete_param); extension_ 141 chrome/browser/media_galleries/media_galleries_dialog_controller.cc return l10n_util::GetStringFUTF16(id, base::UTF8ToUTF16(extension_->name())); extension_ 205 chrome/browser/media_galleries/media_galleries_dialog_controller.cc extensions::ExtensionPrefs::Get(GetProfile()), extension_->id()); extension_ 291 chrome/browser/media_galleries/media_galleries_dialog_controller.cc extension_->id(), extension_ 339 chrome/browser/media_galleries/media_galleries_dialog_controller.cc if (extension_id != extension_->id()) extension_ 348 chrome/browser/media_galleries/media_galleries_dialog_controller.cc if (extension_id != extension_->id()) extension_ 394 chrome/browser/media_galleries/media_galleries_dialog_controller.cc preferences_->GalleriesForExtension(*extension_); extension_ 414 chrome/browser/media_galleries/media_galleries_dialog_controller.cc *extension_, iter->first, iter->second.allowed); extension_ 440 chrome/browser/media_galleries/media_galleries_dialog_controller.cc preferences_->SetGalleryPermissionForExtension(*extension_, id, true); extension_ 199 chrome/browser/media_galleries/media_galleries_dialog_controller.h const extensions::Extension* extension_; extension_ 105 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc extension_ = AddMediaGalleriesApp("read", read_permissions, profile_.get()); extension_ 115 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc *extension_.get(), extension_ 138 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc return extension_.get(); extension_ 182 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc scoped_refptr<extensions::Extension> extension_; extension_ 67 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc extension_(&extension), extension_ 96 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc extension_(&extension), extension_ 115 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc base::UTF8ToUTF16(extension_->name())); extension_ 125 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc extension_, extensions::APIPermission::kMediaGalleries, extension_ 129 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc extension_, extensions::APIPermission::kMediaGalleries, extension_ 140 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc return l10n_util::GetStringFUTF16(id, base::UTF8ToUTF16(extension_->name())); extension_ 198 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc *extension_, it->first, true); extension_ 288 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc UpdateScanResultsFromPreferences(preferences_, extension_, extension_ 299 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc if (extension_id == extension_->id()) { extension_ 300 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc UpdateScanResultsFromPreferences(preferences_, extension_, extension_ 349 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc OnPreferenceUpdate(extension_->id()); extension_ 355 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc OnPreferenceUpdate(extension_->id()); extension_ 361 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc OnPreferenceUpdate(extension_->id()); extension_ 172 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h const extensions::Extension* extension_; extension_ 105 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc extension_ = AddMediaGalleriesApp("read", read_permissions, profile_.get()); extension_ 115 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc *extension_.get(), extension_ 139 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc return extension_.get(); extension_ 203 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc scoped_refptr<extensions::Extension> extension_; extension_ 124 chrome/browser/media_galleries/media_scan_manager_unittest.cc extension_ = AddMediaGalleriesApp("read", read_permissions, profile_.get()); extension_ 192 chrome/browser/media_galleries/media_scan_manager_unittest.cc media_scan_manager_->StartScan(profile_.get(), extension_, extension_ 209 chrome/browser/media_galleries/media_scan_manager_unittest.cc return extension_.get(); extension_ 238 chrome/browser/media_galleries/media_scan_manager_unittest.cc EXPECT_EQ(extension_->id(), extension_id); extension_ 271 chrome/browser/media_galleries/media_scan_manager_unittest.cc scoped_refptr<extensions::Extension> extension_; extension_ 73 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc scoped_refptr<extensions::Extension> extension_; extension_ 107 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc extension_ = AddMediaGalleriesApp("all", all_permissions, profile()); extension_ 167 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc rvh, extension_.get(), extension_ 134 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc extension_ = LoadExtension(kTestExtensionPath); extension_ 135 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc ASSERT_TRUE(extension_.get()); extension_ 136 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc ASSERT_EQ(kTestExtension, extension_->id()); extension_ 226 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc scoped_refptr<const extensions::Extension> extension_; extension_ 38 chrome/browser/ui/cocoa/extensions/browser_action_button.h const extensions::Extension* extension_; extension_ 26 chrome/browser/ui/cocoa/extensions/extension_action_context_menu_controller.h const extensions::Extension* extension_; extension_ 60 chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.h const extensions::Extension* extension_; // weak extension_ 37 chrome/browser/ui/extensions/extension_installed_bubble.cc extension_(extension), extension_ 91 chrome/browser/ui/extensions/extension_installed_bubble.cc if (extension == extension_) { extension_ 104 chrome/browser/ui/extensions/extension_installed_bubble.cc if (extension == extension_) { extension_ 107 chrome/browser/ui/extensions/extension_installed_bubble.cc extension_ = NULL; extension_ 58 chrome/browser/ui/extensions/extension_installed_bubble.h const extensions::Extension* extension() const { return extension_; } extension_ 79 chrome/browser/ui/extensions/extension_installed_bubble.h const extensions::Extension* extension_; extension_ 103 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc extension_(extension), extension_ 170 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc const Extension* extension() { return extension_; } extension_ 189 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc if (extension_->id() == payload->first && extension_ 247 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc if (!extension_->ShowConfigureContextMenus()) extension_ 251 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc new ExtensionContextMenuModel(extension_, toolbar_->browser(), this); extension_ 263 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc const Extension* extension = extension_; extension_ 390 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc if (command_service->GetBrowserActionCommand(extension_->id(), extension_ 441 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc GetBrowserAction(*extension_); extension_ 448 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc const Extension* extension_; extension_ 140 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc this, extension_, triggering_extension_, &icon_); extension_ 53 chrome/browser/ui/views/toolbar/browser_action_view.cc button_ = new BrowserActionButton(extension_, browser_, delegate_); extension_ 102 chrome/browser/ui/views/toolbar/browser_action_view.cc extension_(extension), extension_ 271 chrome/browser/ui/views/toolbar/browser_action_view.cc if (extension_->id() == payload->first && extension_ 397 chrome/browser/ui/views/toolbar/browser_action_view.cc extension_->id(), extension_ 417 chrome/browser/ui/views/toolbar/browser_action_view.cc extension_->id(), extension_ 94 chrome/browser/ui/views/toolbar/browser_action_view.h const extensions::Extension* extension_; extension_ 129 chrome/browser/ui/views/toolbar/browser_action_view.h const extensions::Extension* extension() { return extension_; } extension_ 220 chrome/browser/ui/views/toolbar/browser_action_view.h const extensions::Extension* extension_; extension_ 35 chrome/renderer/extensions/chrome_v8_context.cc extension_(extension), extension_ 62 chrome/renderer/extensions/chrome_v8_context.cc return extension_.get() ? extension_->id() : std::string(); extension_ 101 chrome/renderer/extensions/chrome_v8_context.cc extension_.get(), extension_ 112 chrome/renderer/extensions/chrome_v8_context.cc const Extension* extension = extension_.get(); extension_ 55 chrome/renderer/extensions/chrome_v8_context.h return extension_.get(); extension_ 140 chrome/renderer/extensions/chrome_v8_context.h scoped_refptr<const Extension> extension_; extension_ 28 chrome/test/remoting/remote_desktop_browsertest.cc : extension_(NULL) { extension_ 110 chrome/test/remoting/remote_desktop_browsertest.cc extension_ = extension.get(); extension_ 131 chrome/test/remoting/remote_desktop_browsertest.cc extension_ = NULL; extension_ 152 chrome/test/remoting/remote_desktop_browsertest.cc if (extension_) extension_ 153 chrome/test/remoting/remote_desktop_browsertest.cc EXPECT_EQ(extension, extension_); extension_ 155 chrome/test/remoting/remote_desktop_browsertest.cc extension_ = extension.get(); extension_ 169 chrome/test/remoting/remote_desktop_browsertest.cc ASSERT_TRUE(extension_); extension_ 179 chrome/test/remoting/remote_desktop_browsertest.cc extension_, extension_ 212 chrome/test/remoting/remote_desktop_browsertest.cc ASSERT_TRUE(extension_); extension_ 245 chrome/test/remoting/remote_desktop_browsertest.cc ASSERT_TRUE(extension_); extension_ 270 chrome/test/remoting/remote_desktop_browsertest.cc ASSERT_TRUE(extension_); extension_ 326 chrome/test/remoting/remote_desktop_browsertest.cc ASSERT_TRUE(extension_); extension_ 359 chrome/test/remoting/remote_desktop_browsertest.cc ASSERT_TRUE(extension_); extension_ 167 chrome/test/remoting/remote_desktop_browsertest.h std::string ChromotingID() { return extension_->id(); } extension_ 171 chrome/test/remoting/remote_desktop_browsertest.h return extension_->GetType() == extensions::Manifest::TYPE_PLATFORM_APP; extension_ 319 chrome/test/remoting/remote_desktop_browsertest.h const Extension* extension_; extension_ 39 extensions/browser/admin_policy_unittest.cc extension_ = Extension::Create(base::FilePath(), location, *values, extension_ 41 extensions/browser/admin_policy_unittest.cc ASSERT_TRUE(extension_.get()); extension_ 45 extensions/browser/admin_policy_unittest.cc scoped_refptr<Extension> extension_; extension_ 66 extensions/browser/admin_policy_unittest.cc EXPECT_TRUE(ap::UserMayLoad(NULL, NULL, NULL, NULL, extension_.get(), NULL)); extension_ 68 extensions/browser/admin_policy_unittest.cc EXPECT_TRUE(ap::UserMayLoad(NULL, NULL, NULL, NULL, extension_.get(), extension_ 74 extensions/browser/admin_policy_unittest.cc blacklist.Append(new base::StringValue(extension_->id())); extension_ 75 extensions/browser/admin_policy_unittest.cc EXPECT_TRUE(ap::UserMayLoad(&blacklist, NULL, NULL, NULL, extension_.get(), extension_ 79 extensions/browser/admin_policy_unittest.cc EXPECT_TRUE(ap::UserMayLoad(&blacklist, NULL, NULL, NULL, extension_.get(), extension_ 86 extensions/browser/admin_policy_unittest.cc EXPECT_TRUE(ap::UserMayLoad(NULL, NULL, NULL, NULL, extension_.get(), NULL)); extension_ 88 extensions/browser/admin_policy_unittest.cc EXPECT_TRUE(ap::UserMayLoad(&blacklist, NULL, NULL, NULL, extension_.get(), extension_ 91 extensions/browser/admin_policy_unittest.cc EXPECT_TRUE(ap::UserMayLoad(&blacklist, NULL, NULL, NULL, extension_.get(), extension_ 101 extensions/browser/admin_policy_unittest.cc whitelist.Append(new base::StringValue(extension_->id())); extension_ 102 extensions/browser/admin_policy_unittest.cc EXPECT_TRUE(ap::UserMayLoad(NULL, &whitelist, NULL, NULL, extension_.get(), extension_ 106 extensions/browser/admin_policy_unittest.cc blacklist.Append(new base::StringValue(extension_->id())); extension_ 107 extensions/browser/admin_policy_unittest.cc EXPECT_TRUE(ap::UserMayLoad(NULL, &whitelist, NULL, NULL, extension_.get(), extension_ 110 extensions/browser/admin_policy_unittest.cc EXPECT_TRUE(ap::UserMayLoad(NULL, &whitelist, NULL, NULL, extension_.get(), extension_ 122 extensions/browser/admin_policy_unittest.cc EXPECT_FALSE(ap::UserMayLoad(&blacklist, NULL, NULL, NULL, extension_.get(), extension_ 125 extensions/browser/admin_policy_unittest.cc EXPECT_FALSE(ap::UserMayLoad(&blacklist, NULL, NULL, NULL, extension_.get(), extension_ 130 extensions/browser/admin_policy_unittest.cc blacklist.Append(new base::StringValue(extension_->id())); extension_ 131 extensions/browser/admin_policy_unittest.cc EXPECT_FALSE(ap::UserMayLoad(&blacklist, NULL, NULL, NULL, extension_.get(), extension_ 134 extensions/browser/admin_policy_unittest.cc blacklist.Append(new base::StringValue(extension_->id())); extension_ 135 extensions/browser/admin_policy_unittest.cc EXPECT_FALSE(ap::UserMayLoad(&blacklist, NULL, NULL, NULL, extension_.get(), extension_ 143 extensions/browser/admin_policy_unittest.cc extension_.get(), NULL)); extension_ 146 extensions/browser/admin_policy_unittest.cc extension_.get(), NULL)); extension_ 151 extensions/browser/admin_policy_unittest.cc EXPECT_TRUE(ap::UserMayLoad(NULL, NULL, NULL, NULL, extension_.get(), NULL)); extension_ 155 extensions/browser/admin_policy_unittest.cc extension_.get(), NULL)); extension_ 159 extensions/browser/admin_policy_unittest.cc extension_.get(), NULL)); extension_ 163 extensions/browser/admin_policy_unittest.cc extension_.get(), NULL)); extension_ 167 extensions/browser/admin_policy_unittest.cc extension_.get(), NULL)); extension_ 172 extensions/browser/admin_policy_unittest.cc EXPECT_TRUE(ap::UserMayModifySettings(extension_.get(), NULL)); extension_ 174 extensions/browser/admin_policy_unittest.cc EXPECT_TRUE(ap::UserMayModifySettings(extension_.get(), &error)); extension_ 179 extensions/browser/admin_policy_unittest.cc EXPECT_FALSE(ap::UserMayModifySettings(extension_.get(), NULL)); extension_ 180 extensions/browser/admin_policy_unittest.cc EXPECT_FALSE(ap::UserMayModifySettings(extension_.get(), &error)); extension_ 186 extensions/browser/admin_policy_unittest.cc EXPECT_TRUE(ap::MustRemainEnabled(extension_.get(), NULL)); extension_ 188 extensions/browser/admin_policy_unittest.cc EXPECT_TRUE(ap::MustRemainEnabled(extension_.get(), &error)); extension_ 193 extensions/browser/admin_policy_unittest.cc EXPECT_FALSE(ap::MustRemainEnabled(extension_.get(), NULL)); extension_ 194 extensions/browser/admin_policy_unittest.cc EXPECT_FALSE(ap::MustRemainEnabled(extension_.get(), &error)); extension_ 71 extensions/browser/api/socket/socket_api.cc return manager_->Get(extension_->id(), api_resource_id); extension_ 75 extensions/browser/api/socket/socket_api.cc return manager_->GetResourceIds(extension_->id()); extension_ 79 extensions/browser/api/socket/socket_api.cc manager_->Remove(extension_->id(), api_resource_id); extension_ 159 extensions/browser/api/socket/socket_api.cc socket = new TCPSocket(extension_->id()); extension_ 161 extensions/browser/api/socket/socket_api.cc socket = new UDPSocket(extension_->id()); extension_ 119 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc ResumableTCPSocket* socket = new ResumableTCPSocket(extension_->id()); extension_ 180 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc socket_event_dispatcher_->OnSocketResume(extension_->id(), extension_ 299 extensions/browser/api/sockets_tcp/sockets_tcp_api.cc socket_event_dispatcher_->OnSocketConnect(extension_->id(), extension_ 89 extensions/browser/api/sockets_tcp_server/sockets_tcp_server_api.cc new ResumableTCPServerSocket(extension_->id()); extension_ 152 extensions/browser/api/sockets_tcp_server/sockets_tcp_server_api.cc socket_event_dispatcher_->OnServerSocketResume(extension_->id(), extension_ 203 extensions/browser/api/sockets_tcp_server/sockets_tcp_server_api.cc socket_event_dispatcher_->OnServerSocketListen(extension_->id(), extension_ 101 extensions/browser/api/sockets_udp/sockets_udp_api.cc ResumableUDPSocket* socket = new ResumableUDPSocket(extension_->id()); extension_ 162 extensions/browser/api/sockets_udp/sockets_udp_api.cc socket_event_dispatcher_->OnSocketResume(extension_->id(), extension_ 204 extensions/browser/api/sockets_udp/sockets_udp_api.cc socket_event_dispatcher_->OnSocketBind(extension_->id(), extension_ 97 extensions/browser/extension_function.cc name_, extension_, Feature::BLESSED_EXTENSION_CONTEXT, source_url()); extension_ 165 extensions/browser/extension_function.h extension_ = extension; extension_ 167 extensions/browser/extension_function.h const extensions::Extension* GetExtension() const { return extension_.get(); } extension_ 168 extensions/browser/extension_function.h const std::string& extension_id() const { return extension_->id(); } extension_ 227 extensions/browser/extension_function.h scoped_refptr<const extensions::Extension> extension_; extension_ 119 extensions/browser/extension_host.cc extension_(extension), extension_ 152 extensions/browser/extension_host.cc extension_ && BackgroundInfo::HasLazyBackgroundPage(extension_)) { extension_ 227 extensions/browser/extension_host.cc if (extension_ == content::Details<UnloadedExtensionInfo>(details)-> extension_ 229 extensions/browser/extension_host.cc extension_ = NULL; extension_ 252 extensions/browser/extension_host.cc if (!extension_) extension_ 270 extensions/browser/extension_host.cc if (extension_ && BackgroundInfo::HasLazyBackgroundPage(extension_)) { extension_ 315 extensions/browser/extension_host.cc ->SetBackgroundPageReady(extension_, true); extension_ 318 extensions/browser/extension_host.cc content::Source<const Extension>(extension_), extension_ 55 extensions/browser/extension_host.h const Extension* extension() const { return extension_; } extension_ 145 extensions/browser/extension_host.h const Extension* extension_; extension_ 20 net/websockets/websocket_extension_parser.cc ConsumeExtension(&extension_); extension_ 33 net/websockets/websocket_extension_parser.h const WebSocketExtension& extension() const { return extension_; } extension_ 52 net/websockets/websocket_extension_parser.h WebSocketExtension extension_; extension_ 123 third_party/protobuf/src/google/protobuf/descriptor.pb.cc GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, extension_), extension_ 142 third_party/protobuf/src/google/protobuf/descriptor.pb.cc GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, extension_), extension_ 1039 third_party/protobuf/src/google/protobuf/descriptor.pb.cc extension_.Clear(); extension_ 1550 third_party/protobuf/src/google/protobuf/descriptor.pb.cc extension_.MergeFrom(from.extension_); extension_ 1612 third_party/protobuf/src/google/protobuf/descriptor.pb.cc extension_.Swap(&other->extension_); extension_ 1958 third_party/protobuf/src/google/protobuf/descriptor.pb.cc extension_.Clear(); extension_ 2292 third_party/protobuf/src/google/protobuf/descriptor.pb.cc extension_.MergeFrom(from.extension_); extension_ 2343 third_party/protobuf/src/google/protobuf/descriptor.pb.cc extension_.Swap(&other->extension_); extension_ 446 third_party/protobuf/src/google/protobuf/descriptor.pb.h ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_; extension_ 702 third_party/protobuf/src/google/protobuf/descriptor.pb.h ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_; extension_ 3118 third_party/protobuf/src/google/protobuf/descriptor.pb.h return extension_.size(); extension_ 3121 third_party/protobuf/src/google/protobuf/descriptor.pb.h extension_.Clear(); extension_ 3124 third_party/protobuf/src/google/protobuf/descriptor.pb.h return extension_.Get(index); extension_ 3127 third_party/protobuf/src/google/protobuf/descriptor.pb.h return extension_.Mutable(index); extension_ 3130 third_party/protobuf/src/google/protobuf/descriptor.pb.h return extension_.Add(); extension_ 3134 third_party/protobuf/src/google/protobuf/descriptor.pb.h return extension_; extension_ 3138 third_party/protobuf/src/google/protobuf/descriptor.pb.h return &extension_; extension_ 3366 third_party/protobuf/src/google/protobuf/descriptor.pb.h return extension_.size(); extension_ 3369 third_party/protobuf/src/google/protobuf/descriptor.pb.h extension_.Clear(); extension_ 3372 third_party/protobuf/src/google/protobuf/descriptor.pb.h return extension_.Get(index); extension_ 3375 third_party/protobuf/src/google/protobuf/descriptor.pb.h return extension_.Mutable(index); extension_ 3378 third_party/protobuf/src/google/protobuf/descriptor.pb.h return extension_.Add(); extension_ 3382 third_party/protobuf/src/google/protobuf/descriptor.pb.h return extension_; extension_ 3386 third_party/protobuf/src/google/protobuf/descriptor.pb.h return &extension_;