extension          55 apps/app_lifetime_monitor.cc       const Extension* extension = host->extension();
extension          56 apps/app_lifetime_monitor.cc       if (!extension || !extension->is_platform_app())
extension          59 apps/app_lifetime_monitor.cc       NotifyAppStart(extension->id());
extension          65 apps/app_lifetime_monitor.cc       const Extension* extension = host->extension();
extension          66 apps/app_lifetime_monitor.cc       if (!extension || !extension->is_platform_app())
extension          69 apps/app_lifetime_monitor.cc       NotifyAppStop(extension->id());
extension          84 apps/app_load_service.cc       const Extension* extension = host->extension();
extension          86 apps/app_load_service.cc       if (!extension)
extension          89 apps/app_load_service.cc           post_reload_actions_.find(extension->id());
extension          95 apps/app_load_service.cc           LaunchPlatformApp(profile_, extension);
extension          98 apps/app_load_service.cc           RestartPlatformApp(profile_, extension);
extension         102 apps/app_load_service.cc               profile_, extension, it->second.command_line,
extension         115 apps/app_load_service.cc       if (!unload_info->extension->is_platform_app())
extension         119 apps/app_load_service.cc           HasAppWindows(unload_info->extension->id()) &&
extension         120 apps/app_load_service.cc           !HasPostReloadAction(unload_info->extension->id())) {
extension         121 apps/app_load_service.cc         post_reload_actions_[unload_info->extension->id()].action_type = LAUNCH;
extension         140 apps/app_load_service.cc      return (prefs->GetDisableReasons(unload_info.extension->id()) &
extension          58 apps/app_restore_service.cc     const Extension* extension = it->get();
extension          59 apps/app_restore_service.cc     if (extension_prefs->IsExtensionRunning(extension->id())) {
extension          60 apps/app_restore_service.cc       RecordAppStop(extension->id());
extension          68 apps/app_restore_service.cc             extension);
extension         132 apps/app_restore_service.cc void AppRestoreService::RestoreApp(const Extension* extension) {
extension         133 apps/app_restore_service.cc   RestartPlatformApp(profile_, extension);
extension          60 apps/app_restore_service.h   void RestoreApp(const extensions::Extension* extension);
extension          35 apps/app_restore_service_browsertest.cc   const Extension* extension = LoadExtension(
extension          37 apps/app_restore_service_browsertest.cc   ASSERT_TRUE(extension);
extension          41 apps/app_restore_service_browsertest.cc   ASSERT_TRUE(extension_prefs->IsExtensionRunning(extension->id()));
extension          47 apps/app_restore_service_browsertest.cc   ASSERT_FALSE(extension_prefs->IsExtensionRunning(extension->id()));
extension          50 apps/app_restore_service_browsertest.cc   extension_prefs->SetExtensionRunning(extension->id(), true);
extension          78 apps/app_restore_service_browsertest.cc   const Extension* extension =
extension          80 apps/app_restore_service_browsertest.cc   ASSERT_TRUE(extension);
extension          86 apps/app_restore_service_browsertest.cc       saved_files_service->GetAllFileEntries(extension->id());
extension          91 apps/app_restore_service_browsertest.cc   file_entries = saved_files_service->GetAllFileEntries(extension->id());
extension         123 apps/app_restore_service_browsertest.cc   const Extension* extension =
extension         125 apps/app_restore_service_browsertest.cc   ASSERT_TRUE(extension);
extension         132 apps/app_restore_service_browsertest.cc       saved_files_service->GetAllFileEntries(extension->id());
extension         137 apps/app_restore_service_browsertest.cc   extension_prefs->SetExtensionRunning(extension->id(), true);
extension         141 apps/app_restore_service_browsertest.cc         extension->id(), it->id, it->path, it->is_directory);
extension         167 apps/app_shim/extension_app_shim_handler_mac.cc   const extensions::Extension* extension =
extension         169 apps/app_shim/extension_app_shim_handler_mac.cc   return extension && extension->is_platform_app() ? extension : NULL;
extension         181 apps/app_shim/extension_app_shim_handler_mac.cc     const extensions::Extension* extension,
extension         184 apps/app_shim/extension_app_shim_handler_mac.cc       extension_misc::APP_LAUNCH_CMD_LINE_APP, extension->GetType());
extension         186 apps/app_shim/extension_app_shim_handler_mac.cc     apps::LaunchPlatformApp(profile, extension);
extension         190 apps/app_shim/extension_app_shim_handler_mac.cc       apps::LaunchPlatformAppWithPath(profile, extension, *it);
extension         197 apps/app_shim/extension_app_shim_handler_mac.cc     const extensions::Extension* extension) {
extension         199 apps/app_shim/extension_app_shim_handler_mac.cc       web_app::ShortcutInfoForExtensionAndProfile(extension, profile));
extension         361 apps/app_shim/extension_app_shim_handler_mac.cc   const extensions::Extension* extension =
extension         363 apps/app_shim/extension_app_shim_handler_mac.cc   if (extension) {
extension         364 apps/app_shim/extension_app_shim_handler_mac.cc     delegate_->LaunchApp(profile, extension, files);
extension         383 apps/app_shim/extension_app_shim_handler_mac.cc   const extensions::Extension* extension =
extension         385 apps/app_shim/extension_app_shim_handler_mac.cc   if (!extension || !delegate_->ProfileExistsForPath(profile_path)) {
extension         396 apps/app_shim/extension_app_shim_handler_mac.cc   delegate_->LaunchApp(profile, extension, files);
extension         426 apps/app_shim/extension_app_shim_handler_mac.cc   const extensions::Extension* extension =
extension         428 apps/app_shim/extension_app_shim_handler_mac.cc   if (extension) {
extension         429 apps/app_shim/extension_app_shim_handler_mac.cc     delegate_->LaunchApp(profile, extension, files);
extension         502 apps/app_shim/extension_app_shim_handler_mac.cc   const extensions::Extension* extension =
extension         504 apps/app_shim/extension_app_shim_handler_mac.cc   if (!extension)
extension         514 apps/app_shim/extension_app_shim_handler_mac.cc   delegate_->LaunchShim(profile, extension);
extension          63 apps/app_shim/extension_app_shim_handler_mac.h                            const extensions::Extension* extension,
extension          66 apps/app_shim/extension_app_shim_handler_mac.h                             const extensions::Extension* extension);
extension         229 apps/app_window.cc                      const extensions::Extension* extension)
extension         231 apps/app_window.cc       extension_(extension),
extension         232 apps/app_window.cc       extension_id_(extension->id()),
extension         351 apps/app_window.cc       web_contents, request, callback, extension());
extension         525 apps/app_window.cc     title = base::UTF8ToUTF16(extension()->name());
extension         781 apps/app_window.cc                                 extension(),
extension         782 apps/app_window.cc                                 extensions::IconsInfo::GetIcons(extension()),
extension         918 apps/app_window.cc               ->extension;
extension         926 apps/app_window.cc               ->extension;
extension         974 apps/app_window.cc       extension()->id(), window_key_, bounds, screen_bounds, window_state);
extension        1030 apps/app_window.cc     if (cache->GetGeometry(extension()->id(),
extension         222 apps/app_window.h         const extensions::Extension* extension) = 0;
extension         242 apps/app_window.h             const extensions::Extension* extension);
extension         252 apps/app_window.h   const extensions::Extension* extension() const { return extension_; }
extension         211 apps/app_window_geometry_cache.cc               ->extension->id();
extension          38 apps/app_window_registry.cc   std::string key = app_window->extension()->id();
extension         147 apps/app_window_registry.cc     if ((*i)->extension()->id() == app_id) {
extension         164 apps/app_window_registry.cc     if ((*i)->extension()->id() == app_id && (*i)->window_key() == window_key) {
extension          32 apps/apps_client.h                               const extensions::Extension* extension) = 0;
extension          38 apps/apps_client.h       const extensions::Extension* extension) = 0;
extension          54 apps/browser/api/app_runtime/app_runtime_api.cc                                              const Extension* extension) {
extension          56 apps/browser/api/app_runtime/app_runtime_api.cc   DispatchOnLaunchedEventImpl(extension->id(), launch_data.Pass(), context);
extension          61 apps/browser/api/app_runtime/app_runtime_api.cc                                               const Extension* extension) {
extension          69 apps/browser/api/app_runtime/app_runtime_api.cc       ->DispatchEventToExtension(extension->id(), event.Pass());
extension          75 apps/browser/api/app_runtime/app_runtime_api.cc     const Extension* extension,
extension          91 apps/browser/api/app_runtime/app_runtime_api.cc   DispatchOnLaunchedEventImpl(extension->id(), launch_data.Pass(), context);
extension          97 apps/browser/api/app_runtime/app_runtime_api.cc     const Extension* extension,
extension         106 apps/browser/api/app_runtime/app_runtime_api.cc       extension->id(), launch_data.ToValue().Pass(), context);
extension          31 apps/browser/api/app_runtime/app_runtime_api.h                                       const extensions::Extension* extension);
extension          36 apps/browser/api/app_runtime/app_runtime_api.h                                        const extensions::Extension* extension);
extension          55 apps/browser/api/app_runtime/app_runtime_api.h       const extensions::Extension* extension,
extension          64 apps/browser/api/app_runtime/app_runtime_api.h       const extensions::Extension* extension,
extension         106 apps/launcher.cc void LaunchPlatformAppWithNoData(Profile* profile, const Extension* extension) {
extension         108 apps/launcher.cc   AppEventRouter::DispatchOnLaunchedEvent(profile, extension);
extension         120 apps/launcher.cc                           const Extension* extension,
extension         122 apps/launcher.cc       : profile_(profile), extension_(extension), file_path_(file_path) {}
extension         315 apps/launcher.cc                                       const Extension* extension,
extension         318 apps/launcher.cc   if (!AppsClient::Get()->CheckAppLaunch(profile, extension))
extension         324 apps/launcher.cc   if (extensions::KioskModeInfo::IsKioskOnly(extension)) {
extension         340 apps/launcher.cc     LaunchPlatformAppWithNoData(profile, extension);
extension         345 apps/launcher.cc   LaunchPlatformAppWithPath(profile, extension, path);
extension         349 apps/launcher.cc                                const Extension* extension,
extension         355 apps/launcher.cc       new PlatformAppPathLauncher(profile, extension, file_path);
extension         359 apps/launcher.cc void LaunchPlatformApp(Profile* profile, const Extension* extension) {
extension         361 apps/launcher.cc                                    extension,
extension         367 apps/launcher.cc                                       const Extension* extension,
extension         371 apps/launcher.cc       new PlatformAppPathLauncher(profile, extension, file_path);
extension         375 apps/launcher.cc void RestartPlatformApp(Profile* profile, const Extension* extension) {
extension         384 apps/launcher.cc       ExtensionHasEventListener(extension->id(),
extension         388 apps/launcher.cc     AppEventRouter::DispatchOnRestartedEvent(profile, extension);
extension         394 apps/launcher.cc   bool had_windows = extension_prefs->IsActive(extension->id());
extension         395 apps/launcher.cc   extension_prefs->SetIsActive(extension->id(), false);
extension         397 apps/launcher.cc       ExtensionHasEventListener(extension->id(),
extension         401 apps/launcher.cc     LaunchPlatformAppWithNoData(profile, extension);
extension         405 apps/launcher.cc                               const Extension* extension,
extension         410 apps/launcher.cc       profile, extension, handler_id, url, referrer_url);
extension          29 apps/launcher.h                                       const extensions::Extension* extension,
extension          36 apps/launcher.h                                const extensions::Extension* extension,
extension          41 apps/launcher.h                        const extensions::Extension* extension);
extension          48 apps/launcher.h                                       const extensions::Extension* extension,
extension          57 apps/launcher.h                               const extensions::Extension* extension,
extension          63 apps/launcher.h                         const extensions::Extension* extension);
extension         213 apps/saved_files_service.cc       const Extension* extension = host->extension();
extension         214 apps/saved_files_service.cc       if (extension) {
extension         215 apps/saved_files_service.cc         ClearQueueIfNoRetainPermission(extension);
extension         216 apps/saved_files_service.cc         Clear(extension->id());
extension         262 apps/saved_files_service.cc     const Extension* extension) {
extension         263 apps/saved_files_service.cc   if (extension->is_ephemeral() ||
extension         264 apps/saved_files_service.cc       !extension->GetActivePermissions()->HasAPIPermission(
extension         266 apps/saved_files_service.cc     ClearQueue(extension);
extension         270 apps/saved_files_service.cc void SavedFilesService::ClearQueue(const extensions::Extension* extension) {
extension         271 apps/saved_files_service.cc   ClearSavedFileEntries(ExtensionPrefs::Get(profile_), extension->id());
extension         272 apps/saved_files_service.cc   Clear(extension->id());
extension          96 apps/saved_files_service.h   void ClearQueueIfNoRetainPermission(const extensions::Extension* extension);
extension          99 apps/saved_files_service.h   void ClearQueue(const extensions::Extension* extension);
extension          61 apps/shell/browser/shell_app_window_delegate.cc     const extensions::Extension* extension) {
extension          45 apps/shell/browser/shell_app_window_delegate.h       const extensions::Extension* extension) OVERRIDE;
extension          26 apps/shell/browser/shell_apps_client.cc                                      const extensions::Extension* extension) {
extension          32 apps/shell/browser/shell_apps_client.cc     const extensions::Extension* extension) {
extension          33 apps/shell/browser/shell_apps_client.cc   return new AppWindow(context, new ShellAppWindowDelegate, extension);
extension          30 apps/shell/browser/shell_apps_client.h                               const extensions::Extension* extension) OVERRIDE;
extension          32 apps/shell/browser/shell_apps_client.h                                      const extensions::Extension* extension)
extension         107 apps/shell/browser/shell_content_browser_client.cc   const extensions::Extension* extension = GetExtension(site_instance);
extension         108 apps/shell/browser/shell_content_browser_client.cc   if (!extension)
extension         112 apps/shell/browser/shell_content_browser_client.cc       ->Insert(extension->id(),
extension         121 apps/shell/browser/shell_content_browser_client.cc                  extension->id(),
extension         129 apps/shell/browser/shell_content_browser_client.cc   const extensions::Extension* extension = GetExtension(site_instance);
extension         130 apps/shell/browser/shell_content_browser_client.cc   if (!extension)
extension         134 apps/shell/browser/shell_content_browser_client.cc       ->Remove(extension->id(),
extension         143 apps/shell/browser/shell_content_browser_client.cc                  extension->id(),
extension          42 apps/shell/browser/shell_extension_system.cc   scoped_refptr<Extension> extension =
extension          47 apps/shell/browser/shell_extension_system.cc   if (!extension) {
extension          52 apps/shell/browser/shell_extension_system.cc   app_id_ = extension->id();
extension          61 apps/shell/browser/shell_extension_system.cc   ExtensionRegistry::Get(browser_context_)->AddEnabled(extension);
extension          63 apps/shell/browser/shell_extension_system.cc   RegisterExtensionWithRequestContexts(extension);
extension          68 apps/shell/browser/shell_extension_system.cc       content::Details<const Extension>(extension));
extension          86 apps/shell/browser/shell_extension_system.cc   event_router_->DispatchEventWithLazyListener(extension->id(), event.Pass());
extension         173 apps/shell/browser/shell_extension_system.cc     const Extension* extension) {
extension         177 apps/shell/browser/shell_extension_system.cc                  make_scoped_refptr(extension), base::Time::Now(),
extension          68 apps/shell/browser/shell_extension_system.h       const Extension* extension) OVERRIDE;
extension          70 apps/shell/browser/shell_extensions_browser_client.cc       const Extension* extension) OVERRIDE {
extension         150 apps/shell/browser/shell_extensions_browser_client.cc     const extensions::Extension* extension,
extension          43 apps/shell/browser/shell_extensions_browser_client.h       const extensions::Extension* extension,
extension         142 apps/shell/common/shell_extensions_client.cc     const Extension* extension,
extension          36 apps/shell/common/shell_extensions_client.h       const extensions::Extension* extension,
extension         143 base/files/file_path.cc     StringType extension(path, penultimate_dot + 1);
extension         144 base/files/file_path.cc     if (LowerCaseEqualsASCII(extension, kCommonDoubleExtensions[i]))
extension         148 base/files/file_path.cc   StringType extension(path, last_dot + 1);
extension         150 base/files/file_path.cc     if (LowerCaseEqualsASCII(extension, kCommonDoubleExtensionSuffixes[i])) {
extension         431 base/files/file_path.cc FilePath FilePath::AddExtension(const StringType& extension) const {
extension         436 base/files/file_path.cc   if (extension.empty() || extension == StringType(1, kExtensionSeparator))
extension         440 base/files/file_path.cc   if (extension[0] != kExtensionSeparator &&
extension         444 base/files/file_path.cc   str.append(extension);
extension         448 base/files/file_path.cc FilePath FilePath::ReplaceExtension(const StringType& extension) const {
extension         454 base/files/file_path.cc   if (extension.empty() || extension == StringType(1, kExtensionSeparator))
extension         458 base/files/file_path.cc   if (extension[0] != kExtensionSeparator)
extension         460 base/files/file_path.cc   str.append(extension);
extension         464 base/files/file_path.cc bool FilePath::MatchesExtension(const StringType& extension) const {
extension         465 base/files/file_path.cc   DCHECK(extension.empty() || extension[0] == kExtensionSeparator);
extension         469 base/files/file_path.cc   if (current_extension.length() != extension.length())
extension         472 base/files/file_path.cc   return FilePath::CompareEqualIgnoreCase(extension, current_extension);
extension         276 base/files/file_path.h       const StringType& extension) const WARN_UNUSED_RESULT;
extension         283 base/files/file_path.h       const StringType& extension) const WARN_UNUSED_RESULT;
extension         287 base/files/file_path.h   bool MatchesExtension(const StringType& extension) const;
extension         771 base/files/file_path_unittest.cc     FilePath::StringType extension = path.Extension();
extension         773 base/files/file_path_unittest.cc     EXPECT_STREQ(cases[i].expected, extension.c_str()) << "i: " << i <<
extension         780 base/files/file_path_unittest.cc     FilePath::StringType extension = path.Extension();
extension         781 base/files/file_path_unittest.cc     EXPECT_STREQ(cases[i].expected, extension.c_str()) << "i: " << i <<
extension          95 base/message_loop/message_pump_x11.cc       static_cast<XIEvent*>(xev->xcookie.data)->extension == g_xinput_opcode) {
extension         202 chrome/browser/apps/app_browsertest.cc   const Extension* extension = LoadAndLaunchPlatformApp("minimal");
extension         203 chrome/browser/apps/app_browsertest.cc   AppWindow* window = CreateAppWindow(extension);
extension         465 chrome/browser/apps/app_browsertest.cc   const Extension* extension = LoadExtension(
extension         467 chrome/browser/apps/app_browsertest.cc   ASSERT_EQ(1U, RunGetWindowsFunctionForExtension(extension));
extension         481 chrome/browser/apps/app_browsertest.cc   ASSERT_EQ(1U, RunGetWindowsFunctionForExtension(extension));
extension         483 chrome/browser/apps/app_browsertest.cc   ASSERT_FALSE(RunGetWindowFunctionForExtension(app_window_id, extension));
extension         526 chrome/browser/apps/app_browsertest.cc   const Extension* extension = LoadExtension(
extension         528 chrome/browser/apps/app_browsertest.cc   ASSERT_TRUE(extension);
extension         532 chrome/browser/apps/app_browsertest.cc       browser()->profile(), extension, LAUNCH_CONTAINER_NONE, NEW_WINDOW);
extension         733 chrome/browser/apps/app_browsertest.cc   const Extension* extension = LoadAndLaunchPlatformApp("minimal");
extension         734 chrome/browser/apps/app_browsertest.cc   AppWindow* window = CreateAppWindow(extension);
extension         821 chrome/browser/apps/app_browsertest.cc   const Extension* extension = LoadAndLaunchPlatformApp(name);
extension         822 chrome/browser/apps/app_browsertest.cc   ASSERT_TRUE(extension);
extension         845 chrome/browser/apps/app_browsertest.cc         browser()->profile(), extension, LAUNCH_CONTAINER_NONE, NEW_WINDOW));
extension         896 chrome/browser/apps/app_browsertest.cc   const Extension* extension =
extension         898 chrome/browser/apps/app_browsertest.cc   ASSERT_TRUE(extension) << "Failed to load extension.";
extension         921 chrome/browser/apps/app_browsertest.cc   const Extension* extension = LoadAndLaunchPlatformApp("reload");
extension         922 chrome/browser/apps/app_browsertest.cc   ASSERT_TRUE(extension);
extension         979 chrome/browser/apps/app_browsertest.cc   const Extension* extension = LoadExtensionAsComponent(
extension         981 chrome/browser/apps/app_browsertest.cc   ASSERT_TRUE(extension);
extension         988 chrome/browser/apps/app_browsertest.cc       browser()->profile(), extension, LAUNCH_CONTAINER_NONE, NEW_WINDOW));
extension        1005 chrome/browser/apps/app_browsertest.cc   const Extension* extension = LoadExtensionAsComponent(
extension        1007 chrome/browser/apps/app_browsertest.cc   ASSERT_TRUE(extension);
extension        1011 chrome/browser/apps/app_browsertest.cc       browser()->profile(), extension, LAUNCH_CONTAINER_NONE, NEW_WINDOW));
extension        1021 chrome/browser/apps/app_browsertest.cc       SetRegisteredEvents(extension->id(), std::set<std::string>());
extension        1026 chrome/browser/apps/app_browsertest.cc   std::string key(extension->id());
extension        1040 chrome/browser/apps/app_browsertest.cc   const Extension* extension = LoadExtensionAsComponent(
extension        1042 chrome/browser/apps/app_browsertest.cc   ASSERT_TRUE(extension);
extension        1048 chrome/browser/apps/app_browsertest.cc       browser()->profile(), extension, LAUNCH_CONTAINER_NONE, NEW_WINDOW));
extension        1179 chrome/browser/apps/app_browsertest.cc     opener_app_ids_.insert(app_window->extension()->id());
extension        1279 chrome/browser/apps/app_browsertest.cc   const Extension* extension = LoadAndLaunchPlatformApp("restart_device");
extension        1280 chrome/browser/apps/app_browsertest.cc   ASSERT_TRUE(extension);
extension        1304 chrome/browser/apps/app_browsertest.cc     const Extension* extension =
extension        1306 chrome/browser/apps/app_browsertest.cc     ASSERT_TRUE(extension);
extension        1307 chrome/browser/apps/app_browsertest.cc     extension_id = extension->id();
extension        1320 chrome/browser/apps/app_browsertest.cc     const Extension* extension =
extension        1322 chrome/browser/apps/app_browsertest.cc     ASSERT_TRUE(extension);
extension        1323 chrome/browser/apps/app_browsertest.cc     ASSERT_EQ(extension_id, extension->id());
extension          70 chrome/browser/apps/app_browsertest_util.cc   const Extension* extension = LoadExtension(
extension          72 chrome/browser/apps/app_browsertest_util.cc   EXPECT_TRUE(extension);
extension          74 chrome/browser/apps/app_browsertest_util.cc   LaunchPlatformApp(extension);
extension          78 chrome/browser/apps/app_browsertest_util.cc   return extension;
extension          83 chrome/browser/apps/app_browsertest_util.cc   const Extension* extension = InstallExtension(
extension          85 chrome/browser/apps/app_browsertest_util.cc   EXPECT_TRUE(extension);
extension          87 chrome/browser/apps/app_browsertest_util.cc   return extension;
extension          96 chrome/browser/apps/app_browsertest_util.cc   const Extension* extension = InstallPlatformApp(name);
extension          98 chrome/browser/apps/app_browsertest_util.cc   LaunchPlatformApp(extension);
extension         102 chrome/browser/apps/app_browsertest_util.cc   return extension;
extension         105 chrome/browser/apps/app_browsertest_util.cc void PlatformAppBrowserTest::LaunchPlatformApp(const Extension* extension) {
extension         107 chrome/browser/apps/app_browsertest_util.cc       browser()->profile(), extension, LAUNCH_CONTAINER_NONE, NEW_WINDOW));
extension         137 chrome/browser/apps/app_browsertest_util.cc     const Extension* extension) {
extension         139 chrome/browser/apps/app_browsertest_util.cc   function->set_extension(extension);
extension         149 chrome/browser/apps/app_browsertest_util.cc     const Extension* extension) {
extension         151 chrome/browser/apps/app_browsertest_util.cc   function->set_extension(extension);
extension         188 chrome/browser/apps/app_browsertest_util.cc AppWindow* PlatformAppBrowserTest::CreateAppWindow(const Extension* extension) {
extension         189 chrome/browser/apps/app_browsertest_util.cc   return CreateAppWindowFromParams(extension, AppWindow::CreateParams());
extension         193 chrome/browser/apps/app_browsertest_util.cc     const Extension* extension,
extension         196 chrome/browser/apps/app_browsertest_util.cc       browser()->profile(), new ChromeAppWindowDelegate(), extension);
extension         229 chrome/browser/apps/app_browsertest_util.cc   const Extension* extension = LoadAndLaunchPlatformApp(kAppWindowTestApp);
extension         230 chrome/browser/apps/app_browsertest_util.cc   EXPECT_TRUE(extension);
extension          47 chrome/browser/apps/app_browsertest_util.h   void LaunchPlatformApp(const Extension* extension);
extension          63 chrome/browser/apps/app_browsertest_util.h   size_t RunGetWindowsFunctionForExtension(const Extension* extension);
extension          68 chrome/browser/apps/app_browsertest_util.h                                         const Extension* extension);
extension          85 chrome/browser/apps/app_browsertest_util.h   apps::AppWindow* CreateAppWindow(const Extension* extension);
extension          88 chrome/browser/apps/app_browsertest_util.h       const Extension* extension,
extension          38 chrome/browser/apps/app_launch_for_metro_restart_win.cc   const Extension* extension =
extension          40 chrome/browser/apps/app_launch_for_metro_restart_win.cc   if (!extension)
extension          43 chrome/browser/apps/app_launch_for_metro_restart_win.cc   apps::AppEventRouter::DispatchOnLaunchedEvent(profile, extension);
extension         207 chrome/browser/apps/app_window_browsertest.cc   const extensions::Extension* extension = LoadExtension(
extension         209 chrome/browser/apps/app_window_browsertest.cc   EXPECT_TRUE(extension);
extension         212 chrome/browser/apps/app_window_browsertest.cc                                   extension,
extension         225 chrome/browser/apps/app_window_browsertest.cc       extension->id(),
extension         232 chrome/browser/apps/app_window_browsertest.cc       extension->id(),
extension          44 chrome/browser/apps/chrome_apps_client.cc                                       const extensions::Extension* extension) {
extension          52 chrome/browser/apps/chrome_apps_client.cc         extension->id());
extension          61 chrome/browser/apps/chrome_apps_client.cc     const extensions::Extension* extension) {
extension          65 chrome/browser/apps/chrome_apps_client.cc   return new apps::AppWindow(context, new ChromeAppWindowDelegate, extension);
extension          30 chrome/browser/apps/chrome_apps_client.h                               const extensions::Extension* extension) OVERRIDE;
extension          33 chrome/browser/apps/chrome_apps_client.h       const extensions::Extension* extension) OVERRIDE;
extension          94 chrome/browser/apps/ephemeral_app_browsertest.cc     const Extension* extension =
extension         100 chrome/browser/apps/ephemeral_app_browsertest.cc     return extension;
extension         109 chrome/browser/apps/ephemeral_app_browsertest.cc     const Extension* extension = InstallEphemeralApp(test_path);
extension         110 chrome/browser/apps/ephemeral_app_browsertest.cc     EXPECT_TRUE(extension);
extension         111 chrome/browser/apps/ephemeral_app_browsertest.cc     if (!extension)
extension         114 chrome/browser/apps/ephemeral_app_browsertest.cc     LaunchPlatformApp(extension);
extension         120 chrome/browser/apps/ephemeral_app_browsertest.cc     return extension;
extension         201 chrome/browser/apps/ephemeral_app_browsertest.cc   const Extension* extension =
extension         203 chrome/browser/apps/ephemeral_app_browsertest.cc   ASSERT_TRUE(extension);
extension         212 chrome/browser/apps/ephemeral_app_browsertest.cc   DispatchAlarmEvent(event_router, extension->id());
extension         215 chrome/browser/apps/ephemeral_app_browsertest.cc   CloseApp(extension->id());
extension         220 chrome/browser/apps/ephemeral_app_browsertest.cc       extension->id(), alarms::OnAlarm::kEventName));
extension         224 chrome/browser/apps/ephemeral_app_browsertest.cc   DispatchAlarmEvent(event_router, extension->id());
extension         225 chrome/browser/apps/ephemeral_app_browsertest.cc   VerifyAppNotLoaded(extension->id());
extension          82 chrome/browser/apps/ephemeral_app_launcher.cc   const Extension* extension = extension_service->GetInstalledExtension(id());
extension          83 chrome/browser/apps/ephemeral_app_launcher.cc   if (extension) {
extension          84 chrome/browser/apps/ephemeral_app_launcher.cc     if (extensions::util::IsAppLaunchableWithoutEnabling(extension->id(),
extension          86 chrome/browser/apps/ephemeral_app_launcher.cc       LaunchApp(extension);
extension          95 chrome/browser/apps/ephemeral_app_launcher.cc         new ExtensionEnableFlow(profile(), extension->id(), this));
extension         144 chrome/browser/apps/ephemeral_app_launcher.cc void EphemeralAppLauncher::LaunchApp(const Extension* extension) const {
extension         145 chrome/browser/apps/ephemeral_app_launcher.cc   DCHECK(extension);
extension         146 chrome/browser/apps/ephemeral_app_launcher.cc   if (!extension->is_app()) {
extension         147 chrome/browser/apps/ephemeral_app_launcher.cc     LOG(ERROR) << "Unable to launch extension " << extension->id()
extension         152 chrome/browser/apps/ephemeral_app_launcher.cc   AppLaunchParams params(profile(), extension, NEW_FOREGROUND_TAB);
extension         273 chrome/browser/apps/ephemeral_app_launcher.cc       const extensions::Extension* extension =
extension         275 chrome/browser/apps/ephemeral_app_launcher.cc       DCHECK(extension);
extension         276 chrome/browser/apps/ephemeral_app_launcher.cc       if (extension->id() == id()) {
extension         277 chrome/browser/apps/ephemeral_app_launcher.cc         LaunchApp(extension);
extension         293 chrome/browser/apps/ephemeral_app_launcher.cc   const Extension* extension = extension_service->GetExtensionById(id(), false);
extension         294 chrome/browser/apps/ephemeral_app_launcher.cc   if (extension) {
extension         295 chrome/browser/apps/ephemeral_app_launcher.cc     LaunchApp(extension);
extension          67 chrome/browser/apps/ephemeral_app_launcher.h   void LaunchApp(const extensions::Extension* extension) const;
extension          92 chrome/browser/apps/ephemeral_app_service.cc       const Extension* extension =
extension          93 chrome/browser/apps/ephemeral_app_service.cc           content::Details<const InstalledExtensionInfo>(details)->extension;
extension          94 chrome/browser/apps/ephemeral_app_service.cc       DCHECK(extension);
extension          95 chrome/browser/apps/ephemeral_app_service.cc       if (extension->is_ephemeral()) {
extension         104 chrome/browser/apps/ephemeral_app_service.cc       const Extension* extension =
extension         106 chrome/browser/apps/ephemeral_app_service.cc       DCHECK(extension);
extension         107 chrome/browser/apps/ephemeral_app_service.cc       if (extension->is_ephemeral())
extension         141 chrome/browser/apps/ephemeral_app_service.cc     const Extension* extension = *it;
extension         142 chrome/browser/apps/ephemeral_app_service.cc     if (extension->is_ephemeral())
extension         170 chrome/browser/apps/ephemeral_app_service.cc     const Extension* extension = *it;
extension         171 chrome/browser/apps/ephemeral_app_service.cc     if (!extension->is_ephemeral())
extension         177 chrome/browser/apps/ephemeral_app_service.cc     if (!extensions::util::IsExtensionIdle(extension->id(), profile_))
extension         180 chrome/browser/apps/ephemeral_app_service.cc     base::Time last_launch_time = prefs->GetLastLaunchTime(extension->id());
extension         186 chrome/browser/apps/ephemeral_app_service.cc       last_launch_time = prefs->GetInstallTime(extension->id());
extension         188 chrome/browser/apps/ephemeral_app_service.cc     app_launch_times.insert(std::make_pair(last_launch_time, extension->id()));
extension         270 chrome/browser/apps/ephemeral_app_service.cc       scoped_refptr<const Extension> extension(Extension::Create(
extension         278 chrome/browser/apps/ephemeral_app_service.cc       if (extension.get())
extension         279 chrome/browser/apps/ephemeral_app_service.cc         extensions::DataDeleter::StartDeleting(profile_, extension.get());
extension          36 chrome/browser/apps/ephemeral_app_service_browsertest.cc       const Extension* extension =
extension          42 chrome/browser/apps/ephemeral_app_service_browsertest.cc       app_ids_.push_back(extension->id());
extension          46 chrome/browser/apps/ephemeral_app_throttle.cc   const Extension* extension = service->GetInstalledExtension(app_id);
extension          49 chrome/browser/apps/ephemeral_app_throttle.cc   if (extension && !extension->is_app())
extension          22 chrome/browser/apps/event_page_browsertest.cc     const Extension* extension = LoadAndLaunchPlatformApp(app_path);
extension          23 chrome/browser/apps/event_page_browsertest.cc     ASSERT_TRUE(extension);
extension          50 chrome/browser/apps/shortcut_manager.cc bool ShouldCreateShortcutFor(const extensions::Extension* extension) {
extension          51 chrome/browser/apps/shortcut_manager.cc   return extension->is_platform_app() &&
extension          52 chrome/browser/apps/shortcut_manager.cc       extension->location() != extensions::Manifest::COMPONENT &&
extension          53 chrome/browser/apps/shortcut_manager.cc       extension->ShouldDisplayInAppLauncher();
extension         119 chrome/browser/apps/shortcut_manager.cc       const Extension* extension = installed_info->extension;
extension         130 chrome/browser/apps/shortcut_manager.cc       } else if (ShouldCreateShortcutFor(extension)) {
extension         134 chrome/browser/apps/shortcut_manager.cc         web_app::UpdateShortcutInfoAndIconForApp(extension, profile_,
extension         140 chrome/browser/apps/shortcut_manager.cc       const Extension* extension = content::Details<const Extension>(
extension         142 chrome/browser/apps/shortcut_manager.cc       DeleteApplicationShortcuts(extension);
extension         196 chrome/browser/apps/shortcut_manager.cc     const Extension* extension) {
extension         198 chrome/browser/apps/shortcut_manager.cc       web_app::ShortcutInfoForExtensionAndProfile(extension, profile_);
extension          46 chrome/browser/apps/shortcut_manager.h   void DeleteApplicationShortcuts(const extensions::Extension* extension);
extension        1729 chrome/browser/apps/web_view_browsertest.cc   const extensions::Extension* extension =
extension        1734 chrome/browser/apps/web_view_browsertest.cc     window = CreateAppWindow(extension);
extension          20 chrome/browser/apps/window_controls_browsertest.cc       const extensions::Extension* extension);
extension          24 chrome/browser/apps/window_controls_browsertest.cc     const extensions::Extension* extension) {
extension          30 chrome/browser/apps/window_controls_browsertest.cc       process_manager->GetBackgroundHostForExtension(extension->id());
extension          42 chrome/browser/apps/window_controls_browsertest.cc     if (process_manager->GetExtensionForRenderViewHost(host) == extension) {
extension          57 chrome/browser/apps/window_controls_browsertest.cc   const extensions::Extension* extension =
extension          63 chrome/browser/apps/window_controls_browsertest.cc       GetWebContentsForExtensionWindow(extension);
extension          50 chrome/browser/autocomplete/extension_app_provider.cc   const extensions::Extension* extension =
extension          55 chrome/browser/autocomplete/extension_app_provider.cc   if (!extension)
extension          60 chrome/browser/autocomplete/extension_app_provider.cc       extension->GetType());
extension          62 chrome/browser/autocomplete/extension_app_provider.cc   OpenApplication(AppLaunchParams(profile, extension, disposition));
extension         205 chrome/browser/autocomplete/keyword_provider.cc     const extensions::Extension* extension = extension_service->
extension         207 chrome/browser/autocomplete/keyword_provider.cc     if (!extension ||
extension         209 chrome/browser/autocomplete/keyword_provider.cc         !extensions::util::IsIncognitoEnabled(extension->id(), profile_)))
extension         279 chrome/browser/autocomplete/keyword_provider.cc       const extensions::Extension* extension =
extension         282 chrome/browser/autocomplete/keyword_provider.cc           extension && (!profile_->IsOffTheRecord() ||
extension         284 chrome/browser/autocomplete/keyword_provider.cc                             extension->id(), profile_));
extension         176 chrome/browser/autocomplete/shortcuts_backend.cc         details)->extension->url(), false);
extension         797 chrome/browser/autocomplete/shortcuts_provider_unittest.cc   scoped_refptr<const extensions::Extension> extension =
extension         805 chrome/browser/autocomplete/shortcuts_provider_unittest.cc       extension.get(), extensions::UnloadedExtensionInfo::REASON_UNINSTALL);
extension         101 chrome/browser/background/background_application_list_model.cc     const Extension* extension = cursor->get();
extension         102 chrome/browser/background/background_application_list_model.cc     if (BackgroundApplicationListModel::IsBackgroundApp(*extension,
extension         104 chrome/browser/background/background_application_list_model.cc       applications_result->push_back(extension);
extension         114 chrome/browser/background/background_application_list_model.cc     const Extension* extension = cursor->get();
extension         115 chrome/browser/background/background_application_list_model.cc     if (BackgroundApplicationListModel::IsBackgroundApp(*extension,
extension         117 chrome/browser/background/background_application_list_model.cc       applications_result->push_back(extension);
extension         133 chrome/browser/background/background_application_list_model.cc     const Extension* extension, Profile* profile) {
extension         149 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         204 chrome/browser/background/background_application_list_model.cc     const Extension* extension) {
extension         205 chrome/browser/background/background_application_list_model.cc   DCHECK(IsBackgroundApp(*extension, profile_));
extension         206 chrome/browser/background/background_application_list_model.cc   Application* application = FindApplication(extension);
extension         215 chrome/browser/background/background_application_list_model.cc     application = new Application(this, extension);
extension         216 chrome/browser/background/background_application_list_model.cc     applications_[extension->id()] = application;
extension         223 chrome/browser/background/background_application_list_model.cc     const Extension* extension) {
extension         224 chrome/browser/background/background_application_list_model.cc   ApplicationMap::iterator found = applications_.find(extension->id());
extension         239 chrome/browser/background/background_application_list_model.cc     const Extension* extension) const {
extension         240 chrome/browser/background/background_application_list_model.cc   const std::string& id = extension->id();
extension         247 chrome/browser/background/background_application_list_model.cc     const Extension* extension) {
extension         248 chrome/browser/background/background_application_list_model.cc   const std::string& id = extension->id();
extension         254 chrome/browser/background/background_application_list_model.cc     const Extension* extension) {
extension         255 chrome/browser/background/background_application_list_model.cc   const Application* application = FindApplication(extension);
extension         258 chrome/browser/background/background_application_list_model.cc   AssociateApplicationData(extension);
extension         263 chrome/browser/background/background_application_list_model.cc     const Extension* extension) const {
extension         265 chrome/browser/background/background_application_list_model.cc   const std::string& id = extension->id();
extension         278 chrome/browser/background/background_application_list_model.cc     const Extension& extension) {
extension         280 chrome/browser/background/background_application_list_model.cc   if (!extension.HasAPIPermission(APIPermission::kPushMessaging))
extension         287 chrome/browser/background/background_application_list_model.cc   std::string id_hash = base::SHA1HashString(extension.id());
extension         300 chrome/browser/background/background_application_list_model.cc     const Extension& extension, Profile* profile) {
extension         309 chrome/browser/background/background_application_list_model.cc   if (!extension.HasAPIPermission(APIPermission::kBackground) &&
extension         310 chrome/browser/background/background_application_list_model.cc       !RequiresBackgroundModeForPushMessaging(extension))
extension         315 chrome/browser/background/background_application_list_model.cc   if (!extension.is_hosted_app())
extension         319 chrome/browser/background/background_application_list_model.cc   if (extensions::BackgroundInfo::HasBackgroundPage(&extension))
extension         324 chrome/browser/background/background_application_list_model.cc   base::string16 app_id = base::ASCIIToUTF16(extension.id());
extension         358 chrome/browser/background/background_application_list_model.cc           content::Details<UnloadedExtensionInfo>(details)->extension);
extension         362 chrome/browser/background/background_application_list_model.cc           content::Details<UpdatedExtensionPermissionsInfo>(details)->extension,
extension         376 chrome/browser/background/background_application_list_model.cc     const Extension* extension) {
extension         377 chrome/browser/background/background_application_list_model.cc   FOR_EACH_OBSERVER(Observer, observers_, OnApplicationDataChanged(extension,
extension         382 chrome/browser/background/background_application_list_model.cc     const Extension* extension) {
extension         384 chrome/browser/background/background_application_list_model.cc   if (!IsBackgroundApp(*extension, profile_))
extension         386 chrome/browser/background/background_application_list_model.cc   AssociateApplicationData(extension);
extension         390 chrome/browser/background/background_application_list_model.cc     const Extension* extension) {
extension         391 chrome/browser/background/background_application_list_model.cc   if (!IsBackgroundApp(*extension, profile_))
extension         394 chrome/browser/background/background_application_list_model.cc   DissociateApplicationData(extension);
extension         398 chrome/browser/background/background_application_list_model.cc     const Extension* extension,
extension         404 chrome/browser/background/background_application_list_model.cc         DCHECK(IsBackgroundApp(*extension, profile_));
extension         405 chrome/browser/background/background_application_list_model.cc         OnExtensionLoaded(extension);
extension         408 chrome/browser/background/background_application_list_model.cc         DCHECK(!IsBackgroundApp(*extension, profile_));
extension         410 chrome/browser/background/background_application_list_model.cc         DissociateApplicationData(extension);
extension          38 chrome/browser/background/background_application_list_model.h         const extensions::Extension* extension,
extension          65 chrome/browser/background/background_application_list_model.h   const gfx::ImageSkia* GetIcon(const extensions::Extension* extension);
extension          68 chrome/browser/background/background_application_list_model.h   int GetPosition(const extensions::Extension* extension) const;
extension          74 chrome/browser/background/background_application_list_model.h   static bool IsBackgroundApp(const extensions::Extension& extension,
extension         101 chrome/browser/background/background_application_list_model.h   void AssociateApplicationData(const extensions::Extension* extension);
extension         104 chrome/browser/background/background_application_list_model.h   void DissociateApplicationData(const extensions::Extension* extension);
extension         108 chrome/browser/background/background_application_list_model.h       const extensions::Extension* extension) const;
extension         111 chrome/browser/background/background_application_list_model.h   Application* FindApplication(const extensions::Extension* extension);
extension         121 chrome/browser/background/background_application_list_model.h       const extensions::Extension* extension);
extension         128 chrome/browser/background/background_application_list_model.h   void OnExtensionLoaded(const extensions::Extension* extension);
extension         131 chrome/browser/background/background_application_list_model.h   void OnExtensionUnloaded(const extensions::Extension* extension);
extension         135 chrome/browser/background/background_application_list_model.h       const extensions::Extension* extension,
extension         147 chrome/browser/background/background_application_list_model.h       const extensions::Extension& extension);
extension          90 chrome/browser/background/background_application_list_model_unittest.cc   scoped_refptr<Extension> extension;
extension          96 chrome/browser/background/background_application_list_model_unittest.cc     extension = Extension::Create(
extension         104 chrome/browser/background/background_application_list_model_unittest.cc     extension = Extension::Create(
extension         114 chrome/browser/background/background_application_list_model_unittest.cc   EXPECT_TRUE(extension.get() != NULL) << error;
extension         115 chrome/browser/background/background_application_list_model_unittest.cc   return extension;
extension         133 chrome/browser/background/background_application_list_model_unittest.cc                              Extension* extension) {
extension         134 chrome/browser/background/background_application_list_model_unittest.cc   if (BackgroundApplicationListModel::IsBackgroundApp(*extension,
extension         144 chrome/browser/background/background_application_list_model_unittest.cc       extension, permissions.get());
extension         148 chrome/browser/background/background_application_list_model_unittest.cc                                 Extension* extension) {
extension         149 chrome/browser/background/background_application_list_model_unittest.cc   if (!BackgroundApplicationListModel::IsBackgroundApp(*extension,
extension         154 chrome/browser/background/background_application_list_model_unittest.cc       .RemovePermissions(extension, extension->GetActivePermissions().get());
extension         371 chrome/browser/background/background_application_list_model_unittest.cc   scoped_refptr<Extension> extension =
extension         373 chrome/browser/background/background_application_list_model_unittest.cc   ASSERT_EQ(BackgroundApplicationListModel::IsBackgroundApp(*extension.get(),
extension         376 chrome/browser/background/background_application_list_model_unittest.cc   extensions->insert(extension);
extension         379 chrome/browser/background/background_application_list_model_unittest.cc   service->AddExtension(extension.get());
extension         403 chrome/browser/background/background_application_list_model_unittest.cc     scoped_refptr<Extension> extension = cursor->get();
extension         404 chrome/browser/background/background_application_list_model_unittest.cc     std::string id = extension->id();
extension         405 chrome/browser/background/background_application_list_model_unittest.cc     if (BackgroundApplicationListModel::IsBackgroundApp(*extension.get(),
extension         412 chrome/browser/background/background_application_list_model_unittest.cc     service->UninstallExtension(extension->id(), false, NULL);
extension         437 chrome/browser/background/background_application_list_model_unittest.cc     scoped_refptr<Extension> extension = cursor->get();
extension         438 chrome/browser/background/background_application_list_model_unittest.cc     std::string id = extension->id();
extension         439 chrome/browser/background/background_application_list_model_unittest.cc     if (BackgroundApplicationListModel::IsBackgroundApp(*extension.get(),
extension         443 chrome/browser/background/background_application_list_model_unittest.cc       RemoveBackgroundPermission(service, extension.get());
extension         449 chrome/browser/background/background_application_list_model_unittest.cc       AddBackgroundPermission(service, extension.get());
extension          97 chrome/browser/background/background_contents_service.cc                             const Extension* extension)
extension          99 chrome/browser/background/background_contents_service.cc         is_hosted_app_(extension->is_hosted_app()),
extension         100 chrome/browser/background/background_contents_service.cc         is_platform_app_(extension->is_platform_app()),
extension         101 chrome/browser/background/background_contents_service.cc         extension_id_(extension->id()) {
extension         193 chrome/browser/background/background_contents_service.cc void ShowBalloon(const Extension* extension, Profile* profile) {
extension         196 chrome/browser/background/background_contents_service.cc       extension->is_app() ? IDS_BACKGROUND_CRASHED_APP_BALLOON_MESSAGE :
extension         198 chrome/browser/background/background_contents_service.cc       base::UTF8ToUTF16(extension->name()));
extension         202 chrome/browser/background/background_contents_service.cc           extension, size, ExtensionIconSet::MATCH_SMALLER);
extension         208 chrome/browser/background/background_contents_service.cc       extension,
extension         213 chrome/browser/background/background_contents_service.cc           extension->name(),
extension         215 chrome/browser/background/background_contents_service.cc           make_scoped_refptr(new CrashNotificationDelegate(profile, extension)),
extension         298 chrome/browser/background/background_contents_service.cc     const extensions::Extension* extension,
extension         300 chrome/browser/background/background_contents_service.cc   ShowBalloon(extension, profile);
extension         397 chrome/browser/background/background_contents_service.cc         const Extension* extension = extension_service->GetExtensionById(
extension         399 chrome/browser/background/background_contents_service.cc         if (extension && BackgroundInfo::HasBackgroundPage(extension))
extension         406 chrome/browser/background/background_contents_service.cc       const Extension* extension =
extension         409 chrome/browser/background/background_contents_service.cc       if (extension->is_hosted_app() &&
extension         410 chrome/browser/background/background_contents_service.cc           BackgroundInfo::HasBackgroundPage(extension)) {
extension         414 chrome/browser/background/background_contents_service.cc             base::ASCIIToUTF16(extension->id()));
extension         423 chrome/browser/background/background_contents_service.cc                                  BackgroundInfo::GetBackgroundURL(extension),
extension         425 chrome/browser/background/background_contents_service.cc                                  base::UTF8ToUTF16(extension->id()));
extension         430 chrome/browser/background/background_contents_service.cc       ScheduleCloseBalloon(extension->id());
extension         437 chrome/browser/background/background_contents_service.cc       const Extension* extension = NULL;
extension         444 chrome/browser/background/background_contents_service.cc         extension =
extension         450 chrome/browser/background/background_contents_service.cc         extension = extension_host->extension();
extension         452 chrome/browser/background/background_contents_service.cc       if (!extension)
extension         456 chrome/browser/background/background_contents_service.cc           extensions::Manifest::IsComponentLocation(extension->location()) ||
extension         457 chrome/browser/background/background_contents_service.cc           extensions::Manifest::IsPolicyLocation(extension->location());
extension         459 chrome/browser/background/background_contents_service.cc         ShowBalloon(extension, profile);
extension         462 chrome/browser/background/background_contents_service.cc         RestartForceInstalledExtensionOnCrash(extension, profile);
extension         474 chrome/browser/background/background_contents_service.cc                   extension->id()));
extension         484 chrome/browser/background/background_contents_service.cc           const Extension* extension =
extension         485 chrome/browser/background/background_contents_service.cc               content::Details<UnloadedExtensionInfo>(details)->extension;
extension         486 chrome/browser/background/background_contents_service.cc           if (BackgroundInfo::HasBackgroundPage(extension)) {
extension         488 chrome/browser/background/background_contents_service.cc                 base::ASCIIToUTF16(extension->id()));
extension         496 chrome/browser/background/background_contents_service.cc                   extension->id()));
extension         515 chrome/browser/background/background_contents_service.cc     const Extension* extension,
extension         518 chrome/browser/background/background_contents_service.cc       base::Bind(&ReloadExtension, extension->id(), profile),
extension         537 chrome/browser/background/background_contents_service.cc     const Extension* extension = extensions_service->
extension         539 chrome/browser/background/background_contents_service.cc     if (!extension) {
extension         566 chrome/browser/background/background_contents_service.cc   const Extension* extension =
extension         569 chrome/browser/background/background_contents_service.cc   DCHECK(!extension || extension->is_hosted_app());
extension         570 chrome/browser/background/background_contents_service.cc   if (extension && BackgroundInfo::HasBackgroundPage(extension)) {
extension         572 chrome/browser/background/background_contents_service.cc                            BackgroundInfo::GetBackgroundURL(extension),
extension         574 chrome/browser/background/background_contents_service.cc                            base::UTF8ToUTF16(extension->id()));
extension         618 chrome/browser/background/background_contents_service.cc     const Extension* extension = iter->get();
extension         619 chrome/browser/background/background_contents_service.cc     if (extension->is_hosted_app() &&
extension         620 chrome/browser/background/background_contents_service.cc         BackgroundInfo::HasBackgroundPage(extension)) {
extension         622 chrome/browser/background/background_contents_service.cc                              BackgroundInfo::GetBackgroundURL(extension),
extension         624 chrome/browser/background/background_contents_service.cc                              base::UTF8ToUTF16(extension->id()));
extension          71 chrome/browser/background/background_contents_service.h   static void ShowBalloonForTesting(const extensions::Extension* extension,
extension         145 chrome/browser/background/background_contents_service.h       const extensions::Extension* extension,
extension         197 chrome/browser/background/background_contents_service_unittest.cc       scoped_refptr<extensions::Extension> extension) {
extension         200 chrome/browser/background/background_contents_service_unittest.cc             extension->id());
extension         203 chrome/browser/background/background_contents_service_unittest.cc         extension.get(), profile());
extension         354 chrome/browser/background/background_contents_service_unittest.cc   scoped_refptr<extensions::Extension> extension =
extension         356 chrome/browser/background/background_contents_service_unittest.cc   ASSERT_TRUE(extension.get());
extension         357 chrome/browser/background/background_contents_service_unittest.cc   ASSERT_TRUE(extension->GetManifestData("icons"));
extension         359 chrome/browser/background/background_contents_service_unittest.cc   const Notification* notification = CreateCrashNotification(extension);
extension         370 chrome/browser/background/background_contents_service_unittest.cc   scoped_refptr<extensions::Extension> extension =
extension         372 chrome/browser/background/background_contents_service_unittest.cc   ASSERT_TRUE(extension.get());
extension         373 chrome/browser/background/background_contents_service_unittest.cc   ASSERT_FALSE(extension->GetManifestData("icons"));
extension         375 chrome/browser/background/background_contents_service_unittest.cc   const Notification* notification = CreateCrashNotification(extension);
extension          84 chrome/browser/background/background_mode_manager.cc         const Extension* extension =
extension          86 chrome/browser/background/background_mode_manager.cc         BackgroundModeManager::LaunchBackgroundApplication(profile_, extension);
extension         302 chrome/browser/background/background_mode_manager.cc     const Extension* extension) {
extension         303 chrome/browser/background/background_mode_manager.cc   OpenApplication(AppLaunchParams(profile, extension, NEW_FOREGROUND_TAB));
extension         328 chrome/browser/background/background_mode_manager.cc         Extension* extension = content::Details<Extension>(details).ptr();
extension         331 chrome/browser/background/background_mode_manager.cc                 *extension, profile)) {
extension         337 chrome/browser/background/background_mode_manager.cc             CheckReloadStatus(extension, &is_being_reloaded);
extension         341 chrome/browser/background/background_mode_manager.cc               OnBackgroundAppInstalled(extension);
extension         353 chrome/browser/background/background_mode_manager.cc           OnBackgroundAppInstalled(info->extension);
extension         390 chrome/browser/background/background_mode_manager.cc     const Extension* extension, Profile* profile) {
extension         648 chrome/browser/background/background_mode_manager.cc     const Extension* extension) {
extension         659 chrome/browser/background/background_mode_manager.cc   if (extension) {  // NULL when called by unit tests.
extension         660 chrome/browser/background/background_mode_manager.cc     DisplayAppInstalledNotification(extension);
extension         665 chrome/browser/background/background_mode_manager.cc     const Extension* extension,
extension         675 chrome/browser/background/background_mode_manager.cc       if (profile->GetExtensionService()->IsBeingReloaded(extension->id()))
extension          69 chrome/browser/background/background_mode_manager.h       const extensions::Extension* extension);
extension         191 chrome/browser/background/background_mode_manager.h   virtual void OnApplicationDataChanged(const extensions::Extension* extension,
extension         213 chrome/browser/background/background_mode_manager.h       const extensions::Extension* extension);
extension         219 chrome/browser/background/background_mode_manager.h       const extensions::Extension* extension,
extension         229 chrome/browser/background/background_mode_manager.h       const extensions::Extension* extension);
extension          18 chrome/browser/background/background_mode_manager_aura.cc     const extensions::Extension* extension) {
extension          16 chrome/browser/background/background_mode_manager_chromeos.cc     const extensions::Extension* extension) {
extension          75 chrome/browser/background/background_mode_manager_gtk.cc     const Extension* extension) {
extension          91 chrome/browser/background/background_mode_manager_unittest.cc       const extensions::Extension* extension) OVERRIDE {}
extension          36 chrome/browser/background/background_mode_manager_win.cc     const extensions::Extension* extension) {
extension          45 chrome/browser/background/background_mode_manager_win.cc           base::UTF8ToUTF16(extension->name()),
extension         434 chrome/browser/chrome_content_browser_client.cc     const Extension* extension =
extension         436 chrome/browser/chrome_content_browser_client.cc     if (extension &&
extension         437 chrome/browser/chrome_content_browser_client.cc         extensions::AppIsolationInfo::HasIsolatedStorage(extension))
extension         439 chrome/browser/chrome_content_browser_client.cc     if (extension && extension->is_hosted_app())
extension         459 chrome/browser/chrome_content_browser_client.cc     const Extension* extension = service->GetExtensionById(*iter, false);
extension         460 chrome/browser/chrome_content_browser_client.cc     if (extension &&
extension         461 chrome/browser/chrome_content_browser_client.cc         extensions::AppIsolationInfo::HasIsolatedStorage(extension))
extension         463 chrome/browser/chrome_content_browser_client.cc     if (extension && extension->is_hosted_app())
extension         993 chrome/browser/chrome_content_browser_client.cc   const Extension* extension = extension_service->extensions()->
extension         995 chrome/browser/chrome_content_browser_client.cc   if (!extension)
extension        1000 chrome/browser/chrome_content_browser_client.cc   if (extension->from_bookmark())
extension        1005 chrome/browser/chrome_content_browser_client.cc   return extension->GetResourceURL(url.path());
extension        1035 chrome/browser/chrome_content_browser_client.cc   const Extension* extension =
extension        1037 chrome/browser/chrome_content_browser_client.cc   if (!extension)
extension        1044 chrome/browser/chrome_content_browser_client.cc   if (extension->GetType() == Manifest::TYPE_HOSTED_APP) {
extension        1045 chrome/browser/chrome_content_browser_client.cc     if (!extension->HasAPIPermission(APIPermission::kBackground) ||
extension        1046 chrome/browser/chrome_content_browser_client.cc         !extensions::BackgroundInfo::AllowJSAccess(extension)) {
extension        1145 chrome/browser/chrome_content_browser_client.cc     const Extension* extension =
extension        1147 chrome/browser/chrome_content_browser_client.cc     if (!extension)
extension        1152 chrome/browser/chrome_content_browser_client.cc     if (from_extension && from_extension->id() == extension->id())
extension        1156 chrome/browser/chrome_content_browser_client.cc             extension, url.path()))
extension        1234 chrome/browser/chrome_content_browser_client.cc   const Extension* extension =
extension        1236 chrome/browser/chrome_content_browser_client.cc   if (!extension)
extension        1238 chrome/browser/chrome_content_browser_client.cc   if (!extensions::BackgroundInfo::HasBackgroundPage(extension))
extension        1311 chrome/browser/chrome_content_browser_client.cc   const Extension* extension = service->extensions()->GetExtensionOrAppByURL(
extension        1313 chrome/browser/chrome_content_browser_client.cc   if (!extension)
extension        1317 chrome/browser/chrome_content_browser_client.cc       ->Insert(extension->id(),
extension        1326 chrome/browser/chrome_content_browser_client.cc                  extension->id(),
extension        1343 chrome/browser/chrome_content_browser_client.cc   const Extension* extension = service->extensions()->GetExtensionOrAppByURL(
extension        1345 chrome/browser/chrome_content_browser_client.cc   if (!extension)
extension        1349 chrome/browser/chrome_content_browser_client.cc       ->Remove(extension->id(),
extension        1358 chrome/browser/chrome_content_browser_client.cc                  extension->id(),
extension        1370 chrome/browser/chrome_content_browser_client.cc   const Extension* extension =
extension        1373 chrome/browser/chrome_content_browser_client.cc   if (!extension)
extension        1378 chrome/browser/chrome_content_browser_client.cc       extension->id(),
extension        1978 chrome/browser/chrome_content_browser_client.cc   const Extension* extension = NULL;
extension        1988 chrome/browser/chrome_content_browser_client.cc         extension = iter->get();
extension        1996 chrome/browser/chrome_content_browser_client.cc       APIPermission::kNotification, extension, rvh)) {
extension        2141 chrome/browser/chrome_content_browser_client.cc     const Extension* extension =
extension        2143 chrome/browser/chrome_content_browser_client.cc     if (extension && !extensions::BackgroundInfo::AllowJSAccess(extension))
extension        2203 chrome/browser/chrome_content_browser_client.cc   const Extension* extension =
extension        2205 chrome/browser/chrome_content_browser_client.cc   return extension ? extension->name() : std::string();
extension        2352 chrome/browser/chrome_content_browser_client.cc     const Extension* extension =
extension        2360 chrome/browser/chrome_content_browser_client.cc           extension, view_type, web_prefs);
extension        2494 chrome/browser/chrome_content_browser_client.cc   const Extension* extension =
extension        2496 chrome/browser/chrome_content_browser_client.cc   if (!extension)
extension        2499 chrome/browser/chrome_content_browser_client.cc   return extension->HasAPIPermission(APIPermission::kWebView) ||
extension        2500 chrome/browser/chrome_content_browser_client.cc          extension->HasAPIPermission(APIPermission::kAdView);
extension        2526 chrome/browser/chrome_content_browser_client.cc       const Extension* extension = extension_set->GetByID(url.host());
extension        2527 chrome/browser/chrome_content_browser_client.cc       if (extension) {
extension        2532 chrome/browser/chrome_content_browser_client.cc                   extension, extensions::APIPermission::kSocket,
extension        2538 chrome/browser/chrome_content_browser_client.cc                   extension, extensions::APIPermission::kSocket)) {
extension         163 chrome/browser/chromeos/accessibility/accessibility_manager.cc     const extensions::Extension* extension =
extension         170 chrome/browser/chromeos/accessibility/accessibility_manager.cc     params.extension_id = extension->id();
extension         181 chrome/browser/chromeos/accessibility/accessibility_manager.cc         extension->id(), render_view_host->GetProcess()->GetID(),
extension         185 chrome/browser/chromeos/accessibility/accessibility_manager.cc         extensions::ContentScriptsInfo::GetContentScripts(extension);
extension         190 chrome/browser/chromeos/accessibility/accessibility_manager.cc         extensions::ExtensionResource resource = extension->GetResource(
extension          72 chrome/browser/chromeos/app_mode/kiosk_app_update_service.cc     const extensions::Extension* extension) {
extension          73 chrome/browser/chromeos/app_mode/kiosk_app_update_service.cc   if (extension->id() != app_id_)
extension          80 chrome/browser/chromeos/app_mode/kiosk_app_update_service.cc       app_id_, profile_, extension);
extension          55 chrome/browser/chromeos/app_mode/kiosk_app_update_service.h       const extensions::Extension* extension) OVERRIDE;
extension         166 chrome/browser/chromeos/app_mode/startup_app_launcher.cc   const Extension* extension = extensions::ExtensionSystem::Get(profile_)->
extension         168 chrome/browser/chromeos/app_mode/startup_app_launcher.cc   const bool requires_network = !extension ||
extension         169 chrome/browser/chromeos/app_mode/startup_app_launcher.cc       !extensions::OfflineEnabledInfo::IsOfflineEnabled(extension);
extension         236 chrome/browser/chromeos/app_mode/startup_app_launcher.cc   const Extension* extension = extensions::ExtensionSystem::Get(profile_)->
extension         238 chrome/browser/chromeos/app_mode/startup_app_launcher.cc   CHECK(extension);
extension         240 chrome/browser/chromeos/app_mode/startup_app_launcher.cc   if (!extensions::KioskModeInfo::IsKioskEnabled(extension)) {
extension         246 chrome/browser/chromeos/app_mode/startup_app_launcher.cc   OpenApplication(AppLaunchParams(profile_, extension,
extension          43 chrome/browser/chromeos/attestation/platform_verification_dialog.cc   const extensions::Extension* extension =
extension          46 chrome/browser/chromeos/attestation/platform_verification_dialog.cc   std::string origin = extension ? extension->name() : url.GetOrigin().spec();
extension         486 chrome/browser/chromeos/drive/file_cache.cc       base::FilePath::StringType extension;
extension         487 chrome/browser/chromeos/drive/file_cache.cc       if (net::GetPreferredExtensionForMimeType(mime_type, &extension))
extension         488 chrome/browser/chromeos/drive/file_cache.cc         extensions.push_back(extension);
extension          34 chrome/browser/chromeos/drive/file_system/download_operation.cc     const base::FilePath::StringType& extension,
extension          41 chrome/browser/chromeos/drive/file_system/download_operation.cc   *out_path = subdir.Append(FILE_PATH_LITERAL("tmp") + extension);
extension          98 chrome/browser/chromeos/drive/file_system/download_operation.cc     base::FilePath::StringType extension = base::FilePath::FromUTF8Unsafe(
extension         107 chrome/browser/chromeos/drive/file_system/download_operation.cc                                           extension,
extension          93 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc     const extensions::Extension* extension,
extension          97 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc     if (extension->location() ==
extension         103 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc     if (extension->GetType() == extensions::Manifest::TYPE_HOSTED_APP)
extension         109 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc       if (extension->id() == kPublicSessionWhitelist[i])
extension         114 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc     if (extension->GetType() == extensions::Manifest::TYPE_PLATFORM_APP)
extension         122 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc           base::UTF8ToUTF16(extension->name()),
extension         123 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.cc           base::UTF8ToUTF16(extension->id()));
extension          27 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider.h   virtual bool UserMayLoad(const extensions::Extension* extension,
extension          80 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   scoped_refptr<const extensions::Extension> extension =
extension          82 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   ASSERT_TRUE(extension);
extension          84 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   EXPECT_TRUE(provider.UserMayLoad(extension.get(), &error));
extension          90 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   extension = CreateHostedApp();
extension          91 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   ASSERT_TRUE(extension);
extension          92 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   EXPECT_TRUE(provider.UserMayLoad(extension.get(), &error));
extension          98 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   extension = CreateRegularExtension(kWhitelistedId);
extension          99 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   ASSERT_TRUE(extension);
extension         100 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   EXPECT_TRUE(provider.UserMayLoad(extension.get(), &error));
extension         107 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   extension = CreateRegularExtension(std::string());
extension         108 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   ASSERT_TRUE(extension);
extension         109 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   EXPECT_FALSE(provider.UserMayLoad(extension.get(), &error));
extension         119 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   scoped_refptr<const extensions::Extension> extension = CreatePlatformApp();
extension         120 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   ASSERT_TRUE(extension);
extension         122 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   EXPECT_TRUE(provider.UserMayLoad(extension.get(), &error));
extension         129 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   extension = CreateExternalComponentExtension();
extension         130 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   ASSERT_TRUE(extension);
extension         131 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   EXPECT_FALSE(provider.UserMayLoad(extension.get(), &error));
extension         138 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   extension = CreateHostedApp();
extension         139 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   ASSERT_TRUE(extension);
extension         140 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   EXPECT_FALSE(provider.UserMayLoad(extension.get(), &error));
extension         147 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   extension = CreateRegularExtension(kWhitelistedId);
extension         148 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   ASSERT_TRUE(extension);
extension         149 chrome/browser/chromeos/extensions/device_local_account_management_policy_provider_unittest.cc   EXPECT_FALSE(provider.UserMayLoad(extension.get(), &error));
extension         270 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc   const Extension* extension = LoadExtension(
extension         272 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc   ASSERT_TRUE(extension) << message_;
extension         274 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc   AddTmpMountPoint(extension->id());
extension         278 chrome/browser/chromeos/extensions/file_manager/file_browser_handler_api_test.cc   GURL url = extension->GetResourceURL("test.html");
extension         215 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc         scoped_refptr<const extensions::Extension> extension) {
extension         218 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc   if (!extension.get())
extension         225 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc                  << extension->id();
extension          62 chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h       scoped_refptr<const extensions::Extension> extension);
extension          32 chrome/browser/chromeos/extensions/wallpaper_manager_util.cc   const extensions::Extension* extension =
extension          34 chrome/browser/chromeos/extensions/wallpaper_manager_util.cc   if (!extension)
extension          37 chrome/browser/chromeos/extensions/wallpaper_manager_util.cc   OpenApplication(AppLaunchParams(profile, extension,
extension          73 chrome/browser/chromeos/file_manager/file_browser_handlers.cc     const Extension* extension,
extension          76 chrome/browser/chromeos/file_manager/file_browser_handlers.cc       FileBrowserHandler::GetHandlers(extension);
extension         113 chrome/browser/chromeos/file_manager/file_browser_handlers.cc     const Extension* extension = iter->get();
extension         115 chrome/browser/chromeos/file_manager/file_browser_handlers.cc         !extensions::util::IsIncognitoEnabled(extension->id(), profile))
extension         119 chrome/browser/chromeos/file_manager/file_browser_handlers.cc         FileBrowserHandler::GetHandlers(extension);
extension         151 chrome/browser/chromeos/file_manager/file_browser_handlers.cc                              const Extension* extension,
extension         184 chrome/browser/chromeos/file_manager/file_browser_handlers.cc       const Extension* extension,
extension         249 chrome/browser/chromeos/file_manager/file_browser_handlers.cc     const Extension* extension,
extension         252 chrome/browser/chromeos/file_manager/file_browser_handlers.cc       extension_(extension),
extension         404 chrome/browser/chromeos/file_manager/file_browser_handlers.cc     const Extension* extension,
extension         459 chrome/browser/chromeos/file_manager/file_browser_handlers.cc     const Extension* extension,
extension         464 chrome/browser/chromeos/file_manager/file_browser_handlers.cc   if (!FindFileBrowserHandlerForActionId(extension, action_id))
extension         469 chrome/browser/chromeos/file_manager/file_browser_handlers.cc   if (ShouldBeOpenedWithBrowser(extension->id(), action_id)) {
extension         481 chrome/browser/chromeos/file_manager/file_browser_handlers.cc       profile, extension, action_id))->Execute(file_urls, done);
extension          57 chrome/browser/chromeos/file_manager/file_browser_handlers.h     const extensions::Extension* extension,
extension         591 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc   const extensions::Extension* extension = LoadExtensionAsComponent(path);
extension         592 chrome/browser/chromeos/file_manager/file_manager_browsertest.cc   ASSERT_TRUE(extension);
extension         298 chrome/browser/chromeos/file_manager/file_tasks.cc   const Extension* extension = service ?
extension         300 chrome/browser/chromeos/file_manager/file_tasks.cc   if (!extension)
extension         307 chrome/browser/chromeos/file_manager/file_tasks.cc         extension,
extension         314 chrome/browser/chromeos/file_manager/file_tasks.cc           profile, extension, task.action_id, file_urls[i].path());
extension         404 chrome/browser/chromeos/file_manager/file_tasks.cc     const Extension* extension = iter->get();
extension         407 chrome/browser/chromeos/file_manager/file_tasks.cc     if (!extension->is_platform_app())
extension         411 chrome/browser/chromeos/file_manager/file_tasks.cc         !extensions::util::IsIncognitoEnabled(extension->id(), profile))
extension         416 chrome/browser/chromeos/file_manager/file_tasks.cc         FindFileHandlersForFiles(*extension, path_mime_set);
extension         423 chrome/browser/chromeos/file_manager/file_tasks.cc           extension->id(), file_tasks::TASK_TYPE_FILE_HANDLER, (*i)->id);
extension         426 chrome/browser/chromeos/file_manager/file_tasks.cc           extension,
extension         433 chrome/browser/chromeos/file_manager/file_tasks.cc           TaskDescriptor(extension->id(),
extension         463 chrome/browser/chromeos/file_manager/file_tasks.cc     const Extension* extension = service->GetExtensionById(extension_id, false);
extension         464 chrome/browser/chromeos/file_manager/file_tasks.cc     DCHECK(extension);
extension         469 chrome/browser/chromeos/file_manager/file_tasks.cc         extension,
extension          25 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc FileSystemURL CreateFileSystemURL(const std::string& extension,
extension          29 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc       GURL("chrome-extension://" + extension + "/"),
extension         123 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc   std::string extension("ddammdhioacbehjngdmkjcjbnfginlla");
extension         125 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc   storage_policy->AddFileHandler(extension);
extension         146 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc       CreateFileSystemURL(extension, "removable/foo", mount_points.get())));
extension         148 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc   backend.GrantFileAccessToExtension(extension,
extension         151 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc       CreateFileSystemURL(extension, "removable/foo", mount_points.get())));
extension         153 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc       CreateFileSystemURL(extension, "removable/foo1", mount_points.get())));
extension         157 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc       CreateFileSystemURL(extension, "system/foo", system_mount_points.get())));
extension         159 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc   backend.GrantFileAccessToExtension(extension,
extension         162 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc       CreateFileSystemURL(extension, "system/foo", system_mount_points.get())));
extension         164 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc       CreateFileSystemURL(extension, "system/foo1",
extension         169 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc       extension, base::FilePath(FPL("oem/foo")));
extension         173 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc       CreateFileSystemURL(extension, "oem/foo", mount_points.get())));
extension         175 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc   backend.GrantFullAccessToExtension(extension);
extension         179 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc       CreateFileSystemURL(extension, "oem/foo", mount_points.get())));
extension         183 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc       CreateFileSystemURL(extension, "removable/foo1", mount_points.get())));
extension         185 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc       CreateFileSystemURL(extension, "system/foo1",
extension         196 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc       CreateFileSystemURL(extension, "test_/foo", mount_points.get())));
extension         198 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc   backend.RevokeAccessForExtension(extension);
extension         200 chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc       CreateFileSystemURL(extension, "removable/foo", mount_points.get())));
extension         302 chrome/browser/chromeos/first_run/drive_first_run_controller.cc   const extensions::Extension *extension =
extension         304 chrome/browser/chromeos/first_run/drive_first_run_controller.cc   if (!extension || extension->id() != app_id_)
extension         463 chrome/browser/chromeos/first_run/drive_first_run_controller.cc   const extensions::Extension* extension =
extension         465 chrome/browser/chromeos/first_run/drive_first_run_controller.cc   DCHECK(extension);
extension         478 chrome/browser/chromeos/first_run/drive_first_run_controller.cc           base::UTF8ToUTF16(extension->name()),
extension          33 chrome/browser/chromeos/first_run/first_run.cc   const extensions::Extension* extension =
extension          35 chrome/browser/chromeos/first_run/first_run.cc   if (!extension)
extension          39 chrome/browser/chromeos/first_run/first_run.cc       profile, extension, extensions::LAUNCH_CONTAINER_WINDOW, NEW_WINDOW));
extension          64 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc                                const Extension* extension,
extension          88 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc     const Extension* extension,
extension         237 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc     scoped_refptr<Extension> extension,
extension         251 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc     extension_service->AddExtension(extension.get());
extension         253 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc         extensions::AppLaunchInfo::GetFullLaunchURL(extension.get()));
extension          40 chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.h   void SetupScreensaver(scoped_refptr<extensions::Extension> extension,
extension          75 chrome/browser/chromeos/login/demo_mode/demo_app_launcher.cc   const extensions::Extension* extension =
extension          83 chrome/browser/chromeos/login/demo_mode/demo_app_launcher.cc       profile, extension, extensions::LAUNCH_CONTAINER_WINDOW, NEW_WINDOW));
extension         212 chrome/browser/chromeos/login/user_image_manager_browsertest.cc                                   const std::string& extension) {
extension         213 chrome/browser/chromeos/login/user_image_manager_browsertest.cc     return user_data_dir_.Append(username).AddExtension(extension);
extension          83 chrome/browser/chromeos/offline/offline_load_page.cc   const extensions::Extension* extension = NULL;
extension          89 chrome/browser/chromeos/offline/offline_load_page.cc     extension = extensions_service->extensions()->GetHostedAppByURL(url_);
extension          91 chrome/browser/chromeos/offline/offline_load_page.cc   if (extension && !extension->from_bookmark()) {
extension          92 chrome/browser/chromeos/offline/offline_load_page.cc     LocalizedError::GetAppErrorStrings(url_, extension, &error_strings);
extension         146 chrome/browser/chromeos/offline/offline_load_page.cc     const extensions::Extension* extension = profile->GetExtensionService()->
extension         148 chrome/browser/chromeos/offline/offline_load_page.cc     apps::LaunchPlatformAppWithUrl(profile, extension, "",
extension         262 chrome/browser/chromeos/policy/device_local_account_browsertest.cc       extension->id() == id;
extension         224 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc     const extensions::Extension* extension)
extension         226 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc   ShowMessage(message_visibility_time_in_ms, animation_time_ms, extension);
extension         255 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc     const extensions::Extension* extension) {
extension         260 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc   if (extension &&
extension         261 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc       !base::ContainsOnlyChars(extension->name(), base::kWhitespaceASCII)) {
extension         262 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc     app_name = base::UTF8ToUTF16(extension->name());
extension          32 chrome/browser/chromeos/ui/idle_app_name_notification_view.h                               const extensions::Extension* extension);
extension          48 chrome/browser/chromeos/ui/idle_app_name_notification_view.h                    const extensions::Extension* extension);
extension          76 chrome/browser/content_settings/content_settings_internal_extension_provider.cc       if (host->extension()->is_platform_app()) {
extension          77 chrome/browser/content_settings/content_settings_internal_extension_provider.cc         SetContentSettingForExtension(host->extension(), CONTENT_SETTING_BLOCK);
extension         111 chrome/browser/content_settings/content_settings_internal_extension_provider.cc                 host->extension()->id(),
extension         115 chrome/browser/content_settings/content_settings_internal_extension_provider.cc               host->extension(),
extension         124 chrome/browser/content_settings/content_settings_internal_extension_provider.cc       const extensions::Extension* extension =
extension         126 chrome/browser/content_settings/content_settings_internal_extension_provider.cc       if (extensions::PluginInfo::HasPlugins(extension))
extension         127 chrome/browser/content_settings/content_settings_internal_extension_provider.cc         SetContentSettingForExtension(extension, CONTENT_SETTING_ALLOW);
extension         133 chrome/browser/content_settings/content_settings_internal_extension_provider.cc       if (extensions::PluginInfo::HasPlugins(info.extension))
extension         134 chrome/browser/content_settings/content_settings_internal_extension_provider.cc         SetContentSettingForExtension(info.extension, CONTENT_SETTING_DEFAULT);
extension         149 chrome/browser/content_settings/content_settings_internal_extension_provider.cc     const extensions::Extension* extension,
extension         152 chrome/browser/content_settings/content_settings_internal_extension_provider.cc       extension, ResourceIdentifier(), setting);
extension         156 chrome/browser/content_settings/content_settings_internal_extension_provider.cc     const extensions::Extension* extension,
extension         162 chrome/browser/content_settings/content_settings_internal_extension_provider.cc   pattern_builder->WithHost(extension->id());
extension          55 chrome/browser/content_settings/content_settings_internal_extension_provider.h   void SetContentSettingForExtension(const extensions::Extension* extension,
extension          58 chrome/browser/content_settings/content_settings_internal_extension_provider.h       const extensions::Extension* extension,
extension         924 chrome/browser/content_settings/host_content_settings_map_unittest.cc   GURL extension("chrome-extension://foo");
extension         938 chrome/browser/content_settings/host_content_settings_map_unittest.cc                   extension, extension, CONTENT_SETTINGS_TYPE_COOKIES));
extension         940 chrome/browser/content_settings/host_content_settings_map_unittest.cc                    extension, extension, CONTENT_SETTINGS_TYPE_PLUGINS));
extension         942 chrome/browser/content_settings/host_content_settings_map_unittest.cc                    extension, http_host, CONTENT_SETTINGS_TYPE_COOKIES));
extension          93 chrome/browser/devtools/devtools_target_impl.cc       const extensions::Extension* extension = extension_service->
extension          95 chrome/browser/devtools/devtools_target_impl.cc       if (extension) {
extension          96 chrome/browser/devtools/devtools_target_impl.cc         title_ = extension->name();
extension          99 chrome/browser/devtools/devtools_target_impl.cc                 GetBackgroundHostForExtension(extension->id());
extension         103 chrome/browser/devtools/devtools_target_impl.cc           extension_id_ = extension->id();
extension         104 chrome/browser/devtools/devtools_target_impl.cc         } else if (extension->is_hosted_app()
extension         105 chrome/browser/devtools/devtools_target_impl.cc             || extension->is_legacy_packaged_app()
extension         106 chrome/browser/devtools/devtools_target_impl.cc             || extension->is_platform_app()) {
extension         110 chrome/browser/devtools/devtools_target_impl.cc             extension, extension_misc::EXTENSION_ICON_SMALLISH,
extension        1463 chrome/browser/devtools/devtools_window.cc   for (extensions::ExtensionSet::const_iterator extension(extensions->begin());
extension        1464 chrome/browser/devtools/devtools_window.cc        extension != extensions->end(); ++extension) {
extension        1465 chrome/browser/devtools/devtools_window.cc     if (extensions::ManifestURL::GetDevToolsPage(extension->get()).is_empty())
extension        1471 chrome/browser/devtools/devtools_window.cc             extensions::ManifestURL::GetDevToolsPage(extension->get()).spec()));
extension        1472 chrome/browser/devtools/devtools_window.cc     extension_info->Set("name", new base::StringValue((*extension)->name()));
extension        1475 chrome/browser/devtools/devtools_window.cc         new base::FundamentalValue((*extension)->HasAPIPermission(
extension         286 chrome/browser/download/download_browsertest.cc       const Extension* extension,
extension         292 chrome/browser/download/download_browsertest.cc   virtual void OnInstallSuccess(const Extension* extension,
extension         311 chrome/browser/download/download_browsertest.cc       const Extension* extension,
extension         316 chrome/browser/download/download_browsertest.cc   virtual void OnInstallSuccess(const Extension* extension,
extension          61 chrome/browser/download/download_extensions.cc     const char* extension;
extension         209 chrome/browser/download/download_extensions.cc   base::FilePath::StringType extension(path.FinalExtension());
extension         210 chrome/browser/download/download_extensions.cc   if (extension.empty())
extension         212 chrome/browser/download/download_extensions.cc   if (!IsStringASCII(extension))
extension         215 chrome/browser/download/download_extensions.cc   std::string ascii_extension = base::UTF16ToASCII(extension);
extension         217 chrome/browser/download/download_extensions.cc   std::string ascii_extension = extension;
extension         225 chrome/browser/download/download_extensions.cc     if (LowerCaseEqualsASCII(ascii_extension, g_executables[i].extension))
extension          74 chrome/browser/download/download_file_picker.cc   base::FilePath::StringType extension = suggested_path_.FinalExtension();
extension          75 chrome/browser/download/download_file_picker.cc   if (!extension.empty()) {
extension          76 chrome/browser/download/download_file_picker.cc     extension.erase(extension.begin());  // drop the .
extension          78 chrome/browser/download/download_file_picker.cc     file_type_info.extensions[0].push_back(extension);
extension         276 chrome/browser/download/download_prefs.cc   base::FilePath::StringType extension = path.Extension();
extension         277 chrome/browser/download/download_prefs.cc   if (extension.empty())
extension         279 chrome/browser/download/download_prefs.cc   DCHECK(extension[0] == base::FilePath::kExtensionSeparator);
extension         280 chrome/browser/download/download_prefs.cc   extension.erase(0, 1);
extension         281 chrome/browser/download/download_prefs.cc   return auto_open_.find(extension) != auto_open_.end();
extension         286 chrome/browser/download/download_prefs.cc   base::FilePath::StringType extension = file_name.Extension();
extension         287 chrome/browser/download/download_prefs.cc   if (extension.empty())
extension         289 chrome/browser/download/download_prefs.cc   DCHECK(extension[0] == base::FilePath::kExtensionSeparator);
extension         290 chrome/browser/download/download_prefs.cc   extension.erase(0, 1);
extension         292 chrome/browser/download/download_prefs.cc   auto_open_.insert(extension);
extension         299 chrome/browser/download/download_prefs.cc   base::FilePath::StringType extension = file_name.Extension();
extension         300 chrome/browser/download/download_prefs.cc   if (extension.empty())
extension         302 chrome/browser/download/download_prefs.cc   DCHECK(extension[0] == base::FilePath::kExtensionSeparator);
extension         303 chrome/browser/download/download_prefs.cc   extension.erase(0, 1);
extension         304 chrome/browser/download/download_prefs.cc   auto_open_.erase(extension);
extension        1972 chrome/browser/download/download_target_determiner_unittest.cc                                const char* extension)
extension        1976 chrome/browser/download/download_target_determiner_unittest.cc                                                 extension,
extension          25 chrome/browser/extensions/active_tab_apitest.cc   const Extension* extension =
extension          27 chrome/browser/extensions/active_tab_apitest.cc   ASSERT_TRUE(extension);
extension          45 chrome/browser/extensions/active_tab_apitest.cc     toolbar_model->ExecuteBrowserAction(extension, browser(), NULL, true);
extension          39 chrome/browser/extensions/active_tab_permission_granter.cc void ActiveTabPermissionGranter::GrantIfRequested(const Extension* extension) {
extension          43 chrome/browser/extensions/active_tab_permission_granter.cc   if (granted_extensions_.Contains(extension->id()))
extension          49 chrome/browser/extensions/active_tab_permission_granter.cc   if (extension->HasAPIPermission(APIPermission::kActiveTab)) {
extension          59 chrome/browser/extensions/active_tab_permission_granter.cc   if (extension->HasAPIPermission(APIPermission::kTabCapture))
extension          63 chrome/browser/extensions/active_tab_permission_granter.cc     granted_extensions_.Insert(extension);
extension          67 chrome/browser/extensions/active_tab_permission_granter.cc     PermissionsData::UpdateTabSpecificPermissions(extension,
extension          76 chrome/browser/extensions/active_tab_permission_granter.cc           extension->id(),
extension         101 chrome/browser/extensions/active_tab_permission_granter.cc   const Extension* extension =
extension         102 chrome/browser/extensions/active_tab_permission_granter.cc       content::Details<UnloadedExtensionInfo>(details)->extension;
extension         105 chrome/browser/extensions/active_tab_permission_granter.cc   granted_extensions_.Remove(extension->id());
extension          39 chrome/browser/extensions/active_tab_permission_granter.h   void GrantIfRequested(const Extension* extension);
extension          71 chrome/browser/extensions/active_tab_unittest.cc         extension(CreateTestExtension("deadbeef", true, false)),
extension          94 chrome/browser/extensions/active_tab_unittest.cc   bool IsAllowed(const scoped_refptr<const Extension>& extension,
extension          96 chrome/browser/extensions/active_tab_unittest.cc     return IsAllowed(extension, url, PERMITTED_BOTH, tab_id());
extension          99 chrome/browser/extensions/active_tab_unittest.cc   bool IsAllowed(const scoped_refptr<const Extension>& extension,
extension         102 chrome/browser/extensions/active_tab_unittest.cc     return IsAllowed(extension, url, feature, tab_id());
extension         105 chrome/browser/extensions/active_tab_unittest.cc   bool IsAllowed(const scoped_refptr<const Extension>& extension,
extension         110 chrome/browser/extensions/active_tab_unittest.cc                extension.get(), url, url, tab_id, NULL, -1, NULL);
extension         111 chrome/browser/extensions/active_tab_unittest.cc     bool capture = HasTabsPermission(extension, tab_id) &&
extension         112 chrome/browser/extensions/active_tab_unittest.cc         PermissionsData::CanCaptureVisiblePage(extension.get(), tab_id, NULL);
extension         127 chrome/browser/extensions/active_tab_unittest.cc   bool IsBlocked(const scoped_refptr<const Extension>& extension,
extension         129 chrome/browser/extensions/active_tab_unittest.cc     return IsBlocked(extension, url, tab_id());
extension         132 chrome/browser/extensions/active_tab_unittest.cc   bool IsBlocked(const scoped_refptr<const Extension>& extension,
extension         135 chrome/browser/extensions/active_tab_unittest.cc     return IsAllowed(extension, url, PERMITTED_NONE, tab_id);
extension         138 chrome/browser/extensions/active_tab_unittest.cc   bool HasTabsPermission(const scoped_refptr<const Extension>& extension) {
extension         139 chrome/browser/extensions/active_tab_unittest.cc     return HasTabsPermission(extension, tab_id());
extension         142 chrome/browser/extensions/active_tab_unittest.cc   bool HasTabsPermission(const scoped_refptr<const Extension>& extension,
extension         145 chrome/browser/extensions/active_tab_unittest.cc         extension.get(), tab_id, APIPermission::kTab);
extension         148 chrome/browser/extensions/active_tab_unittest.cc   bool IsGrantedForTab(const Extension* extension,
extension         151 chrome/browser/extensions/active_tab_unittest.cc         extension,
extension         160 chrome/browser/extensions/active_tab_unittest.cc   scoped_refptr<const Extension> extension;
extension         177 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsBlocked(extension, google));
extension         181 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_FALSE(HasTabsPermission(extension));
extension         185 chrome/browser/extensions/active_tab_unittest.cc   active_tab_permission_granter()->GrantIfRequested(extension.get());
extension         191 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsAllowed(extension, google));
extension         197 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsAllowed(extension, mail_google, PERMITTED_CAPTURE_ONLY));
extension         204 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsBlocked(extension, google));
extension         208 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_FALSE(HasTabsPermission(extension));
extension         213 chrome/browser/extensions/active_tab_unittest.cc   active_tab_permission_granter()->GrantIfRequested(extension.get());
extension         215 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsAllowed(extension, google));
extension         220 chrome/browser/extensions/active_tab_unittest.cc   active_tab_permission_granter()->GrantIfRequested(extension.get());
extension         221 chrome/browser/extensions/active_tab_unittest.cc   active_tab_permission_granter()->GrantIfRequested(extension.get());
extension         225 chrome/browser/extensions/active_tab_unittest.cc   active_tab_permission_granter()->GrantIfRequested(extension.get());
extension         226 chrome/browser/extensions/active_tab_unittest.cc   active_tab_permission_granter()->GrantIfRequested(extension.get());
extension         230 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsAllowed(extension, google));
extension         238 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsBlocked(extension, google));
extension         242 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsBlocked(extension, chromium));
extension         246 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_FALSE(HasTabsPermission(extension));
extension         252 chrome/browser/extensions/active_tab_unittest.cc   active_tab_permission_granter()->GrantIfRequested(extension.get());
extension         257 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsAllowed(extension, google, PERMITTED_CAPTURE_ONLY));
extension         261 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsAllowed(extension, chromium));
extension         268 chrome/browser/extensions/active_tab_unittest.cc   active_tab_permission_granter()->GrantIfRequested(extension.get());
extension         273 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsAllowed(extension, google));
extension         277 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsAllowed(extension, chromium, PERMITTED_CAPTURE_ONLY));
extension         287 chrome/browser/extensions/active_tab_unittest.cc   active_tab_permission_granter()->GrantIfRequested(extension.get());
extension         289 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsGrantedForTab(extension.get(), web_contents()));
extension         290 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsAllowed(extension, google));
extension         293 chrome/browser/extensions/active_tab_unittest.cc   UnloadedExtensionInfo details(extension.get(),
extension         306 chrome/browser/extensions/active_tab_unittest.cc   active_tab_permission_granter()->GrantIfRequested(extension.get());
extension         308 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsGrantedForTab(extension.get(), web_contents()));
extension         309 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsAllowed(extension, google));
extension         316 chrome/browser/extensions/active_tab_unittest.cc   active_tab_permission_granter()->GrantIfRequested(extension.get());
extension         318 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsAllowed(extension, google, PERMITTED_BOTH, tab_id()));
extension         319 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsBlocked(extension, google, tab_id() + 1));
extension         320 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_FALSE(HasTabsPermission(extension, tab_id() + 1));
extension         327 chrome/browser/extensions/active_tab_unittest.cc   active_tab_permission_granter()->GrantIfRequested(extension.get());
extension         334 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsAllowed(extension, google));
extension         335 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsAllowed(extension, google_h1));
extension         340 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_FALSE(IsAllowed(extension, google));
extension         341 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_FALSE(IsAllowed(extension, google_h1));
extension         342 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_FALSE(IsAllowed(extension, chromium));
extension         344 chrome/browser/extensions/active_tab_unittest.cc   active_tab_permission_granter()->GrantIfRequested(extension.get());
extension         346 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_FALSE(IsAllowed(extension, google));
extension         347 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_FALSE(IsAllowed(extension, google_h1));
extension         348 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsAllowed(extension, chromium));
extension         353 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_FALSE(IsAllowed(extension, google));
extension         354 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_FALSE(IsAllowed(extension, google_h1));
extension         355 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsAllowed(extension, chromium));
extension         356 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_TRUE(IsAllowed(extension, chromium_h1));
extension         360 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_FALSE(IsAllowed(extension, google));
extension         361 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_FALSE(IsAllowed(extension, google_h1));
extension         362 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_FALSE(IsAllowed(extension, chromium));
extension         363 chrome/browser/extensions/active_tab_unittest.cc   EXPECT_FALSE(IsAllowed(extension, chromium_h1));
extension         483 chrome/browser/extensions/activity_log/activity_log.cc void ActivityLog::OnExtensionLoaded(const Extension* extension) {
extension         484 chrome/browser/extensions/activity_log/activity_log.cc   if (!ActivityLogAPI::IsExtensionWhitelisted(extension->id())) return;
extension         494 chrome/browser/extensions/activity_log/activity_log.cc void ActivityLog::OnExtensionUnloaded(const Extension* extension) {
extension         495 chrome/browser/extensions/activity_log/activity_log.cc   if (!ActivityLogAPI::IsExtensionWhitelisted(extension->id())) return;
extension         507 chrome/browser/extensions/activity_log/activity_log.cc void ActivityLog::OnExtensionUninstalled(const Extension* extension) {
extension         508 chrome/browser/extensions/activity_log/activity_log.cc   if (ActivityLogAPI::IsExtensionWhitelisted(extension->id()) &&
extension         514 chrome/browser/extensions/activity_log/activity_log.cc     database_policy_->RemoveExtensionData(extension->id());
extension         587 chrome/browser/extensions/activity_log/activity_log.cc     const Extension* extension = extensions->GetByID(it->first);
extension         588 chrome/browser/extensions/activity_log/activity_log.cc     if (!extension || ActivityLogAPI::IsExtensionWhitelisted(extension->id()))
extension         596 chrome/browser/extensions/activity_log/activity_log.cc       action = new Action(extension->id(),
extension          87 chrome/browser/extensions/activity_log/activity_log.h   virtual void OnExtensionLoaded(const Extension* extension) OVERRIDE;
extension          88 chrome/browser/extensions/activity_log/activity_log.h   virtual void OnExtensionUnloaded(const Extension* extension) OVERRIDE;
extension          89 chrome/browser/extensions/activity_log/activity_log.h   virtual void OnExtensionUninstalled(const Extension* extension) OVERRIDE;
extension         148 chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc   scoped_refptr<Extension> extension =
extension         156 chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc   extension_service1->AddExtension(extension.get());
extension         209 chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc   extension_service1->AddExtension(extension.get());
extension         250 chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc   scoped_refptr<Extension> extension =
extension         258 chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc   extension_service->AddExtension(extension.get());
extension         231 chrome/browser/extensions/activity_log/activity_log_unittest.cc   scoped_refptr<const Extension> extension =
extension         238 chrome/browser/extensions/activity_log/activity_log_unittest.cc   extension_service_->AddExtension(extension.get());
extension         261 chrome/browser/extensions/activity_log/activity_log_unittest.cc   executing_scripts[extension->id()].insert("script");
extension         267 chrome/browser/extensions/activity_log/activity_log_unittest.cc       extension->id(),
extension         344 chrome/browser/extensions/activity_log/activity_log_unittest.cc   scoped_refptr<const Extension> extension =
extension         357 chrome/browser/extensions/activity_log/activity_log_unittest.cc   scoped_refptr<Action> action = new Action(extension->id(),
extension         362 chrome/browser/extensions/activity_log/activity_log_unittest.cc   action = new Action(extension->id(),
extension         368 chrome/browser/extensions/activity_log/activity_log_unittest.cc   activity_log->OnExtensionUninstalled(extension);
extension         371 chrome/browser/extensions/activity_log/activity_log_unittest.cc       extension->id(),
extension         432 chrome/browser/extensions/activity_log/counting_policy_unittest.cc   scoped_refptr<const Extension> extension =
extension         439 chrome/browser/extensions/activity_log/counting_policy_unittest.cc   extension_service_->AddExtension(extension.get());
extension         441 chrome/browser/extensions/activity_log/counting_policy_unittest.cc   scoped_refptr<Action> action = new Action(extension->id(),
extension         453 chrome/browser/extensions/activity_log/counting_policy_unittest.cc   scoped_refptr<const Extension> extension =
extension         460 chrome/browser/extensions/activity_log/counting_policy_unittest.cc   extension_service_->AddExtension(extension.get());
extension         465 chrome/browser/extensions/activity_log/counting_policy_unittest.cc   scoped_refptr<Action> action = new Action(extension->id(),
extension         473 chrome/browser/extensions/activity_log/counting_policy_unittest.cc                 extension->id(),
extension         599 chrome/browser/extensions/activity_log/counting_policy_unittest.cc   scoped_refptr<const Extension> extension =
extension         606 chrome/browser/extensions/activity_log/counting_policy_unittest.cc   extension_service_->AddExtension(extension.get());
extension         610 chrome/browser/extensions/activity_log/counting_policy_unittest.cc   scoped_refptr<Action> action_api = new Action(extension->id(),
extension         617 chrome/browser/extensions/activity_log/counting_policy_unittest.cc   scoped_refptr<Action> action_dom = new Action(extension->id(),
extension         627 chrome/browser/extensions/activity_log/counting_policy_unittest.cc       extension->id(),
extension         682 chrome/browser/extensions/activity_log/counting_policy_unittest.cc       extension->id(),
extension         389 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc   scoped_refptr<const Extension> extension =
extension         396 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc   extension_service_->AddExtension(extension.get());
extension         398 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc   scoped_refptr<Action> action = new Action(extension->id(),
extension         410 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc   scoped_refptr<const Extension> extension =
extension         417 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc   extension_service_->AddExtension(extension.get());
extension         421 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc   scoped_refptr<Action> action_api = new Action(extension->id(),
extension         428 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc   scoped_refptr<Action> action_dom = new Action(extension->id(),
extension         438 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc       extension->id(),
extension         448 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc   scoped_refptr<const Extension> extension =
extension         455 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc   extension_service_->AddExtension(extension.get());
extension         459 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc   scoped_refptr<Action> action_api = new Action(extension->id(),
extension         466 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc   scoped_refptr<Action> action_dom = new Action(extension->id(),
extension         476 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc       extension->id(),
extension         531 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc       extension->id(),
extension         546 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc   scoped_refptr<const Extension> extension =
extension         553 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc   extension_service_->AddExtension(extension.get());
extension         558 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc   scoped_refptr<Action> action = new Action(extension->id(),
extension         566 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc                 extension->id(),
extension         889 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc   scoped_refptr<const Extension> extension =
extension         896 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc   extension_service_->AddExtension(extension.get());
extension         900 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc   scoped_refptr<Action> action_api = new Action(extension->id(),
extension         907 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc   scoped_refptr<Action> action_dom = new Action(extension->id(),
extension         917 chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc       extension->id(),
extension          20 chrome/browser/extensions/alert_apitest.cc   const extensions::Extension* extension = GetSingleLoadedExtension();
extension          23 chrome/browser/extensions/alert_apitest.cc           process_manager()->GetBackgroundHostForExtension(extension->id());
extension         419 chrome/browser/extensions/api/alarms/alarm_manager.cc       const Extension* extension =
extension         424 chrome/browser/extensions/api/alarms/alarm_manager.cc             ReadyMap::value_type(extension->id(), ReadyQueue()));
extension         425 chrome/browser/extensions/api/alarms/alarm_manager.cc         storage->GetExtensionValue(extension->id(), kRegisteredAlarms,
extension         427 chrome/browser/extensions/api/alarms/alarm_manager.cc                        AsWeakPtr(), extension->id()));
extension         432 chrome/browser/extensions/api/alarms/alarm_manager.cc       const Extension* extension =
extension         435 chrome/browser/extensions/api/alarms/alarm_manager.cc           extension->id(), base::Bind(RemoveAllOnUninstallCallback));
extension          32 chrome/browser/extensions/api/alarms/alarms_api.cc                              const Extension* extension,
extension          56 chrome/browser/extensions/api/alarms/alarms_api.cc       if (Manifest::IsUnpackedLocation(extension->location()))
extension          72 chrome/browser/extensions/api/alarms/alarms_api.cc       if (Manifest::IsUnpackedLocation(extension->location()))
extension         133 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc   test->alarm_manager_->GetAllAlarms(test->extension()->id(), base::Bind(
extension         142 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc   alarm_manager_->GetAlarm(extension()->id(), std::string(), base::Bind(
extension         174 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc   alarm_manager_->GetAlarm(extension()->id(), std::string(), base::Bind(
extension         200 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc       test->extension()->id(), std::string(), base::Bind(
extension         208 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc   alarm_manager_->GetAlarm(extension()->id(), std::string(), base::Bind(
extension         227 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc       test->extension()->id(), std::string(), base::Bind(
extension         246 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc       test->extension()->id(), std::string(), base::Bind(
extension         255 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc   alarm_manager_->GetAlarm(extension()->id(), std::string(), base::Bind(
extension         274 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc   alarm_manager_->GetAllAlarms(extension()->id(), base::Bind(
extension         385 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc   test->alarm_manager_->GetAllAlarms(test->extension()->id(), base::Bind(
extension         418 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc   alarm_manager_->GetAllAlarms(extension()->id(), base::Bind(
extension         435 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc       test->extension()->id(), base::Bind(
extension         451 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc   alarm_manager_->GetAllAlarms(extension()->id(), base::Bind(
extension         468 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc     alarm_manager_->GetAlarm(extension()->id(), alarm_name, base::Bind(
extension         475 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc         extension()->id(),
extension         481 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc     alarm_manager_->RemoveAllAlarms(extension()->id(), base::Bind(
extension         506 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc     alarm_manager_->AddAlarmImpl(extension()->id(), alarm);
extension         516 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc     alarm_manager_->AddAlarmImpl(extension()->id(), alarm);
extension         531 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc     alarm_manager_->AddAlarmImpl(extension()->id(), alarm2);
extension         536 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc     alarm_manager_->AddAlarmImpl(extension()->id(), alarm3);
extension         168 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc     const Extension* extension = it->get();
extension         169 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc     std::string id = extension->id();
extension         172 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc     extension_value->SetString("version", extension->VersionString());
extension         173 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc     extension_value->SetString("name", extension->name());
extension         174 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc     extension_value->SetString("publicKey", extension->public_key());
extension         175 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc     extension_value->SetString("description", extension->description());
extension         177 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc         extensions::BackgroundInfo::GetBackgroundURL(extension).spec());
extension         179 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc         extensions::ManifestURL::GetOptionsPage(extension).spec());
extension         182 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc                          GetHostPermissions(extension, false));
extension         184 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc                          GetHostPermissions(extension, true));
extension         185 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc     extension_value->Set("apiPermissions", GetAPIPermissions(extension));
extension         187 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc     Manifest::Location location = extension->location();
extension         200 chrome/browser/extensions/api/autotest_private/autotest_private_api.cc         extension_action_manager->GetPageAction(*extension) != NULL);
extension         173 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc   scoped_refptr<const Extension> extension(
extension         175 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc   ASSERT_TRUE(extension.get());
extension         180 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc   add_profile_function->set_extension(extension.get());
extension         188 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc   add_profile_function->set_extension(extension.get());
extension         195 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc   add_profile_function->set_extension(extension.get());
extension         203 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc   remove_profile_function->set_extension(extension.get());
extension         210 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc   remove_profile_function->set_extension(extension.get());
extension         218 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc   remove_profile_function->set_extension(extension.get());
extension         226 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc   add_profile_function->set_extension(extension.get());
extension         557 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc   scoped_refptr<const Extension> extension(
extension         559 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc   ASSERT_TRUE(extension.get());
extension         567 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc       extension->id(), profile1_.get());
extension         569 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc       extension->id(), BluetoothUUID("1234"), device1_.get(), socket);
extension         481 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc       CleanUpForExtension(info->extension->id());
extension         155 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc   scoped_refptr<const extensions::Extension> extension =
extension         178 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc       extension, UnloadedExtensionInfo::REASON_DISABLE);
extension          91 chrome/browser/extensions/api/commands/command_service.cc                    const Extension* extension,
extension         120 chrome/browser/extensions/api/commands/command_service.cc         extensions::CommandService::RemovesBookmarkShortcut(extension)) {
extension         177 chrome/browser/extensions/api/commands/command_service.cc     const extensions::Extension* extension) {
extension         178 chrome/browser/extensions/api/commands/command_service.cc   const UIOverrides* ui_overrides = UIOverrides::Get(extension);
extension         180 chrome/browser/extensions/api/commands/command_service.cc       SettingsOverrides::Get(extension);
extension         187 chrome/browser/extensions/api/commands/command_service.cc           extension,
extension         195 chrome/browser/extensions/api/commands/command_service.cc     const extensions::Extension* extension) {
extension         196 chrome/browser/extensions/api/commands/command_service.cc   const UIOverrides* ui_overrides = UIOverrides::Get(extension);
extension         198 chrome/browser/extensions/api/commands/command_service.cc       SettingsOverrides::Get(extension);
extension         206 chrome/browser/extensions/api/commands/command_service.cc           extension,
extension         233 chrome/browser/extensions/api/commands/command_service.cc   const Extension* extension = extensions.GetByID(extension_id);
extension         234 chrome/browser/extensions/api/commands/command_service.cc   CHECK(extension);
extension         238 chrome/browser/extensions/api/commands/command_service.cc       CommandsInfo::GetNamedCommands(extension);
extension         328 chrome/browser/extensions/api/commands/command_service.cc           content::Details<const InstalledExtensionInfo>(details)->extension);
extension         380 chrome/browser/extensions/api/commands/command_service.cc     std::string extension;
extension         381 chrome/browser/extensions/api/commands/command_service.cc     item->GetString(kExtension, &extension);
extension         382 chrome/browser/extensions/api/commands/command_service.cc     if (extension != extension_id)
extension         414 chrome/browser/extensions/api/commands/command_service.cc   const Extension* extension = extensions.GetByID(extension_id);
extension         415 chrome/browser/extensions/api/commands/command_service.cc   CHECK(extension);
extension         459 chrome/browser/extensions/api/commands/command_service.cc     const extensions::Extension* extension) const {
extension         460 chrome/browser/extensions/api/commands/command_service.cc   return RemovesBookmarkShortcut(extension) &&
extension         462 chrome/browser/extensions/api/commands/command_service.cc           extension->id(),
extension         468 chrome/browser/extensions/api/commands/command_service.cc void CommandService::AssignInitialKeybindings(const Extension* extension) {
extension         470 chrome/browser/extensions/api/commands/command_service.cc       CommandsInfo::GetNamedCommands(extension);
extension         475 chrome/browser/extensions/api/commands/command_service.cc   if (InitialBindingsHaveBeenAssigned(extension_prefs, extension->id()))
extension         477 chrome/browser/extensions/api/commands/command_service.cc   SetInitialBindingsHaveBeenAssigned(extension_prefs, extension->id());
extension         483 chrome/browser/extensions/api/commands/command_service.cc                       extension,
extension         488 chrome/browser/extensions/api/commands/command_service.cc                         extension->id(),
extension         496 chrome/browser/extensions/api/commands/command_service.cc       CommandsInfo::GetBrowserActionCommand(extension);
extension         499 chrome/browser/extensions/api/commands/command_service.cc                     extension,
extension         504 chrome/browser/extensions/api/commands/command_service.cc                       extension->id(),
extension         511 chrome/browser/extensions/api/commands/command_service.cc       CommandsInfo::GetPageActionCommand(extension);
extension         514 chrome/browser/extensions/api/commands/command_service.cc                     extension,
extension         519 chrome/browser/extensions/api/commands/command_service.cc                       extension->id(),
extension         543 chrome/browser/extensions/api/commands/command_service.cc     std::string extension;
extension         544 chrome/browser/extensions/api/commands/command_service.cc     item->GetString(kExtension, &extension);
extension         546 chrome/browser/extensions/api/commands/command_service.cc     if (extension == extension_id) {
extension         583 chrome/browser/extensions/api/commands/command_service.cc   const Extension* extension = extensions.GetByID(extension_id);
extension         584 chrome/browser/extensions/api/commands/command_service.cc   CHECK(extension);
extension         592 chrome/browser/extensions/api/commands/command_service.cc       requested_command = CommandsInfo::GetBrowserActionCommand(extension);
extension         595 chrome/browser/extensions/api/commands/command_service.cc       requested_command = CommandsInfo::GetPageActionCommand(extension);
extension          83 chrome/browser/extensions/api/commands/command_service.h   static bool RemovesBookmarkShortcut(const extensions::Extension* extension);
extension          88 chrome/browser/extensions/api/commands/command_service.h       const extensions::Extension* extension);
extension         172 chrome/browser/extensions/api/commands/command_service.h   bool OverridesBookmarkShortcut(const extensions::Extension* extension) const;
extension         193 chrome/browser/extensions/api/commands/command_service.h   void AssignInitialKeybindings(const extensions::Extension* extension);
extension          96 chrome/browser/extensions/api/commands/command_service_browsertest.cc   const Extension* extension = InstallExtension(extension_dir, 1);
extension          97 chrome/browser/extensions/api/commands/command_service_browsertest.cc   ASSERT_TRUE(extension);
extension         108 chrome/browser/extensions/api/commands/command_service_browsertest.cc   keybinding->SetString("extension", extension->id());
extension         114 chrome/browser/extensions/api/commands/command_service_browsertest.cc   command_service->RemoveKeybindingPrefs(extension->id(), kNamedCommandName);
extension          33 chrome/browser/extensions/api/context_menus/context_menu_apitest.cc   const extensions::Extension* extension = GetSingleLoadedExtension();
extension          34 chrome/browser/extensions/api/context_menus/context_menu_apitest.cc   ASSERT_TRUE(extension) << message_;
extension          40 chrome/browser/extensions/api/context_menus/context_menu_apitest.cc         extension->GetResourceURL("popup.html"));
extension          48 chrome/browser/extensions/api/context_menus/context_menu_apitest.cc         extension->GetResourceURL("popup2.html"));
extension         121 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h                     const Extension* extension,
extension         133 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h   if (!is_webview && BackgroundInfo::HasLazyBackgroundPage(extension) &&
extension         148 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h     if (!extension->is_platform_app() || is_webview) {
extension         196 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h     success = menu_manager->AddContextItem(extension, item.release());
extension         202 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h   menu_manager->WriteToStorage(extension, item_id.extension_key);
extension         210 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h                     const Extension* extension,
extension         218 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h   if (!item || item->extension_id() != extension->id()){
extension         272 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h       if (!extension->is_platform_app() || is_webview) {
extension         304 chrome/browser/extensions/api/context_menus/context_menus_api_helpers.h   menu_manager->WriteToStorage(extension, item_id.extension_key);
extension         317 chrome/browser/extensions/api/cookies/cookies_api.cc   const extensions::Extension* extension = GetExtension();
extension         318 chrome/browser/extensions/api/cookies/cookies_api.cc   if (extension) {
extension         132 chrome/browser/extensions/api/cookies/cookies_helpers.cc                                    const Extension* extension,
extension         139 chrome/browser/extensions/api/cookies/cookies_helpers.cc     if (!PermissionsData::HasHostPermission(extension, cookie_domain_url))
extension          85 chrome/browser/extensions/api/cookies/cookies_helpers.h     const Extension* extension, LinkedCookieVec* match_vector);
extension         407 chrome/browser/extensions/api/debugger/debugger_api.cc         extension->id() == extension_id_)
extension         173 chrome/browser/extensions/api/declarative/declarative_apitest.cc   const Extension* extension = InstallExtensionWithUIAutoConfirm(
extension         175 chrome/browser/extensions/api/declarative/declarative_apitest.cc   ASSERT_TRUE(extension);
extension         176 chrome/browser/extensions/api/declarative/declarative_apitest.cc   std::string extension_id(extension->id());
extension         240 chrome/browser/extensions/api/declarative/declarative_apitest.cc   const Extension* extension = InstallExtensionWithUIAutoConfirm(
extension         242 chrome/browser/extensions/api/declarative/declarative_apitest.cc   ASSERT_TRUE(extension);
extension         243 chrome/browser/extensions/api/declarative/declarative_apitest.cc   std::string extension_id(extension->id());
extension          66 chrome/browser/extensions/api/declarative/declarative_rule.h       const Extension* extension,
extension         149 chrome/browser/extensions/api/declarative/declarative_rule.h   static scoped_ptr<DeclarativeActionSet> Create(const Extension* extension,
extension         220 chrome/browser/extensions/api/declarative/declarative_rule.h       const Extension* extension,
extension         296 chrome/browser/extensions/api/declarative/declarative_rule.h     const Extension* extension,
extension         306 chrome/browser/extensions/api/declarative/declarative_rule.h         extension, url_matcher_condition_factory, **i, error);
extension         355 chrome/browser/extensions/api/declarative/declarative_rule.h     const Extension* extension,
extension         367 chrome/browser/extensions/api/declarative/declarative_rule.h         ActionT::Create(extension, **i, error, bad_message);
extension         433 chrome/browser/extensions/api/declarative/declarative_rule.h     const Extension* extension,
extension         441 chrome/browser/extensions/api/declarative/declarative_rule.h       extension, url_matcher_condition_factory, rule->conditions, error);
extension         448 chrome/browser/extensions/api/declarative/declarative_rule.h       ActionSet::Create(extension, rule->actions, error, &bad_message);
extension         469 chrome/browser/extensions/api/declarative/declarative_rule.h   GlobalRuleId rule_id(extension->id(), *(rule->id));
extension          52 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc       const Extension* extension,
extension         134 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc       const Extension* extension,
extension         220 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc   static scoped_refptr<const SummingAction> Create(const Extension* extension,
extension         328 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc   scoped_refptr<Extension> extension = ExtensionBuilder()
extension         338 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc                                      extension.get(),
extension         385 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc   scoped_refptr<Extension> extension = ExtensionBuilder()
extension         406 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc                                      extension.get(),
extension         428 chrome/browser/extensions/api/declarative/declarative_rule_unittest.cc                       extension.get(),
extension         241 chrome/browser/extensions/api/declarative/rules_registry.cc   for (RuleIdentifiersMap::const_iterator extension =
extension         243 chrome/browser/extensions/api/declarative/rules_registry.cc        extension != used_rule_identifiers_.end();
extension         244 chrome/browser/extensions/api/declarative/rules_registry.cc        ++extension) {
extension         247 chrome/browser/extensions/api/declarative/rules_registry.cc     entry_count += 1u + extension->second.size();
extension         215 chrome/browser/extensions/api/declarative/rules_registry_service.cc       const Extension* extension =
extension         216 chrome/browser/extensions/api/declarative/rules_registry_service.cc           content::Details<UnloadedExtensionInfo>(details)->extension;
extension         218 chrome/browser/extensions/api/declarative/rules_registry_service.cc                              extension->id());
extension         222 chrome/browser/extensions/api/declarative/rules_registry_service.cc       const Extension* extension =
extension         225 chrome/browser/extensions/api/declarative/rules_registry_service.cc                              extension->id());
extension         229 chrome/browser/extensions/api/declarative/rules_registry_service.cc       const Extension* extension =
extension         232 chrome/browser/extensions/api/declarative/rules_registry_service.cc                              extension->id());
extension         341 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc   scoped_refptr<Extension> extension(
extension         349 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc   extension_service->AddExtension(extension.get());
extension         350 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc   EXPECT_TRUE(extension_service->extensions()->Contains(extension->id()));
extension         352 chrome/browser/extensions/api/declarative/rules_registry_with_cache_unittest.cc       extension->HasAPIPermission(APIPermission::kDeclarativeWebRequest));
extension          50 chrome/browser/extensions/api/declarative_content/content_action.cc   static scoped_refptr<ContentAction> Create(const Extension* extension,
extension          55 chrome/browser/extensions/api/declarative_content/content_action.cc     if (ActionInfo::GetPageActionInfo(extension) == NULL) {
extension          88 chrome/browser/extensions/api/declarative_content/content_action.cc     const Extension* extension = service->GetInstalledExtension(extension_id);
extension          89 chrome/browser/extensions/api/declarative_content/content_action.cc     if (!extension)
extension          91 chrome/browser/extensions/api/declarative_content/content_action.cc     return ExtensionActionManager::Get(profile)->GetPageAction(*extension);
extension         135 chrome/browser/extensions/api/declarative_content/content_action.cc     const Extension* extension,
extension         154 chrome/browser/extensions/api/declarative_content/content_action.cc         extension, action_dict, error, bad_message);
extension          61 chrome/browser/extensions/api/declarative_content/content_action.h   static scoped_refptr<ContentAction> Create(const Extension* extension,
extension          58 chrome/browser/extensions/api/declarative_content/content_action_unittest.cc   const Extension* extension = env.MakeExtension(base::DictionaryValue());
extension          62 chrome/browser/extensions/api/declarative_content/content_action_unittest.cc       extension,
extension          77 chrome/browser/extensions/api/declarative_content/content_action_unittest.cc   const Extension* extension = env.MakeExtension(
extension          82 chrome/browser/extensions/api/declarative_content/content_action_unittest.cc       extension,
extension          95 chrome/browser/extensions/api/declarative_content/content_action_unittest.cc       ExtensionActionManager::Get(env.profile())->GetPageAction(*extension);
extension         102 chrome/browser/extensions/api/declarative_content/content_action_unittest.cc   result->Apply(extension->id(), base::Time(), &apply_info);
extension         104 chrome/browser/extensions/api/declarative_content/content_action_unittest.cc   result->Apply(extension->id(), base::Time(), &apply_info);
extension         106 chrome/browser/extensions/api/declarative_content/content_action_unittest.cc   result->Revert(extension->id(), base::Time(), &apply_info);
extension         108 chrome/browser/extensions/api/declarative_content/content_action_unittest.cc   result->Revert(extension->id(), base::Time(), &apply_info);
extension          70 chrome/browser/extensions/api/declarative_content/content_condition.cc     const Extension* extension,
extension          64 chrome/browser/extensions/api/declarative_content/content_condition.h       const Extension* extension,
extension         143 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc   const Extension* extension = service->GetInstalledExtension(extension_id);
extension         144 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc   DCHECK(extension) << "Must have extension with id " << extension_id;
extension         159 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc                             extension,
extension          71 chrome/browser/extensions/api/declarative_content/content_rules_registry_unittest.cc   const Extension* extension = env.MakeExtension(*ParseJson(
extension          73 chrome/browser/extensions/api/declarative_content/content_rules_registry_unittest.cc   registry->AddRulesImpl(extension->id(), rules);
extension          95 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc   const Extension* extension = LoadExtension(ext_dir_.unpacked_path());
extension          96 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc   ASSERT_TRUE(extension);
extension          99 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc       GetPageAction(*extension);
extension         155 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc   const Extension* extension = LoadExtension(ext_dir_.unpacked_path());
extension         156 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc   ASSERT_TRUE(extension);
extension         157 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc   const std::string extension_id = extension->id();
extension         159 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc       browser()->profile())->GetPageAction(*extension);
extension         216 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc   const Extension* extension = LoadExtension(ext_dir_.unpacked_path());
extension         217 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc   ASSERT_TRUE(extension);
extension         219 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc       browser()->profile())->GetPageAction(*extension);
extension         225 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc                 extension->id(),
extension         245 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc                 extension->id(),
extension         259 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc   const Extension* extension = LoadExtension(ext_dir_.unpacked_path());
extension         260 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc   ASSERT_TRUE(extension);
extension         263 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc                   extension->id(),
extension         277 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc                 GetPageAction(*extension));
extension         292 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc   const Extension* extension = LoadExtension(ext_dir_.unpacked_path());
extension         293 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc   ASSERT_TRUE(extension);
extension         297 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc                 extension->id(),
extension         303 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc                   extension->id(),
extension         312 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc                   extension->id(),
extension         321 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc                   extension->id(),
extension         331 chrome/browser/extensions/api/declarative_content/declarative_content_apitest.cc                   extension->id(),
extension         503 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc     const Extension* extension,
extension         137 chrome/browser/extensions/api/declarative_webrequest/webrequest_action.h       const Extension* extension,
extension         129 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.cc     const Extension* extension,
extension          82 chrome/browser/extensions/api/declarative_webrequest/webrequest_condition.h       const Extension* extension,
extension         174 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc   const Extension* extension =
extension         185 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc         extension, extension_installation_time, *rule,
extension         186 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc         base::Bind(&Checker, base::Unretained(extension)),
extension         237 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc                    profile_id_, make_scoped_refptr(extension)));
extension         334 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc bool WebRequestRulesRegistry::Checker(const Extension* extension,
extension         339 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc           HostPermissionsChecker(extension, actions, error));
extension         344 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc     const Extension* extension,
extension         347 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc   if (PermissionsData::HasEffectiveAccessToAllHosts(extension))
extension         139 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h   static bool Checker(const Extension* extension,
extension         146 chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h   static bool HostPermissionsChecker(const Extension* extension,
extension         199 chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc   const Extension* extension = LoadExtensionWithFlags(
extension         201 chrome/browser/extensions/api/desktop_capture/desktop_capture_apitest.cc   ASSERT_TRUE(extension);
extension         217 chrome/browser/extensions/api/developer_private/developer_private_api.cc   const Extension* extension = NULL;
extension         222 chrome/browser/extensions/api/developer_private/developer_private_api.cc       extension =
extension         223 chrome/browser/extensions/api/developer_private/developer_private_api.cc           content::Details<const InstalledExtensionInfo>(details)->extension;
extension         227 chrome/browser/extensions/api/developer_private/developer_private_api.cc       extension = content::Details<const Extension>(details).ptr();
extension         231 chrome/browser/extensions/api/developer_private/developer_private_api.cc       extension = content::Details<const Extension>(details).ptr();
extension         235 chrome/browser/extensions/api/developer_private/developer_private_api.cc       extension =
extension         236 chrome/browser/extensions/api/developer_private/developer_private_api.cc           content::Details<const UnloadedExtensionInfo>(details)->extension;
extension         253 chrome/browser/extensions/api/developer_private/developer_private_api.cc   if (extension)
extension         254 chrome/browser/extensions/api/developer_private/developer_private_api.cc     event_data.item_id = extension->id();
extension         462 chrome/browser/extensions/api/developer_private/developer_private_api.cc         const Extension* extension,
extension         466 chrome/browser/extensions/api/developer_private/developer_private_api.cc       BackgroundInfo::HasGeneratedBackgroundPage(extension);
extension         479 chrome/browser/extensions/api/developer_private/developer_private_api.cc         (web_contents->GetURL() == BackgroundInfo::GetBackgroundURL(extension));
extension         490 chrome/browser/extensions/api/developer_private/developer_private_api.cc     const Extension* extension,
extension         496 chrome/browser/extensions/api/developer_private/developer_private_api.cc       registry->GetAppWindowsForApp(extension->id());
extension         499 chrome/browser/extensions/api/developer_private/developer_private_api.cc       BackgroundInfo::HasGeneratedBackgroundPage(extension);
extension         507 chrome/browser/extensions/api/developer_private/developer_private_api.cc         (web_contents->GetURL() == BackgroundInfo::GetBackgroundURL(extension));
extension         543 chrome/browser/extensions/api/developer_private/developer_private_api.cc         const Extension* extension,
extension         551 chrome/browser/extensions/api/developer_private/developer_private_api.cc       extension,
extension         552 chrome/browser/extensions/api/developer_private/developer_private_api.cc       process_manager->GetRenderViewHostsForExtension(extension->id()),
extension         556 chrome/browser/extensions/api/developer_private/developer_private_api.cc   GetAppWindowPagesForExtensionProfile(extension, &result);
extension         559 chrome/browser/extensions/api/developer_private/developer_private_api.cc   if (BackgroundInfo::HasLazyBackgroundPage(extension) &&
extension         561 chrome/browser/extensions/api/developer_private/developer_private_api.cc       !process_manager->GetBackgroundHostForExtension(extension->id())) {
extension         563 chrome/browser/extensions/api/developer_private/developer_private_api.cc         BackgroundInfo::GetBackgroundURL(extension),
extension         567 chrome/browser/extensions/api/developer_private/developer_private_api.cc         BackgroundInfo::HasGeneratedBackgroundPage(extension)));
extension         574 chrome/browser/extensions/api/developer_private/developer_private_api.cc       IncognitoInfo::IsSplitMode(extension)) {
extension         578 chrome/browser/extensions/api/developer_private/developer_private_api.cc         extension,
extension         579 chrome/browser/extensions/api/developer_private/developer_private_api.cc         process_manager->GetRenderViewHostsForExtension(extension->id()),
extension         582 chrome/browser/extensions/api/developer_private/developer_private_api.cc     if (BackgroundInfo::HasLazyBackgroundPage(extension) &&
extension         584 chrome/browser/extensions/api/developer_private/developer_private_api.cc         !process_manager->GetBackgroundHostForExtension(extension->id())) {
extension         586 chrome/browser/extensions/api/developer_private/developer_private_api.cc         BackgroundInfo::GetBackgroundURL(extension),
extension         590 chrome/browser/extensions/api/developer_private/developer_private_api.cc         BackgroundInfo::HasGeneratedBackgroundPage(extension)));
extension         664 chrome/browser/extensions/api/developer_private/developer_private_api.cc   const Extension* extension = service->GetInstalledExtension(params->item_id);
extension         667 chrome/browser/extensions/api/developer_private/developer_private_api.cc   if (!extension) {
extension         669 chrome/browser/extensions/api/developer_private/developer_private_api.cc   } else if (!management_policy->UserMayModifySettings(extension, NULL)) {
extension         672 chrome/browser/extensions/api/developer_private/developer_private_api.cc                << extension->id();
extension         675 chrome/browser/extensions/api/developer_private/developer_private_api.cc     util::SetAllowFileAccess(extension->id(), GetProfile(), params->allow);
extension         691 chrome/browser/extensions/api/developer_private/developer_private_api.cc   const Extension* extension = service->GetInstalledExtension(params->item_id);
extension         694 chrome/browser/extensions/api/developer_private/developer_private_api.cc   if (!extension)
extension         697 chrome/browser/extensions/api/developer_private/developer_private_api.cc     util::SetIsIncognitoEnabled(extension->id(), GetProfile(), params->allow);
extension         725 chrome/browser/extensions/api/developer_private/developer_private_api.cc   const Extension* extension = service->GetInstalledExtension(extension_id_);
extension         727 chrome/browser/extensions/api/developer_private/developer_private_api.cc   if (!extension)
extension         733 chrome/browser/extensions/api/developer_private/developer_private_api.cc   if (extension->HasAPIPermission(extensions::APIPermission::kFileSystem)) {
extension         741 chrome/browser/extensions/api/developer_private/developer_private_api.cc   prompt_->ReviewPermissions(this, extension, retained_file_paths);
extension         783 chrome/browser/extensions/api/developer_private/developer_private_api.cc   const Extension* extension = service->GetInstalledExtension(extension_id);
extension         784 chrome/browser/extensions/api/developer_private/developer_private_api.cc   if (!extension) {
extension         789 chrome/browser/extensions/api/developer_private/developer_private_api.cc   if (!policy->UserMayModifySettings(extension, NULL) ||
extension         790 chrome/browser/extensions/api/developer_private/developer_private_api.cc       (!enable && policy->MustRemainEnabled(extension, NULL)) ||
extension         791 chrome/browser/extensions/api/developer_private/developer_private_api.cc       (enable && policy->MustRemainDisabled(extension, NULL, NULL))) {
extension         809 chrome/browser/extensions/api/developer_private/developer_private_api.cc           service, app_window->web_contents(), extension);
extension         814 chrome/browser/extensions/api/developer_private/developer_private_api.cc       scoped_refptr<const Extension> extension =
extension         821 chrome/browser/extensions/api/developer_private/developer_private_api.cc           extension,
extension         829 chrome/browser/extensions/api/developer_private/developer_private_api.cc           prefs, extension->id(), true);
extension         870 chrome/browser/extensions/api/developer_private/developer_private_api.cc     const Extension* extension = service->extensions()->GetByID(
extension         872 chrome/browser/extensions/api/developer_private/developer_private_api.cc     DCHECK(extension);
extension         874 chrome/browser/extensions/api/developer_private/developer_private_api.cc     devtools_util::InspectBackgroundPage(extension, GetProfile());
extension         178 chrome/browser/extensions/api/developer_private/developer_private_api.h       const Extension* extension,
extension         183 chrome/browser/extensions/api/developer_private/developer_private_api.h       const Extension* extension,
extension         186 chrome/browser/extensions/api/developer_private/developer_private_api.h   void GetAppWindowPagesForExtensionProfile(const Extension* extension,
extension          23 chrome/browser/extensions/api/developer_private/developer_private_apitest.cc     const Extension* extension = LoadExtension(path.AppendASCII(name));
extension          24 chrome/browser/extensions/api/developer_private/developer_private_apitest.cc     ASSERT_TRUE(extension);
extension          25 chrome/browser/extensions/api/developer_private/developer_private_apitest.cc     extension_name_to_ids_[name] = extension->id();
extension          31 chrome/browser/extensions/api/developer_private/developer_private_apitest.cc     const Extension* extension = InstallExtension(path.AppendASCII(name), 1,
extension          33 chrome/browser/extensions/api/developer_private/developer_private_apitest.cc     ASSERT_TRUE(extension);
extension          34 chrome/browser/extensions/api/developer_private/developer_private_apitest.cc     extension_name_to_ids_[name] = extension->id();
extension          97 chrome/browser/extensions/api/dial/dial_apitest.cc   const extensions::Extension* extension = LoadExtensionWithFlags(
extension         101 chrome/browser/extensions/api/dial/dial_apitest.cc   ASSERT_FALSE(extension->install_warnings().empty());
extension         290 chrome/browser/extensions/api/downloads/downloads_api.cc     const extensions::Extension* extension = extensions::ExtensionSystem::Get(
extension         293 chrome/browser/extensions/api/downloads/downloads_api.cc     if (extension)
extension         294 chrome/browser/extensions/api/downloads/downloads_api.cc       json->SetString(kByExtensionNameKey, extension->name());
extension         901 chrome/browser/extensions/api/downloads/downloads_api.cc     const extensions::Extension* extension,
extension         905 chrome/browser/extensions/api/downloads/downloads_api.cc       extensions::ExtensionPrefs::Get(context)->GetInstallTime(extension->id());
extension         906 chrome/browser/extensions/api/downloads/downloads_api.cc   data->AddPendingDeterminer(extension->id(), installed);
extension        1540 chrome/browser/extensions/api/downloads/downloads_api.cc     const extensions::Extension* extension, bool enabled) {
extension        1542 chrome/browser/extensions/api/downloads/downloads_api.cc     shelf_disabling_extensions_.find(extension);
extension        1545 chrome/browser/extensions/api/downloads/downloads_api.cc       shelf_disabling_extensions_.insert(extension);
extension        1547 chrome/browser/extensions/api/downloads/downloads_api.cc     shelf_disabling_extensions_.erase(extension);
extension        1903 chrome/browser/extensions/api/downloads/downloads_api.cc         shelf_disabling_extensions_.find(unloaded->extension);
extension         342 chrome/browser/extensions/api/downloads/downloads_api.h   void SetShelfEnabled(const extensions::Extension* extension, bool enabled);
extension          44 chrome/browser/extensions/api/execute_code_function.cc   const Extension* extension = GetExtension();
extension          45 chrome/browser/extensions/api/execute_code_function.cc   if (extension) {
extension          46 chrome/browser/extensions/api/execute_code_function.cc     extension_id = extension->id();
extension          47 chrome/browser/extensions/api/execute_code_function.cc     extension_path = extension->path();
extension          48 chrome/browser/extensions/api/execute_code_function.cc     extension_default_locale = LocaleInfo::GetDefaultLocale(extension);
extension         114 chrome/browser/extensions/api/execute_code_function.cc   const Extension* extension = GetExtension();
extension         115 chrome/browser/extensions/api/execute_code_function.cc   if (!extension)
extension         144 chrome/browser/extensions/api/execute_code_function.cc       extension->id(),
extension          91 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ExtensionAction* GetBrowserAction(const Extension& extension) {
extension          93 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc         GetBrowserAction(extension);
extension         100 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         101 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ASSERT_TRUE(extension) << message_;
extension         109 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc       GURL(extension->GetResourceURL("update.html")));
extension         113 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ExtensionAction* action = GetBrowserAction(*extension);
extension         125 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   toolbar_model->ExecuteBrowserAction(extension, browser(), NULL, true);
extension         132 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         133 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ASSERT_TRUE(extension) << message_;
extension         148 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc       extension,
extension         149 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc       GetBrowserAction(*extension),
extension         313 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         314 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ASSERT_TRUE(extension) << message_;
extension         345 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         346 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ASSERT_TRUE(extension) << message_;
extension         378 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         379 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ASSERT_TRUE(extension) << message_;
extension         384 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ExtensionAction* browser_action = GetBrowserAction(*extension);
extension         418 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc         GURL(extension->GetResourceURL("change_popup.html")));
extension         434 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         435 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ASSERT_TRUE(extension) << message_;
extension         440 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ExtensionAction* browser_action = GetBrowserAction(*extension);
extension         454 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc         GURL(extension->GetResourceURL("remove_popup.html")));
extension         469 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         470 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ASSERT_TRUE(extension) << message_;
extension         489 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc       ->SetIsIncognitoEnabled(extension->id(), true);
extension         584 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   const Extension* extension = LoadExtensionWithFlags(
extension         587 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ASSERT_TRUE(extension) << message_;
extension         602 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   toolbar_model->ExecuteBrowserAction(extension, browser(), NULL, true);
extension         607 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   toolbar_model->ExecuteBrowserAction(extension, incognito_browser, NULL, true);
extension         616 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         621 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ASSERT_TRUE(manager->GetBackgroundHostForExtension(extension->id()));
extension         622 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ExtensionAction* action = GetBrowserAction(*extension);
extension         632 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   toolbar_model->ExecuteBrowserAction(extension, browser(), NULL, true);
extension         638 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ASSERT_FALSE(manager->GetBackgroundHostForExtension(extension->id()));
extension         645 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         646 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ASSERT_TRUE(extension) << message_;
extension         652 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ExtensionAction* action = GetBrowserAction(*extension);
extension         659 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc       GURL(extension->GetResourceURL("update.html")));
extension         667 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc       GURL(extension->GetResourceURL("update2.html")));
extension         677 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         678 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ASSERT_TRUE(extension) << message_;
extension         686 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc       GURL(extension->GetResourceURL("update.html")));
extension         691 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc       GURL(extension->GetResourceURL("update2.html")));
extension         700 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         701 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ASSERT_TRUE(extension) << message_;
extension         710 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc   ExtensionAction* browser_action = GetBrowserAction(*extension);
extension          55 chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc   const Extension* extension =
extension          59 chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc   ASSERT_TRUE(extension);
extension          60 chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc   ASSERT_EQ(kExtensionName, extension->name());
extension          61 chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc   WaitForStateStore(profile(), extension->id());
extension          68 chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc       ExtensionActionManager::Get(profile())->GetBrowserAction(*extension);
extension          79 chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc   const Extension* extension = NULL;
extension          86 chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc       extension = *iter;
extension          90 chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc   ASSERT_TRUE(extension) << "Could not find extension in registry.";
extension          93 chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc       ExtensionActionManager::Get(profile())->GetBrowserAction(*extension);
extension         111 chrome/browser/extensions/api/extension_action/browser_action_browsertest.cc   WaitForStateStore(profile(), extension->id());
extension         153 chrome/browser/extensions/api/extension_action/browser_action_interactive_test.cc   const Extension* extension = GetSingleLoadedExtension();
extension         154 chrome/browser/extensions/api/extension_action/browser_action_interactive_test.cc   ASSERT_TRUE(extension) << message_;
extension         226 chrome/browser/extensions/api/extension_action/browser_action_interactive_test.cc   const Extension* extension = GetSingleLoadedExtension();
extension         227 chrome/browser/extensions/api/extension_action/browser_action_interactive_test.cc   ASSERT_TRUE(extension) << message_;
extension         438 chrome/browser/extensions/api/extension_action/extension_action_api.cc       const Extension* extension =
extension         441 chrome/browser/extensions/api/extension_action/extension_action_api.cc           GetBrowserAction(*extension)) {
extension         447 chrome/browser/extensions/api/extension_action/extension_action_api.cc         storage->GetExtensionValue(extension->id(), kBrowserActionStorageKey,
extension         449 chrome/browser/extensions/api/extension_action/extension_action_api.cc                        AsWeakPtr(), extension->id()));
extension         484 chrome/browser/extensions/api/extension_action/extension_action_api.cc   const Extension* extension =
extension         487 chrome/browser/extensions/api/extension_action/extension_action_api.cc   if (!extension)
extension         491 chrome/browser/extensions/api/extension_action/extension_action_api.cc       ExtensionActionManager::Get(profile_)->GetBrowserAction(*extension);
extension         522 chrome/browser/extensions/api/extension_action/extension_action_api.cc   const Extension* extension = GetExtension();
extension         524 chrome/browser/extensions/api/extension_action/extension_action_api.cc     extension_action_ = manager->GetSystemIndicator(*extension);
extension         526 chrome/browser/extensions/api/extension_action/extension_action_api.cc     extension_action_ = manager->GetBrowserAction(*extension);
extension         528 chrome/browser/extensions/api/extension_action/extension_action_api.cc       extension_action_ = manager->GetPageAction(*extension);
extension         849 chrome/browser/extensions/api/extension_action/extension_action_api.cc       host->extension()->id() != extension_->id())
extension          32 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   ExtensionAction* GetPageAction(const Extension& extension) {
extension          34 chrome/browser/extensions/api/extension_action/page_action_apitest.cc         GetPageAction(extension);
extension          41 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension          42 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   ASSERT_TRUE(extension) << message_;
extension          47 chrome/browser/extensions/api/extension_action/page_action_apitest.cc         GURL(extension->GetResourceURL("update.html")));
extension          54 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   ExtensionAction* action = GetPageAction(*extension);
extension          72 chrome/browser/extensions/api/extension_action/page_action_apitest.cc         GURL(extension->GetResourceURL("update2.html")));
extension          78 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   ExtensionActionIconFactory icon_factory(profile(), extension, action, NULL);
extension          90 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension          91 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   ASSERT_TRUE(extension) << message_;
extension          96 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   ExtensionAction* page_action = GetPageAction(*extension);
extension         123 chrome/browser/extensions/api/extension_action/page_action_apitest.cc         GURL(extension->GetResourceURL("change_popup.html")));
extension         136 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         137 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   ASSERT_TRUE(extension) << message_;
extension         142 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   ExtensionAction* page_action = GetPageAction(*extension);
extension         154 chrome/browser/extensions/api/extension_action/page_action_apitest.cc         GURL(extension->GetResourceURL("remove_popup.html")));
extension         167 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         168 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   ASSERT_TRUE(extension) << message_;
extension         174 chrome/browser/extensions/api/extension_action/page_action_apitest.cc         GURL(extension->GetResourceURL("page.html")));
extension         183 chrome/browser/extensions/api/extension_action/page_action_apitest.cc     ExtensionAction* page_action = GetPageAction(*extension);
extension         194 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         195 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   ASSERT_TRUE(extension) << message_;
extension         223 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         224 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   ASSERT_TRUE(extension) << message_;
extension         228 chrome/browser/extensions/api/extension_action/page_action_apitest.cc       GURL(extension->GetResourceURL("update.html")));
extension         237 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         238 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   ASSERT_TRUE(extension) << message_;
extension         246 chrome/browser/extensions/api/extension_action/page_action_apitest.cc   ExtensionAction* page_action = GetPageAction(*extension);
extension          68 chrome/browser/extensions/api/feedback_private/feedback_browsertest.cc     const Extension* feedback_app = window->extension();
extension          38 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc   for (std::set<std::string>::const_iterator extension =
extension          40 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc        extension != handler.extensions.end(); ++extension) {
extension          41 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc     if (*extension == "*")
extension          46 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc         base::FilePath::FromUTF8Unsafe(*extension).value())) {
extension          52 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc     if (extension->empty() &&
extension         314 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc     const Extension* extension,
extension         330 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc   if (HasFileSystemWritePermission(extension)) {
extension         354 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc bool HasFileSystemWritePermission(const Extension* extension) {
extension         355 chrome/browser/extensions/api/file_handlers/app_file_handler_util.cc   return extension->HasAPIPermission(APIPermission::kFileSystemWrite);
extension          52 chrome/browser/extensions/api/file_handlers/app_file_handler_util.h FindFileHandlersForFiles(const Extension& extension,
extension          64 chrome/browser/extensions/api/file_handlers/app_file_handler_util.h     const Extension* extension,
extension          77 chrome/browser/extensions/api/file_handlers/app_file_handler_util.h bool HasFileSystemWritePermission(const Extension* extension);
extension         189 chrome/browser/extensions/api/file_system/file_system_api.cc       std::string extension = *iter;
extension         190 chrome/browser/extensions/api/file_system/file_system_api.cc       StringToLowerASCII(&extension);
extension          47 chrome/browser/extensions/api/file_system/file_system_apitest.cc                                  const Extension* extension) {
extension          49 chrome/browser/extensions/api/file_system/file_system_apitest.cc       prefs, extension->id(), choose_entry_directory);
extension          55 chrome/browser/extensions/api/file_system/file_system_apitest.cc                    const Extension* extension) {
extension          57 chrome/browser/extensions/api/file_system/file_system_apitest.cc       extension->id(), "magic id", path_to_save, is_directory);
extension         126 chrome/browser/extensions/api/file_system/file_system_apitest.cc     const Extension* extension = GetSingleLoadedExtension();
extension         127 chrome/browser/extensions/api/file_system/file_system_apitest.cc     ASSERT_TRUE(extension);
extension         128 chrome/browser/extensions/api/file_system/file_system_apitest.cc     std::string extension_id = extension->id();
extension         109 chrome/browser/extensions/api/gcm/gcm_apitest.cc   const Extension* extension =
extension         111 chrome/browser/extensions/api/gcm/gcm_apitest.cc   if (extension) {
extension         113 chrome/browser/extensions/api/gcm/gcm_apitest.cc         browser(), extension->GetResourceURL(page_name));
extension         115 chrome/browser/extensions/api/gcm/gcm_apitest.cc   return extension;
extension         165 chrome/browser/extensions/api/gcm/gcm_apitest.cc   const extensions::Extension* extension =
extension         167 chrome/browser/extensions/api/gcm/gcm_apitest.cc   ASSERT_TRUE(extension);
extension         170 chrome/browser/extensions/api/gcm/gcm_apitest.cc   app_handler.OnMessagesDeleted(extension->id());
extension         178 chrome/browser/extensions/api/gcm/gcm_apitest.cc   const extensions::Extension* extension =
extension         180 chrome/browser/extensions/api/gcm/gcm_apitest.cc   ASSERT_TRUE(extension);
extension         188 chrome/browser/extensions/api/gcm/gcm_apitest.cc   app_handler.OnMessage(extension->id(), message);
extension         192 chrome/browser/extensions/api/gcm/gcm_apitest.cc   app_handler.OnMessage(extension->id(), message);
extension         201 chrome/browser/extensions/api/gcm/gcm_apitest.cc   const extensions::Extension* extension =
extension         203 chrome/browser/extensions/api/gcm/gcm_apitest.cc   ASSERT_TRUE(extension);
extension         208 chrome/browser/extensions/api/gcm/gcm_apitest.cc       extension->id(),
extension         213 chrome/browser/extensions/api/gcm/gcm_apitest.cc       extension->id(),
extension         218 chrome/browser/extensions/api/gcm/gcm_apitest.cc       extension->id(),
extension         223 chrome/browser/extensions/api/gcm/gcm_apitest.cc       extension->id(),
extension         228 chrome/browser/extensions/api/gcm/gcm_apitest.cc       extension->id(),
extension          39 chrome/browser/extensions/api/i18n/i18n_apitest.cc   const extensions::Extension* extension = LoadExtension(extension_dir.path());
extension          58 chrome/browser/extensions/api/i18n/i18n_apitest.cc   ReloadExtension(extension->id());
extension         486 chrome/browser/extensions/api/identity/identity_apitest.cc   scoped_refptr<const Extension> extension(CreateExtension(CLIENT_ID | SCOPES));
extension         488 chrome/browser/extensions/api/identity/identity_apitest.cc   func->set_extension(extension.get());
extension         549 chrome/browser/extensions/api/identity/identity_apitest.cc   scoped_refptr<const Extension> extension(CreateExtension(CLIENT_ID | SCOPES));
extension         550 chrome/browser/extensions/api/identity/identity_apitest.cc   func->set_extension(extension.get());
extension         679 chrome/browser/extensions/api/identity/identity_apitest.cc   scoped_refptr<const Extension> extension(CreateExtension(CLIENT_ID | SCOPES));
extension         681 chrome/browser/extensions/api/identity/identity_apitest.cc   func->set_extension(extension.get());
extension         768 chrome/browser/extensions/api/identity/identity_apitest.cc   scoped_refptr<const Extension> extension(CreateExtension(CLIENT_ID | SCOPES));
extension         782 chrome/browser/extensions/api/identity/identity_apitest.cc     func->set_extension(extension.get());
extension         801 chrome/browser/extensions/api/identity/identity_apitest.cc   scoped_refptr<const Extension> extension(CreateExtension(CLIENT_ID | SCOPES));
extension         803 chrome/browser/extensions/api/identity/identity_apitest.cc   func->set_extension(extension.get());
extension         823 chrome/browser/extensions/api/identity/identity_apitest.cc   scoped_refptr<const Extension> extension(CreateExtension(CLIENT_ID | SCOPES));
extension         825 chrome/browser/extensions/api/identity/identity_apitest.cc   func->set_extension(extension.get());
extension         858 chrome/browser/extensions/api/identity/identity_apitest.cc   scoped_refptr<const Extension> extension(CreateExtension(CLIENT_ID | SCOPES));
extension         860 chrome/browser/extensions/api/identity/identity_apitest.cc   func->set_extension(extension.get());
extension         894 chrome/browser/extensions/api/identity/identity_apitest.cc   scoped_refptr<const Extension> extension(CreateExtension(CLIENT_ID | SCOPES));
extension         896 chrome/browser/extensions/api/identity/identity_apitest.cc   func->set_extension(extension.get());
extension         927 chrome/browser/extensions/api/identity/identity_apitest.cc   scoped_refptr<const Extension> extension(CreateExtension(CLIENT_ID | SCOPES));
extension         929 chrome/browser/extensions/api/identity/identity_apitest.cc   func->set_extension(extension.get());
extension         943 chrome/browser/extensions/api/identity/identity_apitest.cc   scoped_refptr<const Extension> extension(CreateExtension(CLIENT_ID | SCOPES));
extension         945 chrome/browser/extensions/api/identity/identity_apitest.cc   func->set_extension(extension.get());
extension         969 chrome/browser/extensions/api/identity/identity_apitest.cc   scoped_refptr<const Extension> extension(CreateExtension(CLIENT_ID | SCOPES));
extension         971 chrome/browser/extensions/api/identity/identity_apitest.cc   func->set_extension(extension.get());
extension         992 chrome/browser/extensions/api/identity/identity_apitest.cc   scoped_refptr<const Extension> extension(CreateExtension(CLIENT_ID | SCOPES));
extension         994 chrome/browser/extensions/api/identity/identity_apitest.cc   func->set_extension(extension.get());
extension        1013 chrome/browser/extensions/api/identity/identity_apitest.cc   scoped_refptr<const Extension> extension(CreateExtension(CLIENT_ID | SCOPES));
extension        1015 chrome/browser/extensions/api/identity/identity_apitest.cc   func->set_extension(extension.get());
extension        1054 chrome/browser/extensions/api/identity/identity_apitest.cc   scoped_refptr<const Extension> extension(CreateExtension(CLIENT_ID | SCOPES));
extension        1055 chrome/browser/extensions/api/identity/identity_apitest.cc   func->set_extension(extension.get());
extension        1085 chrome/browser/extensions/api/identity/identity_apitest.cc   scoped_refptr<const Extension> extension(
extension        1087 chrome/browser/extensions/api/identity/identity_apitest.cc   func->set_extension(extension.get());
extension        1088 chrome/browser/extensions/api/identity/identity_apitest.cc   const OAuth2Info& oauth2_info = OAuth2Info::GetOAuth2Info(extension.get());
extension        1096 chrome/browser/extensions/api/identity/identity_apitest.cc   scoped_refptr<const Extension> extension(
extension        1098 chrome/browser/extensions/api/identity/identity_apitest.cc   func->set_extension(extension.get());
extension         113 chrome/browser/extensions/api/identity/web_auth_flow.cc       app_window->extension()->id() == extension_misc::kIdentityApiUiAppId) {
extension         128 chrome/browser/extensions/api/identity/web_auth_flow.cc       app_window->extension()->id() == extension_misc::kIdentityApiUiAppId) {
extension         410 chrome/browser/extensions/api/idle/idle_api_unittest.cc   ScopedListen listen_extension(idle_manager_, extension()->id());
extension         422 chrome/browser/extensions/api/idle/idle_api_unittest.cc               OnStateChanged(extension()->id(), IDLE_STATE_IDLE));
extension         440 chrome/browser/extensions/api/idle/idle_api_unittest.cc   ScopedListen listen_extension(idle_manager_, extension()->id());
extension         448 chrome/browser/extensions/api/idle/idle_api_unittest.cc               OnStateChanged(extension()->id(), IDLE_STATE_IDLE));
extension         455 chrome/browser/extensions/api/idle/idle_api_unittest.cc   ScopedListen listen_extension(idle_manager_, extension()->id());
extension         467 chrome/browser/extensions/api/idle/idle_api_unittest.cc               OnStateChanged(extension()->id(), IDLE_STATE_IDLE));
extension         474 chrome/browser/extensions/api/idle/idle_api_unittest.cc   ScopedListen listen_extension(idle_manager_, extension()->id());
extension         486 chrome/browser/extensions/api/idle/idle_api_unittest.cc               OnStateChanged(extension()->id(), IDLE_STATE_IDLE));
extension         493 chrome/browser/extensions/api/idle/idle_api_unittest.cc     ScopedListen listen(idle_manager_, extension()->id());
extension         503 chrome/browser/extensions/api/idle/idle_api_unittest.cc     ScopedListen listen(idle_manager_, extension()->id());
extension         506 chrome/browser/extensions/api/idle/idle_api_unittest.cc                 OnStateChanged(extension()->id(), IDLE_STATE_IDLE));
extension         512 chrome/browser/extensions/api/idle/idle_api_unittest.cc   UnloadedExtensionInfo details(extension(),
extension         520 chrome/browser/extensions/api/idle/idle_api_unittest.cc     ScopedListen listen(idle_manager_, extension()->id());
extension         526 chrome/browser/extensions/api/idle/idle_api_unittest.cc                 OnStateChanged(extension()->id(), IDLE_STATE_IDLE));
extension         533 chrome/browser/extensions/api/idle/idle_api_unittest.cc   UnloadedExtensionInfo details(extension(),
extension         544 chrome/browser/extensions/api/idle/idle_api_unittest.cc   ScopedListen listen(idle_manager_, extension()->id());
extension         545 chrome/browser/extensions/api/idle/idle_api_unittest.cc   UnloadedExtensionInfo details(extension(),
extension         153 chrome/browser/extensions/api/idle/idle_manager.cc     const Extension* extension =
extension         154 chrome/browser/extensions/api/idle/idle_manager.cc         content::Details<extensions::UnloadedExtensionInfo>(details)->extension;
extension         155 chrome/browser/extensions/api/idle/idle_manager.cc     monitors_.erase(extension->id());
extension         226 chrome/browser/extensions/api/image_writer_private/operation_manager.cc         content::Details<ExtensionHost>(details)->extension()->id());
extension         231 chrome/browser/extensions/api/image_writer_private/operation_manager.cc         content::Details<ExtensionHost>(details)->extension()->id());
extension         810 chrome/browser/extensions/api/input_ime/input_ime_api.cc     const Extension* extension =
extension         813 chrome/browser/extensions/api/input_ime/input_ime_api.cc         extensions::InputComponents::GetInputComponents(extension);
extension         821 chrome/browser/extensions/api/input_ime/input_ime_api.cc             profile_, extension->id(), *component);
extension         825 chrome/browser/extensions/api/input_ime/input_ime_api.cc     const Extension* extension =
extension         826 chrome/browser/extensions/api/input_ime/input_ime_api.cc         content::Details<const UnloadedExtensionInfo>(details)->extension;
extension         828 chrome/browser/extensions/api/input_ime/input_ime_api.cc         extensions::InputComponents::GetInputComponents(extension);
extension         832 chrome/browser/extensions/api/input_ime/input_ime_api.cc       input_ime_event_router()->UnregisterAllImes(profile_, extension->id());
extension         409 chrome/browser/extensions/api/location/location_manager.cc       const Extension* extension =
extension         412 chrome/browser/extensions/api/location/location_manager.cc       if (extension->HasAPIPermission(APIPermission::kLocation)) {
extension         422 chrome/browser/extensions/api/location/location_manager.cc       const Extension* extension =
extension         423 chrome/browser/extensions/api/location/location_manager.cc           content::Details<const UnloadedExtensionInfo>(details)->extension;
extension         424 chrome/browser/extensions/api/location/location_manager.cc       location_requests_.erase(extension->id());
extension         172 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc     const Extension* extension =
extension         173 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc         content::Details<const UnloadedExtensionInfo>(details)->extension;
extension         174 chrome/browser/extensions/api/log_private/log_private_api_chromeos.cc     StopNetInternalsWatch(extension->id());
extension          81 chrome/browser/extensions/api/management/management_api.cc std::vector<std::string> CreateWarningsList(const Extension* extension) {
extension          84 chrome/browser/extensions/api/management/management_api.cc       PermissionsData::GetPermissionMessages(extension);
extension          94 chrome/browser/extensions/api/management/management_api.cc     const Extension& extension,
extension          99 chrome/browser/extensions/api/management/management_api.cc   info->id = extension.id();
extension         100 chrome/browser/extensions/api/management/management_api.cc   info->name = extension.name();
extension         101 chrome/browser/extensions/api/management/management_api.cc   info->short_name = extension.short_name();
extension         103 chrome/browser/extensions/api/management/management_api.cc   info->offline_enabled = OfflineEnabledInfo::IsOfflineEnabled(&extension);
extension         104 chrome/browser/extensions/api/management/management_api.cc   info->version = extension.VersionString();
extension         105 chrome/browser/extensions/api/management/management_api.cc   info->description = extension.description();
extension         106 chrome/browser/extensions/api/management/management_api.cc   info->options_url = ManifestURL::GetOptionsPage(&extension).spec();
extension         108 chrome/browser/extensions/api/management/management_api.cc       ManifestURL::GetHomepageURL(&extension).spec()));
extension         110 chrome/browser/extensions/api/management/management_api.cc       UserMayModifySettings(&extension, NULL);
extension         111 chrome/browser/extensions/api/management/management_api.cc   info->is_app = extension.is_app();
extension         113 chrome/browser/extensions/api/management/management_api.cc     if (extension.is_legacy_packaged_app())
extension         115 chrome/browser/extensions/api/management/management_api.cc     else if (extension.is_hosted_app())
extension         119 chrome/browser/extensions/api/management/management_api.cc   } else if (extension.is_theme()) {
extension         129 chrome/browser/extensions/api/management/management_api.cc     if (prefs->DidExtensionEscalatePermissions(extension.id())) {
extension         138 chrome/browser/extensions/api/management/management_api.cc   if (!ManifestURL::GetUpdateURL(&extension).is_empty()) {
extension         140 chrome/browser/extensions/api/management/management_api.cc         ManifestURL::GetUpdateURL(&extension).spec()));
extension         143 chrome/browser/extensions/api/management/management_api.cc   if (extension.is_app()) {
extension         145 chrome/browser/extensions/api/management/management_api.cc         AppLaunchInfo::GetFullLaunchURL(&extension).spec()));
extension         149 chrome/browser/extensions/api/management/management_api.cc       IconsInfo::GetIcons(&extension).map();
extension         157 chrome/browser/extensions/api/management/management_api.cc           &extension, icon_info->size, ExtensionIconSet::MATCH_EXACTLY, false,
extension         165 chrome/browser/extensions/api/management/management_api.cc       extension.GetActivePermissions()->GetAPIsAsStrings();
extension         172 chrome/browser/extensions/api/management/management_api.cc   if (!extension.is_hosted_app()) {
extension         175 chrome/browser/extensions/api/management/management_api.cc         extension.GetActivePermissions()->explicit_hosts();
extension         184 chrome/browser/extensions/api/management/management_api.cc   switch (extension.location()) {
extension         218 chrome/browser/extensions/api/management/management_api.cc     const Extension& extension = *iter->get();
extension         220 chrome/browser/extensions/api/management/management_api.cc     if (extension.ShouldNotBeVisible())
extension         224 chrome/browser/extensions/api/management/management_api.cc         CreateExtensionInfo(extension, system).release()));
extension         256 chrome/browser/extensions/api/management/management_api.cc   const Extension* extension = service()->GetExtensionById(params->id, true);
extension         257 chrome/browser/extensions/api/management/management_api.cc   if (!extension) {
extension         264 chrome/browser/extensions/api/management/management_api.cc       CreateExtensionInfo(*extension, ExtensionSystem::Get(GetProfile()));
extension         275 chrome/browser/extensions/api/management/management_api.cc   const Extension* extension = service()->GetExtensionById(params->id, true);
extension         276 chrome/browser/extensions/api/management/management_api.cc   if (!extension) {
extension         282 chrome/browser/extensions/api/management/management_api.cc   std::vector<std::string> warnings = CreateWarningsList(extension);
extension         396 chrome/browser/extensions/api/management/management_api.cc   scoped_refptr<Extension> extension = Extension::Create(
extension         399 chrome/browser/extensions/api/management/management_api.cc   if (!extension.get()) {
extension         404 chrome/browser/extensions/api/management/management_api.cc   std::vector<std::string> warnings = CreateWarningsList(extension.get());
extension         426 chrome/browser/extensions/api/management/management_api.cc   const Extension* extension = service()->GetExtensionById(params->id, true);
extension         427 chrome/browser/extensions/api/management/management_api.cc   if (!extension) {
extension         432 chrome/browser/extensions/api/management/management_api.cc   if (!extension->is_app()) {
extension         442 chrome/browser/extensions/api/management/management_api.cc       GetLaunchContainer(ExtensionPrefs::Get(GetProfile()), extension);
extension         444 chrome/browser/extensions/api/management/management_api.cc       GetProfile(), extension, launch_container, NEW_FOREGROUND_TAB));
extension         448 chrome/browser/extensions/api/management/management_api.cc       extension->GetType());
extension         467 chrome/browser/extensions/api/management/management_api.cc   const Extension* extension = service()->GetInstalledExtension(extension_id_);
extension         468 chrome/browser/extensions/api/management/management_api.cc   if (!extension || extension->ShouldNotBeVisible()) {
extension         476 chrome/browser/extensions/api/management/management_api.cc   if (!policy->UserMayModifySettings(extension, NULL) ||
extension         477 chrome/browser/extensions/api/management/management_api.cc       (!params->enabled && policy->MustRemainEnabled(extension, NULL)) ||
extension         478 chrome/browser/extensions/api/management/management_api.cc       (params->enabled && policy->MustRemainDisabled(extension, NULL, NULL))) {
extension         496 chrome/browser/extensions/api/management/management_api.cc       install_prompt_->ConfirmReEnable(this, extension);
extension         673 chrome/browser/extensions/api/management/management_api.cc   const Extension* extension = NULL;
extension         681 chrome/browser/extensions/api/management/management_api.cc       extension =
extension         682 chrome/browser/extensions/api/management/management_api.cc           content::Details<const InstalledExtensionInfo>(details)->extension;
extension         686 chrome/browser/extensions/api/management/management_api.cc       extension = content::Details<const Extension>(details).ptr();
extension         690 chrome/browser/extensions/api/management/management_api.cc       extension = content::Details<const Extension>(details).ptr();
extension         694 chrome/browser/extensions/api/management/management_api.cc       extension =
extension         695 chrome/browser/extensions/api/management/management_api.cc           content::Details<const UnloadedExtensionInfo>(details)->extension;
extension         702 chrome/browser/extensions/api/management/management_api.cc   DCHECK(extension);
extension         704 chrome/browser/extensions/api/management/management_api.cc   if (extension->ShouldNotBeVisible())
extension         709 chrome/browser/extensions/api/management/management_api.cc     args->Append(new base::StringValue(extension->id()));
extension         712 chrome/browser/extensions/api/management/management_api.cc         *extension, ExtensionSystem::Get(profile));
extension         108 chrome/browser/extensions/api/management/management_api_browsertest.cc   const Extension* extension = InstallExtension(
extension         110 chrome/browser/extensions/api/management/management_api_browsertest.cc   ASSERT_TRUE(extension);
extension         112 chrome/browser/extensions/api/management/management_api_browsertest.cc   const std::string id = extension->id();
extension         153 chrome/browser/extensions/api/management/management_api_browsertest.cc   const Extension* extension = LoadExtension(
extension         155 chrome/browser/extensions/api/management/management_api_browsertest.cc   ASSERT_TRUE(extension);
extension         168 chrome/browser/extensions/api/management/management_api_browsertest.cc   ASSERT_TRUE(CrashEnabledExtension(extension->id()));
extension         285 chrome/browser/extensions/api/management/management_api_browsertest.cc   const Extension* extension = ExtensionSystem::Get(browser()->profile())
extension         287 chrome/browser/extensions/api/management/management_api_browsertest.cc   EXPECT_TRUE(extension);
extension          84 chrome/browser/extensions/api/management/management_apitest.cc     const Extension* extension = LoadExtension(path.AppendASCII(name));
extension          85 chrome/browser/extensions/api/management/management_apitest.cc     ASSERT_TRUE(extension);
extension          86 chrome/browser/extensions/api/management/management_apitest.cc     extension_ids_[name] = extension->id();
extension          92 chrome/browser/extensions/api/management/management_apitest.cc     const Extension* extension = InstallExtension(path.AppendASCII(name), 1,
extension          94 chrome/browser/extensions/api/management/management_apitest.cc     ASSERT_TRUE(extension);
extension          95 chrome/browser/extensions/api/management/management_apitest.cc     extension_ids_[name] = extension->id();
extension          47 chrome/browser/extensions/api/management/management_browsertest.cc   bool IsExtensionAtVersion(const Extension* extension,
extension          56 chrome/browser/extensions/api/management/management_browsertest.cc         manager->GetBackgroundHostForExtension(extension->id());
extension          69 chrome/browser/extensions/api/management/management_browsertest.cc         extension->VersionString() != expected_version)
extension          84 chrome/browser/extensions/api/management/management_browsertest.cc   const Extension* extension = InstallExtension(
extension          86 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_TRUE(extension);
extension          87 chrome/browser/extensions/api/management/management_browsertest.cc   base::FilePath old_path = extension->path();
extension          91 chrome/browser/extensions/api/management/management_browsertest.cc   extension = InstallExtension(
extension          93 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_TRUE(extension);
extension          94 chrome/browser/extensions/api/management/management_browsertest.cc   base::FilePath new_path = extension->path();
extension          96 chrome/browser/extensions/api/management/management_browsertest.cc   EXPECT_FALSE(IsExtensionAtVersion(extension, "1.0"));
extension         101 chrome/browser/extensions/api/management/management_browsertest.cc   const Extension* extension = InstallExtension(
extension         103 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_TRUE(extension);
extension         106 chrome/browser/extensions/api/management/management_browsertest.cc   EXPECT_TRUE(IsExtensionAtVersion(extension, "1.0"));
extension         110 chrome/browser/extensions/api/management/management_browsertest.cc   const Extension* extension = InstallExtension(
extension         112 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_TRUE(extension);
extension         117 chrome/browser/extensions/api/management/management_browsertest.cc   EXPECT_TRUE(IsExtensionAtVersion(extension, "1.0"));
extension         271 chrome/browser/extensions/api/management/management_browsertest.cc   const Extension* extension =
extension         273 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_TRUE(extension);
extension         276 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_EQ("ogjcoiohnmldgjemafoockdghcjciccf", extension->id());
extension         277 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_EQ("1.0", extension->VersionString());
extension         290 chrome/browser/extensions/api/management/management_browsertest.cc   extension = service->GetExtensionById(
extension         292 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_TRUE(extension);
extension         293 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_EQ("2.0", extension->VersionString());
extension         317 chrome/browser/extensions/api/management/management_browsertest.cc   extension = service->GetExtensionById(
extension         319 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_TRUE(extension);
extension         320 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_EQ("2.0", extension->VersionString());
extension         356 chrome/browser/extensions/api/management/management_browsertest.cc   const Extension* extension =
extension         358 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_TRUE(extension);
extension         360 chrome/browser/extensions/api/management/management_browsertest.cc   DisableExtension(extension->id());
extension         363 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_EQ("ogjcoiohnmldgjemafoockdghcjciccf", extension->id());
extension         364 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_EQ("1.0", extension->VersionString());
extension         378 chrome/browser/extensions/api/management/management_browsertest.cc   extension = service->GetExtensionById(
extension         380 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_TRUE(extension);
extension         383 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_EQ("2.0", extension->VersionString());
extension         388 chrome/browser/extensions/api/management/management_browsertest.cc   EnableExtension(extension->id());
extension         439 chrome/browser/extensions/api/management/management_browsertest.cc   const Extension* extension = service->GetExtensionById(kExtensionId, false);
extension         440 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_TRUE(extension);
extension         441 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_EQ("2.0", extension->VersionString());
extension         529 chrome/browser/extensions/api/management/management_browsertest.cc   const Extension* extension = service->GetExtensionById(kExtensionId, false);
extension         530 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_TRUE(extension);
extension         531 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_EQ("2.0", extension->VersionString());
extension         532 chrome/browser/extensions/api/management/management_browsertest.cc   EXPECT_EQ(Manifest::EXTERNAL_POLICY_DOWNLOAD, extension->location());
extension         594 chrome/browser/extensions/api/management/management_browsertest.cc   const Extension* extension = service->GetExtensionById(kExtensionId, false);
extension         595 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_TRUE(extension);
extension         596 chrome/browser/extensions/api/management/management_browsertest.cc   EXPECT_EQ(Manifest::INTERNAL, extension->location());
extension         609 chrome/browser/extensions/api/management/management_browsertest.cc   extension = service->GetExtensionById(kExtensionId, false);
extension         610 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_TRUE(extension);
extension         611 chrome/browser/extensions/api/management/management_browsertest.cc   EXPECT_EQ(Manifest::EXTERNAL_POLICY_DOWNLOAD, extension->location());
extension         620 chrome/browser/extensions/api/management/management_browsertest.cc   extension = service->GetExtensionById(kExtensionId, true);
extension         621 chrome/browser/extensions/api/management/management_browsertest.cc   EXPECT_FALSE(extension);
extension         626 chrome/browser/extensions/api/management/management_browsertest.cc   extension = service->GetExtensionById(kExtensionId, false);
extension         627 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_TRUE(extension);
extension         628 chrome/browser/extensions/api/management/management_browsertest.cc   EXPECT_EQ(Manifest::INTERNAL, extension->location());
extension         634 chrome/browser/extensions/api/management/management_browsertest.cc   extension = service->GetExtensionById(kExtensionId, true);
extension         635 chrome/browser/extensions/api/management/management_browsertest.cc   EXPECT_TRUE(extension);
extension         649 chrome/browser/extensions/api/management/management_browsertest.cc   extension = service->GetExtensionById(kExtensionId, false);
extension         650 chrome/browser/extensions/api/management/management_browsertest.cc   ASSERT_TRUE(extension);
extension         651 chrome/browser/extensions/api/management/management_browsertest.cc   EXPECT_EQ(Manifest::EXTERNAL_POLICY_DOWNLOAD, extension->location());
extension         126 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc     const Extension* extension,
extension         134 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc       extension, APIPermission::kMediaGalleries, &read_param);
extension         138 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc       extension, APIPermission::kMediaGalleries, &copy_to_param);
extension         142 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc       extension, APIPermission::kMediaGalleries, &delete_param);
extension         192 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc bool CheckScanPermission(const extensions::Extension* extension,
extension         194 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc   DCHECK(extension);
extension         199 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc       extension, APIPermission::kMediaGalleries, &scan_param);
extension         449 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc   const Extension* extension = GetExtension();
extension         451 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc       GetWebContents(render_view_host(), GetProfile(), extension->id());
extension         460 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc   new MediaGalleriesDialogController(contents, *extension, cb);
extension         711 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc     const extensions::Extension& extension,
extension         714 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc   return new MediaGalleriesScanResultDialogController(web_contents, extension,
extension         720 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc   const Extension* extension = GetExtension();
extension         724 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc           preferences, extension) == 0) {
extension         730 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc       GetWebContents(render_view_host(), GetProfile(), extension->id());
extension         738 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc   MakeDialog(contents, *extension, cb);
extension         225 chrome/browser/extensions/api/media_galleries/media_galleries_api.h       const extensions::Extension& extension,
extension          94 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc       const extensions::Extension& extension,
extension          98 chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc             web_contents, extension, on_finish);
extension         194 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc void GalleryWatchStateTracker::OnExtensionLoaded(const Extension* extension) {
extension         200 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc       extension->id(),
extension         204 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc                  extension->id()));
extension         208 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc     const Extension* extension) {
extension         210 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc   if (!ContainsKey(watched_extensions_map_, extension->id()))
extension         216 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc                  extension->id()));
extension         218 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc        watched_extensions_map_[extension->id()].begin();
extension         219 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc        iter != watched_extensions_map_[extension->id()].end(); ++iter) {
extension         262 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc   const Extension* extension = GetExtensionById(profile_, extension_id);
extension         263 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc   DCHECK(extension);
extension         265 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc       gallery_id, extension, false));
extension         291 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc   const Extension* extension = GetExtensionById(profile_, extension_id);
extension         292 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc   DCHECK(extension);
extension         294 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc       gallery_id, extension, true));
extension          93 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.h   virtual void OnExtensionLoaded(const Extension* extension) OVERRIDE;
extension          94 chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.h   virtual void OnExtensionUnloaded(const Extension* extension) OVERRIDE;
extension          59 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc                              const Extension* extension,
extension          68 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc       preferences->LookUpGalleryPathForExtension(pref_id, extension, false));
extension         392 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc     const Extension* extension = iter->get();
extension         394 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc         !util::IsIncognitoEnabled(extension->id(), GetProfile()))
extension         398 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_api.cc         MediaGalleriesHandler::GetHandlers(extension);
extension         118 chrome/browser/extensions/api/media_galleries_private/media_galleries_watch_apitest.cc     const extensions::Extension* extension =
extension         120 chrome/browser/extensions/api/media_galleries_private/media_galleries_watch_apitest.cc     if (!extension)
extension         123 chrome/browser/extensions/api/media_galleries_private/media_galleries_watch_apitest.cc         process_manager()->GetBackgroundHostForExtension(extension->id())->
extension          62 chrome/browser/extensions/api/messaging/extension_message_port.cc   if (host && BackgroundInfo::HasLazyBackgroundPage(host->extension()))
extension          63 chrome/browser/extensions/api/messaging/extension_message_port.cc     pm->IncrementLazyKeepaliveCount(host->extension());
extension          77 chrome/browser/extensions/api/messaging/extension_message_port.cc     pm->DecrementLazyKeepaliveCount(host->extension());
extension          59 chrome/browser/extensions/api/messaging/incognito_connectability.cc bool IncognitoConnectability::Query(const Extension* extension,
extension          66 chrome/browser/extensions/api/messaging/incognito_connectability.cc   if (IsInMap(extension, origin, allowed_origins_))
extension          68 chrome/browser/extensions/api/messaging/incognito_connectability.cc   if (IsInMap(extension, origin, disallowed_origins_))
extension          78 chrome/browser/extensions/api/messaging/incognito_connectability.cc       int template_id = extension->is_app() ?
extension          87 chrome/browser/extensions/api/messaging/incognito_connectability.cc                                      base::UTF8ToUTF16(extension->name())),
extension         102 chrome/browser/extensions/api/messaging/incognito_connectability.cc     disallowed_origins_[extension->id()].insert(origin);
extension         105 chrome/browser/extensions/api/messaging/incognito_connectability.cc   allowed_origins_[extension->id()].insert(origin);
extension         109 chrome/browser/extensions/api/messaging/incognito_connectability.cc bool IncognitoConnectability::IsInMap(const Extension* extension,
extension         113 chrome/browser/extensions/api/messaging/incognito_connectability.cc   ExtensionToOriginsMap::const_iterator it = map.find(extension->id());
extension          59 chrome/browser/extensions/api/messaging/incognito_connectability.h   bool Query(const Extension* extension,
extension          72 chrome/browser/extensions/api/messaging/incognito_connectability.h   bool IsInMap(const Extension* extension,
extension         362 chrome/browser/extensions/api/messaging/message_service.cc     const Extension* extension =
extension         364 chrome/browser/extensions/api/messaging/message_service.cc     has_permission = extension && extension->HasAPIPermission(
extension         659 chrome/browser/extensions/api/messaging/message_service.cc     const Extension* extension,
extension         661 chrome/browser/extensions/api/messaging/message_service.cc   if (!BackgroundInfo::HasLazyBackgroundPage(extension))
extension         667 chrome/browser/extensions/api/messaging/message_service.cc   if (!IncognitoInfo::IsSplitMode(extension))
extension         670 chrome/browser/extensions/api/messaging/message_service.cc   if (!lazy_background_task_queue_->ShouldEnqueueTask(context, extension))
extension         675 chrome/browser/extensions/api/messaging/message_service.cc           PendingLazyBackgroundPageChannel(context, extension->id());
extension         679 chrome/browser/extensions/api/messaging/message_service.cc       extension->id(),
extension         224 chrome/browser/extensions/api/messaging/message_service.h       const Extension* extension,
extension          43 chrome/browser/extensions/api/module/module.cc   const Extension* extension = GetExtension();
extension          45 chrome/browser/extensions/api/module/module.cc   if (ManifestURL::UpdatesFromGallery(extension)) {
extension          50 chrome/browser/extensions/api/module/module.cc       extension_id(), extension::kUpdateURLData, new base::StringValue(data));
extension          13 chrome/browser/extensions/api/module/module.h namespace extension {
extension          36 chrome/browser/extensions/api/notifications/notifications_apitest.cc     const extensions::Extension* extension = LoadExtension(extdir);
extension          37 chrome/browser/extensions/api/notifications/notifications_apitest.cc     if (extension) {
extension          40 chrome/browser/extensions/api/notifications/notifications_apitest.cc     return extension;
extension         469 chrome/browser/extensions/api/notifications/notifications_apitest.cc   const extensions::Extension* extension =
extension         471 chrome/browser/extensions/api/notifications/notifications_apitest.cc   ASSERT_TRUE(extension) << message_;
extension         476 chrome/browser/extensions/api/notifications/notifications_apitest.cc         extension->id() + "-FOO",
extension         484 chrome/browser/extensions/api/notifications/notifications_apitest.cc         extension->id() + "-BAR",
extension         798 chrome/browser/extensions/api/notifications/notifications_apitest.cc   const extensions::Extension* extension =
extension         800 chrome/browser/extensions/api/notifications/notifications_apitest.cc   ASSERT_TRUE(extension) << message_;
extension         808 chrome/browser/extensions/api/notifications/notifications_apitest.cc         extension->id());
extension         822 chrome/browser/extensions/api/notifications/notifications_apitest.cc         extension->id());
extension         139 chrome/browser/extensions/api/omnibox/omnibox_api.cc   const Extension* extension =
extension         142 chrome/browser/extensions/api/omnibox/omnibox_api.cc   CHECK(extension);
extension         144 chrome/browser/extensions/api/omnibox/omnibox_api.cc       active_tab_permission_granter()->GrantIfRequested(extension);
extension         224 chrome/browser/extensions/api/omnibox/omnibox_api.cc     const Extension* extension =
extension         226 chrome/browser/extensions/api/omnibox/omnibox_api.cc     const std::string& keyword = OmniboxInfo::GetKeyword(extension);
extension         229 chrome/browser/extensions/api/omnibox/omnibox_api.cc       omnibox_popup_icon_manager_.LoadIcon(profile_, extension);
extension         230 chrome/browser/extensions/api/omnibox/omnibox_api.cc       omnibox_icon_manager_.LoadIcon(profile_, extension);
extension         235 chrome/browser/extensions/api/omnibox/omnibox_api.cc           url_service_->RegisterOmniboxKeyword(extension->id(),
extension         236 chrome/browser/extensions/api/omnibox/omnibox_api.cc                                                extension->name(),
extension         239 chrome/browser/extensions/api/omnibox/omnibox_api.cc           pending_extensions_.insert(extension);
extension         244 chrome/browser/extensions/api/omnibox/omnibox_api.cc     const Extension* extension =
extension         245 chrome/browser/extensions/api/omnibox/omnibox_api.cc         content::Details<UnloadedExtensionInfo>(details)->extension;
extension         246 chrome/browser/extensions/api/omnibox/omnibox_api.cc     if (!OmniboxInfo::GetKeyword(extension).empty()) {
extension         249 chrome/browser/extensions/api/omnibox/omnibox_api.cc           url_service_->UnregisterOmniboxKeyword(extension->id());
extension         251 chrome/browser/extensions/api/omnibox/omnibox_api.cc           pending_extensions_.erase(extension);
extension          85 chrome/browser/extensions/api/permissions/permissions_api.cc   const Extension* extension = GetExtension();
extension         100 chrome/browser/extensions/api/permissions/permissions_api.cc       PermissionsData::GetRequiredPermissions(extension);
extension         109 chrome/browser/extensions/api/permissions/permissions_api.cc       .RemovePermissions(extension, permissions.get());
extension          61 chrome/browser/extensions/api/power/power_api_manager.cc           details)->extension->id());
extension         152 chrome/browser/extensions/api/power/power_api_unittest.cc                     extensions::Extension* extension) {
extension         159 chrome/browser/extensions/api/power/power_api_unittest.cc     function->set_extension(extension);
extension         165 chrome/browser/extensions/api/power/power_api_unittest.cc   void UnloadExtension(extensions::Extension* extension) {
extension         167 chrome/browser/extensions/api/power/power_api_unittest.cc         extension, UnloadedExtensionInfo::REASON_UNINSTALL);
extension          76 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc   void InstallExtensionControlledPref(Extension* extension,
extension          79 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc   void InstallExtensionControlledPrefIncognito(Extension* extension,
extension          83 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc       Extension* extension,
extension          86 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc   void InstallExtension(Extension* extension);
extension          94 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc   void EnsureExtensionInstalled(Extension* extension);
extension         125 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc     Extension* extension,
extension         128 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc   EnsureExtensionInstalled(extension);
extension         130 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc       extension->id(), key, kExtensionPrefsScopeRegular, value);
extension         134 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc     Extension* extension,
extension         137 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc   EnsureExtensionInstalled(extension);
extension         139 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc       extension->id(), key, kExtensionPrefsScopeIncognitoPersistent, value);
extension         143 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc InstallExtensionControlledPrefIncognitoSessionOnly(Extension* extension,
extension         146 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc   EnsureExtensionInstalled(extension);
extension         148 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc       extension->id(), key, kExtensionPrefsScopeIncognitoSessionOnly, value);
extension         151 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc void ExtensionControlledPrefsTest::InstallExtension(Extension* extension) {
extension         152 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc   EnsureExtensionInstalled(extension);
extension         161 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc     Extension* extension) {
extension         168 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc     if (extension == extensions[i] && !installed_[i]) {
extension         169 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc       prefs()->OnExtensionInstalled(extension,
extension         174 chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc       prefs()->SetIsIncognitoEnabled(extension->id(), true);
extension          88 chrome/browser/extensions/api/proxy/proxy_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension          89 chrome/browser/extensions/api/proxy/proxy_apitest.cc   ASSERT_TRUE(extension);
extension         105 chrome/browser/extensions/api/proxy/proxy_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         106 chrome/browser/extensions/api/proxy/proxy_apitest.cc   ASSERT_TRUE(extension);
extension         116 chrome/browser/extensions/api/proxy/proxy_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         117 chrome/browser/extensions/api/proxy/proxy_apitest.cc   ASSERT_TRUE(extension);
extension         143 chrome/browser/extensions/api/proxy/proxy_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         144 chrome/browser/extensions/api/proxy/proxy_apitest.cc   ASSERT_TRUE(extension);
extension         157 chrome/browser/extensions/api/proxy/proxy_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         158 chrome/browser/extensions/api/proxy/proxy_apitest.cc   ASSERT_TRUE(extension);
extension         171 chrome/browser/extensions/api/proxy/proxy_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         172 chrome/browser/extensions/api/proxy/proxy_apitest.cc   ASSERT_TRUE(extension);
extension         185 chrome/browser/extensions/api/proxy/proxy_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         186 chrome/browser/extensions/api/proxy/proxy_apitest.cc   ASSERT_TRUE(extension);
extension         196 chrome/browser/extensions/api/proxy/proxy_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         197 chrome/browser/extensions/api/proxy/proxy_apitest.cc   ASSERT_TRUE(extension);
extension         226 chrome/browser/extensions/api/proxy/proxy_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         227 chrome/browser/extensions/api/proxy/proxy_apitest.cc   ASSERT_TRUE(extension);
extension         250 chrome/browser/extensions/api/proxy/proxy_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         251 chrome/browser/extensions/api/proxy/proxy_apitest.cc   ASSERT_TRUE(extension);
extension         278 chrome/browser/extensions/api/proxy/proxy_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         279 chrome/browser/extensions/api/proxy/proxy_apitest.cc   ASSERT_TRUE(extension);
extension         288 chrome/browser/extensions/api/proxy/proxy_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         289 chrome/browser/extensions/api/proxy/proxy_apitest.cc   ASSERT_TRUE(extension);
extension         338 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc       const Extension* extension =
extension         339 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc           content::Details<const InstalledExtensionInfo>(details)->extension;
extension         340 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc       if (extension->HasAPIPermission(APIPermission::kPushMessaging)) {
extension         341 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc         handler_->SuppressInitialInvalidationsForExtension(extension->id());
extension         346 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc       const Extension* extension = content::Details<Extension>(details).ptr();
extension         347 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc       if (extension->HasAPIPermission(APIPermission::kPushMessaging)) {
extension         348 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc         handler_->RegisterExtension(extension->id());
extension         353 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc       const Extension* extension =
extension         354 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc           content::Details<UnloadedExtensionInfo>(details)->extension;
extension         355 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc       if (extension->HasAPIPermission(APIPermission::kPushMessaging)) {
extension         356 chrome/browser/extensions/api/push_messaging/push_messaging_api.cc         handler_->UnregisterExtension(extension->id());
extension         105 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc   const extensions::Extension* extension =
extension         107 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc   ASSERT_TRUE(extension);
extension         109 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc       browser(), extension->GetResourceURL("event_dispatch.html"));
extension         111 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc   GetEventRouter()->TriggerMessageForTest(extension->id(), 1, "payload");
extension         122 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc   const extensions::Extension* extension =
extension         124 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc   ASSERT_TRUE(extension);
extension         126 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc       browser(), extension->GetResourceURL("event_dispatch.html"));
extension         132 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc         ExtensionAndSubchannelToObjectId(extension->id(), i), i, std::string());
extension         136 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc       ExtensionAndSubchannelToObjectId(extension->id(), 1), 5, "payload");
extension         156 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc   const extensions::Extension* extension =
extension         158 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc   ASSERT_TRUE(extension);
extension         159 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc   EXPECT_EQ(extension->id(), extension_id1);
extension         160 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc   EXPECT_EQ(extension->id(), extension_id2);
extension         161 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc   EXPECT_CALL(*unsafe_mapper, UnregisterExtension(extension->id()));
extension         162 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc   UnloadExtension(extension->id());
extension         188 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc   const extensions::Extension* extension =
extension         190 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc   ASSERT_TRUE(extension);
extension         192 chrome/browser/extensions/api/push_messaging/push_messaging_apitest.cc       browser(), extension->GetResourceURL("get_channel_id.html"));
extension         140 chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc     const Extension* extension =
extension         142 chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc     ASSERT_TRUE(extension);
extension         149 chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc   const Extension* extension =
extension         151 chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc   ASSERT_TRUE(extension);
extension         153 chrome/browser/extensions/api/push_messaging/push_messaging_canary_test.cc       browser(), extension->GetResourceURL("push_messaging_canary.html"));
extension         101 chrome/browser/extensions/api/runtime/runtime_api.cc   const Extension* extension =
extension         104 chrome/browser/extensions/api/runtime/runtime_api.cc   if (extension && BackgroundInfo::HasPersistentBackgroundPage(extension) &&
extension         107 chrome/browser/extensions/api/runtime/runtime_api.cc           ShouldEnqueueTask(browser_context, extension)) {
extension         185 chrome/browser/extensions/api/runtime/runtime_api.cc       const Extension* extension =
extension         187 chrome/browser/extensions/api/runtime/runtime_api.cc       OnExtensionLoaded(extension);
extension         191 chrome/browser/extensions/api/runtime/runtime_api.cc       const Extension* extension =
extension         192 chrome/browser/extensions/api/runtime/runtime_api.cc           content::Details<const InstalledExtensionInfo>(details)->extension;
extension         193 chrome/browser/extensions/api/runtime/runtime_api.cc       OnExtensionInstalled(extension);
extension         197 chrome/browser/extensions/api/runtime/runtime_api.cc       const Extension* extension =
extension         199 chrome/browser/extensions/api/runtime/runtime_api.cc       OnExtensionUninstalled(extension);
extension         226 chrome/browser/extensions/api/runtime/runtime_api.cc void RuntimeAPI::OnExtensionLoaded(const Extension* extension) {
extension         235 chrome/browser/extensions/api/runtime/runtime_api.cc                  extension->id(),
extension         240 chrome/browser/extensions/api/runtime/runtime_api.cc void RuntimeAPI::OnExtensionInstalled(const Extension* extension) {
extension         243 chrome/browser/extensions/api/runtime/runtime_api.cc   if (extension->is_ephemeral())
extension         249 chrome/browser/extensions/api/runtime/runtime_api.cc   const Extension* old = service->GetExtensionById(extension->id(), true);
extension         259 chrome/browser/extensions/api/runtime/runtime_api.cc                  extension->id(),
extension         265 chrome/browser/extensions/api/runtime/runtime_api.cc void RuntimeAPI::OnExtensionUninstalled(const Extension* extension) {
extension         268 chrome/browser/extensions/api/runtime/runtime_api.cc   if (extension->is_ephemeral())
extension         272 chrome/browser/extensions/api/runtime/runtime_api.cc   RuntimeEventRouter::OnExtensionUninstalled(profile, extension->id());
extension         285 chrome/browser/extensions/api/runtime/runtime_api.cc void RuntimeAPI::OnAppUpdateAvailable(const Extension* extension) {
extension         288 chrome/browser/extensions/api/runtime/runtime_api.cc       profile, extension->id(), extension->manifest()->value());
extension         296 chrome/browser/extensions/api/runtime/runtime_api.cc void RuntimeAPI::OnBackgroundHostStartup(const Extension* extension) {
extension         297 chrome/browser/extensions/api/runtime/runtime_api.cc   RuntimeEventRouter::DispatchOnStartupEvent(browser_context_, extension->id());
extension          54 chrome/browser/extensions/api/runtime/runtime_api.h   void OnExtensionLoaded(const Extension* extension);
extension          55 chrome/browser/extensions/api/runtime/runtime_api.h   void OnExtensionInstalled(const Extension* extension);
extension          56 chrome/browser/extensions/api/runtime/runtime_api.h   void OnExtensionUninstalled(const Extension* extension);
extension          65 chrome/browser/extensions/api/runtime/runtime_api.h   virtual void OnAppUpdateAvailable(const Extension* extension) OVERRIDE;
extension          69 chrome/browser/extensions/api/runtime/runtime_api.h   virtual void OnBackgroundHostStartup(const Extension* extension) OVERRIDE;
extension          80 chrome/browser/extensions/api/sessions/sessions_api.cc     const Extension* extension) {
extension         102 chrome/browser/extensions/api/sessions/sessions_api.cc   ExtensionTabUtil::ScrubTabForExtension(extension, tab_struct.get());
extension         140 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc       const Extension* extension =
extension         143 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc           SettingsOverrides::Get(extension);
extension         146 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc             ExtensionPrefs::Get(profile_)->GetInstallParam(extension->id());
extension         148 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc           SetPref(extension->id(),
extension         152 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc           SetPref(extension->id(), prefs::kHomePageIsNewTabPage,
extension         156 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc           SetPref(extension->id(), prefs::kRestoreOnStartup,
extension         166 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc           SetPref(extension->id(), prefs::kURLsToRestoreOnStartup,
extension         170 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc           SetPref(extension->id(), prefs::kDefaultSearchProviderEnabled,
extension         174 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc             RegisterSearchProvider(extension);
extension         182 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc             pending_extensions_.insert(extension);
extension         189 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc       const Extension* extension =
extension         190 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc           content::Details<UnloadedExtensionInfo>(details)->extension;
extension         191 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc       const SettingsOverrides* settings = SettingsOverrides::Get(extension);
extension         194 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc           UnsetPref(extension->id(), prefs::kHomePage);
extension         195 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc           UnsetPref(extension->id(), prefs::kHomePageIsNewTabPage);
extension         198 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc           UnsetPref(extension->id(), prefs::kRestoreOnStartup);
extension         199 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc           UnsetPref(extension->id(), prefs::kURLsToRestoreOnStartup);
extension         202 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc           UnsetPref(extension->id(), prefs::kDefaultSearchProviderEnabled);
extension         205 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc             url_service_->RemoveExtensionControlledTURL(extension->id());
extension         207 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc             pending_extensions_.erase(extension);
extension         234 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc     const Extension* extension) const {
extension         236 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc   DCHECK(extension);
extension         237 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc   const SettingsOverrides* settings = SettingsOverrides::Get(extension);
extension         241 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc   info->extension_id = extension->id();
extension         244 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc   info->install_time = prefs->GetInstallTime(extension->id());
extension         245 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.cc   std::string install_parameter = prefs->GetInstallParam(extension->id());
extension          51 chrome/browser/extensions/api/settings_overrides/settings_overrides_api.h   void RegisterSearchProvider(const Extension* extension) const;
extension          71 chrome/browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc   const extensions::Extension* extension = LoadExtensionWithInstallParam(
extension          75 chrome/browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc   ASSERT_TRUE(extension);
extension         112 chrome/browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc   UnloadExtension(extension->id());
extension         120 chrome/browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc   const extensions::Extension* extension =
extension         123 chrome/browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc   ASSERT_TRUE(extension);
extension         124 chrome/browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc   ASSERT_EQ(1u, extension->install_warnings().size());
extension         128 chrome/browser/extensions/api/settings_overrides/settings_overrides_browsertest.cc             extension->install_warnings().front().message);
extension         169 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.cc   RemoveChangeObserverForExtension(reason->extension->id());
extension          87 chrome/browser/extensions/api/socket/socket_apitest.cc     const Extension* extension = LoadExtension(app_dir_);
extension          88 chrome/browser/extensions/api/socket/socket_apitest.cc     ASSERT_TRUE(extension);
extension          91 chrome/browser/extensions/api/socket/socket_apitest.cc                            extension,
extension         229 chrome/browser/extensions/api/socket/socket_apitest.cc   const Extension* extension =
extension         231 chrome/browser/extensions/api/socket/socket_apitest.cc   ASSERT_TRUE(extension);
extension         234 chrome/browser/extensions/api/socket/socket_apitest.cc   UnloadExtension(extension->id());
extension         103 chrome/browser/extensions/api/sockets_tcp_server/sockets_tcp_server_apitest.cc   const Extension* extension = LoadExtension(path);
extension         104 chrome/browser/extensions/api/sockets_tcp_server/sockets_tcp_server_apitest.cc   ASSERT_TRUE(extension);
extension         107 chrome/browser/extensions/api/sockets_tcp_server/sockets_tcp_server_apitest.cc   UnloadExtension(extension->id());
extension          24 chrome/browser/extensions/api/spellcheck/spellcheck_api.cc     const Extension* extension) {
extension          27 chrome/browser/extensions/api/spellcheck/spellcheck_api.cc           extension->GetManifestData(manifest_keys::kSpellcheck));
extension          70 chrome/browser/extensions/api/spellcheck/spellcheck_api.cc       const Extension* extension = content::Details<Extension>(details).ptr();
extension          72 chrome/browser/extensions/api/spellcheck/spellcheck_api.cc           GetSpellcheckDictionaryInfo(extension);
extension          85 chrome/browser/extensions/api/spellcheck/spellcheck_api.cc       const Extension* extension =
extension          86 chrome/browser/extensions/api/spellcheck/spellcheck_api.cc           content::Details<UnloadedExtensionInfo>(details)->extension;
extension          88 chrome/browser/extensions/api/spellcheck/spellcheck_api.cc           GetSpellcheckDictionaryInfo(extension);
extension          87 chrome/browser/extensions/api/storage/managed_value_store_cache.cc   bool UsesManagedStorage(const Extension* extension) const;
extension         137 chrome/browser/extensions/api/storage/managed_value_store_cache.cc           content::Details<InstalledExtensionInfo>(details)->extension);
extension         184 chrome/browser/extensions/api/storage/managed_value_store_cache.cc     const Extension* extension) const {
extension         185 chrome/browser/extensions/api/storage/managed_value_store_cache.cc   if (extension->manifest()->HasPath(manifest_keys::kStorageManagedSchema))
extension         189 chrome/browser/extensions/api/storage/managed_value_store_cache.cc   return extension->id() == kLegacyBrowserSupportExtensionId;
extension         274 chrome/browser/extensions/api/storage/managed_value_store_cache.cc     scoped_refptr<const Extension> extension) {
extension         276 chrome/browser/extensions/api/storage/managed_value_store_cache.cc   callback.Run(GetStoreFor(extension->id()));
extension          62 chrome/browser/extensions/api/storage/managed_value_store_cache.h       scoped_refptr<const Extension> extension) OVERRIDE;
extension         156 chrome/browser/extensions/api/storage/settings_apitest.cc     const Extension* extension = NULL;
extension         158 chrome/browser/extensions/api/storage/settings_apitest.cc       extension = LoadExtensionIncognito(
extension         160 chrome/browser/extensions/api/storage/settings_apitest.cc       EXPECT_TRUE(extension);
extension         170 chrome/browser/extensions/api/storage/settings_apitest.cc     return extension;
extension         329 chrome/browser/extensions/api/storage/settings_apitest.cc   const Extension* extension =
extension         332 chrome/browser/extensions/api/storage/settings_apitest.cc   const std::string& extension_id = extension->id();
extension         374 chrome/browser/extensions/api/storage/settings_apitest.cc   const Extension* extension =
extension         377 chrome/browser/extensions/api/storage/settings_apitest.cc   const std::string& extension_id = extension->id();
extension         445 chrome/browser/extensions/api/storage/settings_apitest.cc   const Extension* extension =
extension         447 chrome/browser/extensions/api/storage/settings_apitest.cc   ASSERT_TRUE(extension);
extension         533 chrome/browser/extensions/api/storage/settings_apitest.cc   const Extension* extension = LoadExtension(
extension         535 chrome/browser/extensions/api/storage/settings_apitest.cc   ASSERT_TRUE(extension);
extension         559 chrome/browser/extensions/api/storage/settings_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         560 chrome/browser/extensions/api/storage/settings_apitest.cc   ASSERT_TRUE(extension);
extension         561 chrome/browser/extensions/api/storage/settings_apitest.cc   EXPECT_EQ(kManagedStorageExtensionId, extension->id());
extension         226 chrome/browser/extensions/api/storage/settings_sync_unittest.cc     scoped_refptr<const Extension> extension =
extension         228 chrome/browser/extensions/api/storage/settings_sync_unittest.cc     return util::GetStorage(extension, frontend_.get());
extension          78 chrome/browser/extensions/api/storage/sync_value_store_cache.cc     scoped_refptr<const Extension> extension) {
extension          82 chrome/browser/extensions/api/storage/sync_value_store_cache.cc       extension->is_app() ? app_backend_.get() : extension_backend_.get();
extension          83 chrome/browser/extensions/api/storage/sync_value_store_cache.cc   callback.Run(backend->GetStorage(extension->id()));
extension          44 chrome/browser/extensions/api/storage/sync_value_store_cache.h       scoped_refptr<const Extension> extension) OVERRIDE;
extension         111 chrome/browser/extensions/api/streams_private/streams_private_api.cc     const Extension* extension =
extension         112 chrome/browser/extensions/api/streams_private/streams_private_api.cc         content::Details<const UnloadedExtensionInfo>(details)->extension;
extension         113 chrome/browser/extensions/api/streams_private/streams_private_api.cc     streams_.erase(extension->id());
extension         190 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc     const extensions::Extension* extension = LoadExtension(
extension         192 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc     if (!extension)
extension         195 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc     MimeTypesHandler* handler = MimeTypesHandler::GetHandler(extension);
extension         201 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc     DCHECK_EQ(test_extension_id_, extension->id());
extension         203 chrome/browser/extensions/api/streams_private/streams_private_apitest.cc     return extension;
extension          29 chrome/browser/extensions/api/streams_private/streams_private_manifest_unittest.cc   scoped_refptr<const Extension> extension =
extension          40 chrome/browser/extensions/api/streams_private/streams_private_manifest_unittest.cc   ASSERT_TRUE(extension.get());
extension          41 chrome/browser/extensions/api/streams_private/streams_private_manifest_unittest.cc   MimeTypesHandler* handler = MimeTypesHandler::GetHandler(extension.get());
extension          50 chrome/browser/extensions/api/streams_private/streams_private_manifest_unittest.cc   scoped_refptr<const Extension> extension =
extension          60 chrome/browser/extensions/api/streams_private/streams_private_manifest_unittest.cc   ASSERT_TRUE(extension.get());
extension          62 chrome/browser/extensions/api/streams_private/streams_private_manifest_unittest.cc   MimeTypesHandler* handler = MimeTypesHandler::GetHandler(extension.get());
extension          33 chrome/browser/extensions/api/system_indicator/system_indicator_apitest.cc     const extensions::Extension* extension = LoadExtension(extdir);
extension          34 chrome/browser/extensions/api/system_indicator/system_indicator_apitest.cc     if (extension)
extension          36 chrome/browser/extensions/api/system_indicator/system_indicator_apitest.cc     return extension;
extension          58 chrome/browser/extensions/api/system_indicator/system_indicator_apitest.cc     const extensions::Extension* extension =
extension          60 chrome/browser/extensions/api/system_indicator/system_indicator_apitest.cc     ASSERT_TRUE(extension) << message_;
extension          67 chrome/browser/extensions/api/system_indicator/system_indicator_apitest.cc     EXPECT_TRUE(manager->SendClickEventToExtensionForTest(extension->id()));
extension          35 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc   static ExtensionIndicatorIcon* Create(const Extension* extension,
extension          48 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc   ExtensionIndicatorIcon(const Extension* extension,
extension          61 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc     const Extension* extension,
extension          66 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc       new ExtensionIndicatorIcon(extension, action, profile, status_tray));
extension         102 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc ExtensionIndicatorIcon::ExtensionIndicatorIcon(const Extension* extension,
extension         106 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc     : extension_(extension),
extension         110 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc       icon_factory_(profile, extension, action, this) {
extension         149 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc           content::Details<UnloadedExtensionInfo>(details)->extension->id());
extension         169 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc     const Extension* extension =
extension         171 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc     CreateOrUpdateIndicator(extension, extension_action);
extension         191 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc     const Extension* extension,
extension         194 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc   SystemIndicatorMap::iterator it = system_indicators_.find(extension->id());
extension         201 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc       extension, extension_action, profile_, status_tray_);
extension         203 chrome/browser/extensions/api/system_indicator/system_indicator_manager.cc     system_indicators_[extension->id()] = make_linked_ptr(extension_icon);
extension          60 chrome/browser/extensions/api/system_indicator/system_indicator_manager.h       const Extension* extension,
extension          45 chrome/browser/extensions/api/system_storage/system_storage_eject_apitest.cc     const extensions::Extension* extension =
extension          48 chrome/browser/extensions/api/system_storage/system_storage_eject_apitest.cc         process_manager()->GetBackgroundHostForExtension(extension->id())->
extension          85 chrome/browser/extensions/api/tab_capture/tab_capture_api.cc   const Extension* extension = GetExtension();
extension          86 chrome/browser/extensions/api/tab_capture/tab_capture_api.cc   const std::string& extension_id = extension->id();
extension          93 chrome/browser/extensions/api/tab_capture/tab_capture_api.cc           extension, tab_id, APIPermission::kTabCaptureForTab) &&
extension         169 chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc   const extensions::Extension* extension =
extension         172 chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc       ->active_tab_permission_granter()->GrantIfRequested(extension);
extension         159 chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc               extension->id();
extension          44 chrome/browser/extensions/api/tabs/ash_panel_contents.cc       const extensions::Extension* extension) const OVERRIDE;
extension          46 chrome/browser/extensions/api/tabs/ash_panel_contents.cc       const extensions::Extension* extension, int tab_index) const OVERRIDE;
extension          51 chrome/browser/extensions/api/tabs/ash_panel_contents.cc       const extensions::Extension* extension) const OVERRIDE;
extension          81 chrome/browser/extensions/api/tabs/ash_panel_contents.cc     const extensions::Extension* extension) const {
extension          82 chrome/browser/extensions/api/tabs/ash_panel_contents.cc   DCHECK(IsVisibleToExtension(extension));
extension          84 chrome/browser/extensions/api/tabs/ash_panel_contents.cc   base::DictionaryValue* tab_value = CreateTabValue(extension, 0);
extension          94 chrome/browser/extensions/api/tabs/ash_panel_contents.cc     const extensions::Extension* extension, int tab_index) const {
extension          95 chrome/browser/extensions/api/tabs/ash_panel_contents.cc   if ((extension && !IsVisibleToExtension(extension)) ||
extension         142 chrome/browser/extensions/api/tabs/ash_panel_contents.cc     const extensions::Extension* extension) const {
extension         143 chrome/browser/extensions/api/tabs/ash_panel_contents.cc   return app_window_->extension() &&
extension         144 chrome/browser/extensions/api/tabs/ash_panel_contents.cc          extension->id() == app_window_->extension()->id();
extension          44 chrome/browser/extensions/api/tabs/tabs_event_router.cc     const Extension* extension,
extension          50 chrome/browser/extensions/api/tabs/tabs_event_router.cc                                               extension,
extension          55 chrome/browser/extensions/api/tabs/tabs_event_router.cc   event_args->Set(2, ExtensionTabUtil::CreateTabValue(contents, extension));
extension         182 chrome/browser/extensions/api/tabs/tabs_event_router.cc                                         const Extension* extension,
extension         185 chrome/browser/extensions/api/tabs/tabs_event_router.cc       contents, extension);
extension          39 chrome/browser/extensions/api/tabs/tabs_interactive_test.cc   scoped_refptr<extensions::Extension> extension(utils::CreateEmptyExtension());
extension          40 chrome/browser/extensions/api/tabs/tabs_interactive_test.cc   function->set_extension(extension.get());
extension          53 chrome/browser/extensions/api/tabs/tabs_interactive_test.cc   function->set_extension(extension.get());
extension          44 chrome/browser/extensions/api/tabs/tabs_test.cc   scoped_refptr<Extension> extension(utils::CreateEmptyExtension());
extension          45 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension          61 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension          77 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         103 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         118 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         128 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         146 chrome/browser/extensions/api/tabs/tabs_test.cc   scoped_refptr<Extension> extension(utils::CreateEmptyExtension());
extension         147 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         161 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         186 chrome/browser/extensions/api/tabs/tabs_test.cc   scoped_refptr<Extension> extension(utils::CreateEmptyExtension());
extension         187 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         209 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         259 chrome/browser/extensions/api/tabs/tabs_test.cc   scoped_refptr<Extension> extension(utils::CreateEmptyExtension());
extension         260 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         278 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         300 chrome/browser/extensions/api/tabs/tabs_test.cc   scoped_refptr<Extension> extension(utils::CreateEmptyExtension());
extension         301 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         318 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         341 chrome/browser/extensions/api/tabs/tabs_test.cc   scoped_refptr<Extension> extension(utils::CreateEmptyExtension());
extension         342 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         353 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         372 chrome/browser/extensions/api/tabs/tabs_test.cc   scoped_refptr<Extension> extension(utils::CreateEmptyExtension());
extension         373 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         382 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         468 chrome/browser/extensions/api/tabs/tabs_test.cc   scoped_refptr<Extension> extension(utils::CreateEmptyExtension());
extension         469 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         480 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         491 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         502 chrome/browser/extensions/api/tabs/tabs_test.cc   function->set_extension(extension.get());
extension         114 chrome/browser/extensions/api/tabs/windows_event_router.cc                                            const Extension* extension,
extension         121 chrome/browser/extensions/api/tabs/windows_event_router.cc       !util::CanCrossIncognito(extension, context)) {
extension          29 chrome/browser/extensions/api/terminal/terminal_extension_helper.cc     const extensions::Extension* extension = service->GetExtensionById(
extension          31 chrome/browser/extensions/api/terminal/terminal_extension_helper.cc     if (extension)
extension          32 chrome/browser/extensions/api/terminal/terminal_extension_helper.cc       return extension;
extension          43 chrome/browser/extensions/api/terminal/terminal_extension_helper.cc   const extensions::Extension* extension = GetTerminalExtension(profile);
extension          44 chrome/browser/extensions/api/terminal/terminal_extension_helper.cc   if (!extension)
extension          47 chrome/browser/extensions/api/terminal/terminal_extension_helper.cc   return extension->GetResourceURL(kCroshExtensionEntryPoint);
extension         419 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc   const extensions::Extension* extension =
extension         421 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc   GURL url = extension->GetResourceURL("a.html");
extension         430 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc   params.link_url = extension->GetResourceURL("b.html");
extension         453 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc   const extensions::Extension* extension =
extension         455 chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc   GURL url = extension->GetResourceURL("a.html");
extension        2187 chrome/browser/extensions/api/web_request/web_request_api.cc   const Extension* extension =
extension        2189 chrome/browser/extensions/api/web_request/web_request_api.cc   std::string extension_name = extension ? extension->name() : extension_id();
extension        2198 chrome/browser/extensions/api/web_request/web_request_api.cc        !extension->HasAPIPermission(
extension        2211 chrome/browser/extensions/api/web_request/web_request_api.cc           extension).is_empty()) {
extension        1290 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc     scoped_refptr<const extensions::Extension> extension) {
extension        1298 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc   if (runtime_data->HasUsedWebRequest(extension.get()))
extension        1300 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc   runtime_data->SetHasUsedWebRequest(extension.get(), true);
extension         327 chrome/browser/extensions/api/web_request/web_request_api_helpers.h     scoped_refptr<const extensions::Extension> extension);
extension         137 chrome/browser/extensions/api/web_request/web_request_apitest.cc   const extensions::Extension* extension =
extension         139 chrome/browser/extensions/api/web_request/web_request_apitest.cc   GURL url = extension->GetResourceURL("newTab/a.html");
extension         304 chrome/browser/extensions/api/web_request/web_request_apitest.cc   const extensions::Extension* extension = LoadExtensionWithFlags(
extension         307 chrome/browser/extensions/api/web_request/web_request_apitest.cc   ASSERT_TRUE(extension);
extension         318 chrome/browser/extensions/api/web_request/web_request_apitest.cc   ReloadExtension(extension->id());
extension         120 chrome/browser/extensions/api/web_request/web_request_permissions.cc   const extensions::Extension* extension =
extension         122 chrome/browser/extensions/api/web_request/web_request_permissions.cc   if (!extension)
extension         126 chrome/browser/extensions/api/web_request/web_request_permissions.cc   if (crosses_incognito && !extension_info_map->CanCrossIncognito(extension))
extension         136 chrome/browser/extensions/api/web_request/web_request_permissions.cc              extensions::PermissionsData::HasHostPermission(extension, url) ||
extension         137 chrome/browser/extensions/api/web_request/web_request_permissions.cc              url.GetOrigin() == extension->url()))) {
extension         142 chrome/browser/extensions/api/web_request/web_request_permissions.cc       if (!extensions::PermissionsData::HasEffectiveAccessToAllHosts(extension))
extension         362 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc   const extensions::Extension* extension = LoadExtension(
extension         367 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc   std::string result = ExecuteScriptInBackgroundPage(extension->id(),
extension         309 chrome/browser/extensions/app_background_page_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         312 chrome/browser/extensions/app_background_page_apitest.cc           GetAppBackgroundContents(ASCIIToUTF16(extension->id())));
extension         313 chrome/browser/extensions/app_background_page_apitest.cc   UnloadExtension(extension->id());
extension         357 chrome/browser/extensions/app_background_page_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         360 chrome/browser/extensions/app_background_page_apitest.cc           GetAppBackgroundContents(ASCIIToUTF16(extension->id())));
extension         366 chrome/browser/extensions/app_background_page_apitest.cc           GetAppBackgroundContents(ASCIIToUTF16(extension->id())));
extension         369 chrome/browser/extensions/app_background_page_apitest.cc   UnloadExtension(extension->id());
extension         403 chrome/browser/extensions/app_background_page_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         406 chrome/browser/extensions/app_background_page_apitest.cc           GetAppBackgroundContents(ASCIIToUTF16(extension->id())));
extension         409 chrome/browser/extensions/app_background_page_apitest.cc   UnloadExtension(extension->id());
extension         436 chrome/browser/extensions/app_background_page_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         438 chrome/browser/extensions/app_background_page_apitest.cc   UnloadExtension(extension->id());
extension         469 chrome/browser/extensions/app_background_page_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         472 chrome/browser/extensions/app_background_page_apitest.cc   UnloadExtension(extension->id());
extension         531 chrome/browser/extensions/app_background_page_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         534 chrome/browser/extensions/app_background_page_apitest.cc           GetAppBackgroundContents(ASCIIToUTF16(extension->id())));
extension         542 chrome/browser/extensions/app_background_page_apitest.cc           GetAppBackgroundContents(ASCIIToUTF16(extension->id())));
extension         549 chrome/browser/extensions/app_background_page_apitest.cc           GetAppBackgroundContents(ASCIIToUTF16(extension->id())));
extension         586 chrome/browser/extensions/app_background_page_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         589 chrome/browser/extensions/app_background_page_apitest.cc           GetAppBackgroundContents(ASCIIToUTF16(extension->id())));
extension         597 chrome/browser/extensions/app_background_page_apitest.cc   UnloadExtensionViaTask(extension->id());
extension         616 chrome/browser/extensions/app_background_page_apitest.cc   ImpulseCallbackCounter active_impulse_counter(manager, extension()->id());
extension         642 chrome/browser/extensions/app_background_page_apitest.cc   ImpulseCallbackCounter idle_impulse_counter(manager, extension()->id());
extension          54 chrome/browser/extensions/app_icon_loader_impl.cc   const extensions::Extension* extension = GetExtensionByID(profile_, id);
extension          55 chrome/browser/extensions/app_icon_loader_impl.cc   if (!extension)
extension          60 chrome/browser/extensions/app_icon_loader_impl.cc       extension,
extension          61 chrome/browser/extensions/app_icon_loader_impl.cc       extensions::IconsInfo::GetIcons(extension),
extension          80 chrome/browser/extensions/app_process_apitest.cc     const Extension* extension = GetSingleLoadedExtension();
extension         129 chrome/browser/extensions/app_process_apitest.cc     UnloadExtension(extension->id());
extension         306 chrome/browser/extensions/app_process_apitest.cc   scoped_refptr<const Extension> extension(extension_file_util::LoadExtension(
extension         311 chrome/browser/extensions/app_process_apitest.cc   service->OnExtensionInstalled(extension.get(),
extension         316 chrome/browser/extensions/app_process_apitest.cc   ASSERT_TRUE(extension.get());
extension         317 chrome/browser/extensions/app_process_apitest.cc   ASSERT_TRUE(extension->from_bookmark());
extension          48 chrome/browser/extensions/app_sync_bundle.cc     const Extension* extension)
extension          50 chrome/browser/extensions/app_sync_bundle.cc   AppSyncData sync_data = extension_sync_service_->GetAppSyncData(*extension);
extension         118 chrome/browser/extensions/app_sync_bundle.cc void AppSyncBundle::SyncChangeIfNeeded(const Extension& extension) {
extension         120 chrome/browser/extensions/app_sync_bundle.cc       extension);
extension         123 chrome/browser/extensions/app_sync_bundle.cc       HasExtensionId(extension.id()) ?
extension         126 chrome/browser/extensions/app_sync_bundle.cc   MarkPendingAppSynced(extension.id());
extension         146 chrome/browser/extensions/app_sync_bundle.cc     const Extension& extension = *it->get();
extension         150 chrome/browser/extensions/app_sync_bundle.cc     if (IsSyncing() && sync_helper::IsSyncableApp(&extension) &&
extension         151 chrome/browser/extensions/app_sync_bundle.cc         !HasPendingExtensionId(extension.id())) {
extension         153 chrome/browser/extensions/app_sync_bundle.cc           extension));
extension          47 chrome/browser/extensions/app_sync_bundle.h   syncer::SyncChange CreateSyncChangeToDelete(const Extension* extension) const;
extension          86 chrome/browser/extensions/app_sync_bundle.h   virtual void SyncChangeIfNeeded(const Extension& extension) OVERRIDE;
extension          26 chrome/browser/extensions/app_sync_data.cc AppSyncData::AppSyncData(const Extension& extension,
extension          32 chrome/browser/extensions/app_sync_data.cc     : extension_sync_data_(extension, enabled, incognito_enabled),
extension          78 chrome/browser/extensions/app_sync_data.cc   extension_sync_data_.PopulateFromExtensionSpecifics(specifics.extension());
extension          32 chrome/browser/extensions/app_sync_data.h   AppSyncData(const Extension& extension,
extension          21 chrome/browser/extensions/background_app_browsertest.cc       const extensions::Extension* extension) OVERRIDE {
extension          65 chrome/browser/extensions/background_app_browsertest.cc   const extensions::Extension* extension = LoadExtension(
extension          67 chrome/browser/extensions/background_app_browsertest.cc   ASSERT_FALSE(extension == NULL);
extension          73 chrome/browser/extensions/background_app_browsertest.cc   ReloadExtension(extension->id());
extension         269 chrome/browser/extensions/bookmark_app_helper.cc       const Extension* extension =
extension         271 chrome/browser/extensions/bookmark_app_helper.cc       DCHECK(extension);
extension         272 chrome/browser/extensions/bookmark_app_helper.cc       DCHECK_EQ(AppLaunchInfo::GetLaunchWebURL(extension),
extension         274 chrome/browser/extensions/bookmark_app_helper.cc       callback_.Run(extension, web_app_info_);
extension          93 chrome/browser/extensions/bookmark_app_helper_unittest.cc   void CreationComplete(const extensions::Extension* extension,
extension          95 chrome/browser/extensions/bookmark_app_helper_unittest.cc     extension_ = extension;
extension         130 chrome/browser/extensions/bookmark_app_helper_unittest.cc   EXPECT_TRUE(helper.extension());
extension         131 chrome/browser/extensions/bookmark_app_helper_unittest.cc   const Extension* extension =
extension         132 chrome/browser/extensions/bookmark_app_helper_unittest.cc       service_->GetInstalledExtension(helper.extension()->id());
extension         133 chrome/browser/extensions/bookmark_app_helper_unittest.cc   EXPECT_TRUE(extension);
extension         135 chrome/browser/extensions/bookmark_app_helper_unittest.cc   EXPECT_TRUE(extension->from_bookmark());
extension         136 chrome/browser/extensions/bookmark_app_helper_unittest.cc   EXPECT_EQ(kAppTitle, extension->name());
extension         137 chrome/browser/extensions/bookmark_app_helper_unittest.cc   EXPECT_EQ(kAppDescription, extension->description());
extension         138 chrome/browser/extensions/bookmark_app_helper_unittest.cc   EXPECT_EQ(GURL(kAppUrl), AppLaunchInfo::GetLaunchWebURL(extension));
extension         141 chrome/browser/extensions/bookmark_app_helper_unittest.cc           extension, kIconSizeSmall, ExtensionIconSet::MATCH_EXACTLY).empty());
extension         158 chrome/browser/extensions/bookmark_app_helper_unittest.cc     const Extension* extension = service_->extensions()->begin()->get();
extension         159 chrome/browser/extensions/bookmark_app_helper_unittest.cc     EXPECT_TRUE(extension->from_bookmark());
extension         160 chrome/browser/extensions/bookmark_app_helper_unittest.cc     EXPECT_EQ(kAppTitle, extension->name());
extension         161 chrome/browser/extensions/bookmark_app_helper_unittest.cc     EXPECT_EQ(kAppDescription, extension->description());
extension         162 chrome/browser/extensions/bookmark_app_helper_unittest.cc     EXPECT_EQ(GURL(kAppUrl), AppLaunchInfo::GetLaunchWebURL(extension));
extension         164 chrome/browser/extensions/bookmark_app_helper_unittest.cc                      extension, kIconSizeSmall, ExtensionIconSet::MATCH_EXACTLY)
extension         176 chrome/browser/extensions/bookmark_app_helper_unittest.cc     const Extension* extension = service_->extensions()->begin()->get();
extension         177 chrome/browser/extensions/bookmark_app_helper_unittest.cc     EXPECT_TRUE(extension->from_bookmark());
extension         178 chrome/browser/extensions/bookmark_app_helper_unittest.cc     EXPECT_EQ(kAlternativeAppTitle, extension->name());
extension         179 chrome/browser/extensions/bookmark_app_helper_unittest.cc     EXPECT_EQ(kAppDescription, extension->description());
extension         180 chrome/browser/extensions/bookmark_app_helper_unittest.cc     EXPECT_EQ(GURL(kAppUrl), AppLaunchInfo::GetLaunchWebURL(extension));
extension         182 chrome/browser/extensions/bookmark_app_helper_unittest.cc                     extension, kIconSizeSmall, ExtensionIconSet::MATCH_EXACTLY)
extension         185 chrome/browser/extensions/bookmark_app_helper_unittest.cc                      extension, kIconSizeLarge, ExtensionIconSet::MATCH_EXACTLY)
extension          12 chrome/browser/extensions/browser_action_apitest.cc   extension::ExtensionRegistry* registry =
extension          17 chrome/browser/extensions/browser_action_apitest.cc   const Extension* extension = LoadExtension(extension_path);
extension          18 chrome/browser/extensions/browser_action_apitest.cc   ASSERT_TRUE(extension);
extension          24 chrome/browser/extensions/browser_action_apitest.cc                extension->description().c_str());
extension          26 chrome/browser/extensions/browser_action_apitest.cc                extension->name().c_str());
extension          30 chrome/browser/extensions/browser_action_apitest.cc                extension->browser_action()->GetTitle(tab_id).c_str());
extension          51 chrome/browser/extensions/browser_extension_window_controller.cc     const extensions::Extension* extension) const {
extension          55 chrome/browser/extensions/browser_extension_window_controller.cc               extensions::ExtensionTabUtil::CreateTabList(browser_, extension));
extension          61 chrome/browser/extensions/browser_extension_window_controller.cc     const extensions::Extension* extension, int tab_index) const {
extension          90 chrome/browser/extensions/browser_extension_window_controller.cc     const extensions::Extension* extension) const {
extension          92 chrome/browser/extensions/browser_extension_window_controller.cc   return !extension->is_platform_app();
extension          26 chrome/browser/extensions/browser_extension_window_controller.h       const extensions::Extension* extension) const OVERRIDE;
extension          28 chrome/browser/extensions/browser_extension_window_controller.h       const extensions::Extension* extension, int tab_index) const OVERRIDE;
extension          34 chrome/browser/extensions/browser_extension_window_controller.h       const extensions::Extension* extension) const OVERRIDE;
extension          30 chrome/browser/extensions/browser_permissions_policy_delegate.cc     const Extension* extension,
extension          19 chrome/browser/extensions/browser_permissions_policy_delegate.h   virtual bool CanExecuteScriptOnPage(const Extension* extension,
extension          72 chrome/browser/extensions/browser_permissions_policy_delegate_unittest.cc   scoped_refptr<const Extension> extension(CreateTestExtension("a"));
extension          77 chrome/browser/extensions/browser_permissions_policy_delegate_unittest.cc   EXPECT_TRUE(PermissionsData::CanExecuteScriptOnPage(extension.get(),
extension          84 chrome/browser/extensions/browser_permissions_policy_delegate_unittest.cc   EXPECT_FALSE(PermissionsData::CanExecuteScriptOnPage(extension.get(),
extension          34 chrome/browser/extensions/browsertest_util_browsertest.cc   const Extension* extension = LoadExtension(ext_dir.unpacked_path());
extension          35 chrome/browser/extensions/browsertest_util_browsertest.cc   ASSERT_TRUE(extension);
extension          36 chrome/browser/extensions/browsertest_util_browsertest.cc   EXPECT_EQ(extension->id(),
extension          39 chrome/browser/extensions/browsertest_util_browsertest.cc                 extension->id(),
extension          46 chrome/browser/extensions/browsertest_util_browsertest.cc                 extension->id(),
extension          54 chrome/browser/extensions/browsertest_util_browsertest.cc                               extension->id(),
extension          58 chrome/browser/extensions/bundle_installer.cc bool IsAppPredicate(scoped_refptr<const Extension> extension) {
extension          59 chrome/browser/extensions/bundle_installer.cc   return extension->is_app();
extension          64 chrome/browser/extensions/bundle_installer.cc   bool operator()(scoped_refptr<const Extension> extension) {
extension          65 chrome/browser/extensions/bundle_installer.cc     return extension->id() == id;
extension         125 chrome/browser/extensions/chrome_app_api_browsertest.cc   const Extension* extension = LoadExtension(
extension         127 chrome/browser/extensions/chrome_app_api_browsertest.cc   ASSERT_TRUE(extension);
extension         166 chrome/browser/extensions/chrome_app_api_browsertest.cc   EXPECT_TRUE(app_details->Equals(extension->manifest()->value()));
extension         211 chrome/browser/extensions/chrome_app_api_browsertest.cc   const Extension* extension = LoadExtension(
extension         213 chrome/browser/extensions/chrome_app_api_browsertest.cc   ASSERT_TRUE(extension);
extension         245 chrome/browser/extensions/chrome_app_api_browsertest.cc   EXPECT_TRUE(app_details->Equals(extension->manifest()->value()));
extension         274 chrome/browser/extensions/chrome_app_api_browsertest.cc   const Extension* extension = LoadExtension(
extension         276 chrome/browser/extensions/chrome_app_api_browsertest.cc   ASSERT_TRUE(extension);
extension         290 chrome/browser/extensions/chrome_app_api_browsertest.cc       extension->id(), Extension::DISABLE_PERMISSIONS_INCREASE);
extension         297 chrome/browser/extensions/chrome_app_api_browsertest.cc   browser()->profile()->GetExtensionService()->EnableExtension(extension->id());
extension          28 chrome/browser/extensions/chrome_extension_function.cc   const extensions::Extension* extension = GetExtension();
extension          30 chrome/browser/extensions/chrome_extension_function.cc   if (extension != NULL && !window_controller->IsVisibleToExtension(extension))
extension          54 chrome/browser/extensions/chrome_extension_host_delegate.cc     const Extension* extension) {
extension          56 chrome/browser/extensions/chrome_extension_host_delegate.cc       web_contents, request, callback, extension);
extension          34 chrome/browser/extensions/chrome_extension_host_delegate.h       const Extension* extension) OVERRIDE;
extension         109 chrome/browser/extensions/chrome_extensions_browser_client.cc     const extensions::Extension* extension,
extension         112 chrome/browser/extensions/chrome_extensions_browser_client.cc       || util::CanCrossIncognito(extension, context);
extension          57 chrome/browser/extensions/chrome_extensions_browser_client.h       const extensions::Extension* extension,
extension         228 chrome/browser/extensions/component_loader.cc   scoped_refptr<const Extension> extension(Extension::Create(
extension         234 chrome/browser/extensions/component_loader.cc   if (!extension.get()) {
extension         239 chrome/browser/extensions/component_loader.cc   CHECK_EQ(info.extension_id, extension->id()) << extension->name();
extension         240 chrome/browser/extensions/component_loader.cc   extension_service_->AddComponentExtension(extension.get());
extension          39 chrome/browser/extensions/component_loader_unittest.cc   virtual void AddComponentExtension(const Extension* extension) OVERRIDE {
extension          40 chrome/browser/extensions/component_loader_unittest.cc     EXPECT_FALSE(extension_set_.Contains(extension->id()));
extension          42 chrome/browser/extensions/component_loader_unittest.cc     extension_set_.Insert(extension);
extension         132 chrome/browser/extensions/content_script_apitest.cc   const extensions::Extension* extension = LoadExtension(
extension         152 chrome/browser/extensions/content_script_apitest.cc       browser(), extension->GetResourceURL("fire_event.html"),
extension          40 chrome/browser/extensions/context_menu_matcher.cc   const Extension* extension = NULL;
extension          44 chrome/browser/extensions/context_menu_matcher.cc           extension_key, &extension, &can_cross_incognito, items))
extension          59 chrome/browser/extensions/context_menu_matcher.cc   if (extension->is_platform_app()) {
extension          68 chrome/browser/extensions/context_menu_matcher.cc       title = base::UTF8ToUTF16(extension->name());
extension         101 chrome/browser/extensions/context_menu_matcher.cc   const Extension* extension = NULL;
extension         105 chrome/browser/extensions/context_menu_matcher.cc       extension_key, &extension, &can_cross_incognito, items);
extension         112 chrome/browser/extensions/context_menu_matcher.cc     title = base::UTF8ToUTF16(extension->name());
extension         148 chrome/browser/extensions/context_menu_matcher.cc     const Extension** extension,
extension         153 chrome/browser/extensions/context_menu_matcher.cc   *extension = service->GetExtensionById(extension_key.extension_id, false);
extension         155 chrome/browser/extensions/context_menu_matcher.cc   if (!*extension)
extension         164 chrome/browser/extensions/context_menu_matcher.cc   *can_cross_incognito = util::CanCrossIncognito(*extension, profile_);
extension          60 chrome/browser/extensions/context_menu_matcher.h       const Extension** extension,
extension         177 chrome/browser/extensions/convert_user_script.cc   scoped_refptr<Extension> extension = Extension::Create(
extension         184 chrome/browser/extensions/convert_user_script.cc   if (!extension.get()) {
extension         190 chrome/browser/extensions/convert_user_script.cc   return extension;
extension          45 chrome/browser/extensions/convert_user_script_unittest.cc   scoped_refptr<Extension> extension(ConvertUserScriptToExtension(
extension          49 chrome/browser/extensions/convert_user_script_unittest.cc   ASSERT_TRUE(extension.get());
extension          54 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_TRUE(ext_dir.Set(extension->path()));
extension          57 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_EQ("My user script", extension->name());
extension          58 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_EQ("2.2.2", extension->VersionString());
extension          59 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_EQ("Does totally awesome stuff.", extension->description());
extension          61 chrome/browser/extensions/convert_user_script_unittest.cc             extension->public_key());
extension          62 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_EQ(Manifest::TYPE_USER_SCRIPT, extension->GetType());
extension          64 chrome/browser/extensions/convert_user_script_unittest.cc   ASSERT_EQ(1u, ContentScriptsInfo::GetContentScripts(extension.get()).size());
extension          66 chrome/browser/extensions/convert_user_script_unittest.cc       ContentScriptsInfo::GetContentScripts(extension.get())[0];
extension          83 chrome/browser/extensions/convert_user_script_unittest.cc       extension->path().Append(script.js_scripts()[0].relative_path())));
extension          85 chrome/browser/extensions/convert_user_script_unittest.cc       extension->path().Append(kManifestFilename)));
extension          98 chrome/browser/extensions/convert_user_script_unittest.cc   scoped_refptr<Extension> extension(ConvertUserScriptToExtension(
extension         102 chrome/browser/extensions/convert_user_script_unittest.cc   ASSERT_TRUE(extension.get());
extension         107 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_TRUE(ext_dir.Set(extension->path()));
extension         110 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_EQ("bar.user.js", extension->name());
extension         111 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_EQ("1.0", extension->VersionString());
extension         112 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_EQ("", extension->description());
extension         114 chrome/browser/extensions/convert_user_script_unittest.cc             extension->public_key());
extension         115 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_EQ(Manifest::TYPE_USER_SCRIPT, extension->GetType());
extension         117 chrome/browser/extensions/convert_user_script_unittest.cc   ASSERT_EQ(1u, ContentScriptsInfo::GetContentScripts(extension.get()).size());
extension         119 chrome/browser/extensions/convert_user_script_unittest.cc       ContentScriptsInfo::GetContentScripts(extension.get())[0];
extension         132 chrome/browser/extensions/convert_user_script_unittest.cc       extension->path().Append(script.js_scripts()[0].relative_path())));
extension         134 chrome/browser/extensions/convert_user_script_unittest.cc       extension->path().Append(kManifestFilename)));
extension         147 chrome/browser/extensions/convert_user_script_unittest.cc   scoped_refptr<Extension> extension(ConvertUserScriptToExtension(
extension         151 chrome/browser/extensions/convert_user_script_unittest.cc   ASSERT_FALSE(extension.get());
extension         165 chrome/browser/extensions/convert_user_script_unittest.cc   scoped_refptr<Extension> extension(ConvertUserScriptToExtension(
extension         169 chrome/browser/extensions/convert_user_script_unittest.cc   ASSERT_TRUE(extension.get());
extension         174 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_TRUE(ext_dir.Set(extension->path()));
extension         177 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_EQ("Document Start Test", extension->name());
extension         178 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_EQ("This script tests document-start", extension->description());
extension         180 chrome/browser/extensions/convert_user_script_unittest.cc             extension->public_key());
extension         181 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_EQ(Manifest::TYPE_USER_SCRIPT, extension->GetType());
extension         184 chrome/browser/extensions/convert_user_script_unittest.cc   ASSERT_EQ(1u, ContentScriptsInfo::GetContentScripts(extension.get()).size());
extension         186 chrome/browser/extensions/convert_user_script_unittest.cc       ContentScriptsInfo::GetContentScripts(extension.get())[0];
extension         200 chrome/browser/extensions/convert_user_script_unittest.cc   scoped_refptr<Extension> extension(ConvertUserScriptToExtension(
extension         204 chrome/browser/extensions/convert_user_script_unittest.cc   ASSERT_TRUE(extension.get());
extension         209 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_TRUE(ext_dir.Set(extension->path()));
extension         212 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_EQ("Document End Test", extension->name());
extension         213 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_EQ("This script tests document-end", extension->description());
extension         215 chrome/browser/extensions/convert_user_script_unittest.cc             extension->public_key());
extension         216 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_EQ(Manifest::TYPE_USER_SCRIPT, extension->GetType());
extension         219 chrome/browser/extensions/convert_user_script_unittest.cc   ASSERT_EQ(1u, ContentScriptsInfo::GetContentScripts(extension.get()).size());
extension         221 chrome/browser/extensions/convert_user_script_unittest.cc       ContentScriptsInfo::GetContentScripts(extension.get())[0];
extension         236 chrome/browser/extensions/convert_user_script_unittest.cc   scoped_refptr<Extension> extension(ConvertUserScriptToExtension(
extension         240 chrome/browser/extensions/convert_user_script_unittest.cc   ASSERT_TRUE(extension.get());
extension         245 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_TRUE(ext_dir.Set(extension->path()));
extension         248 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_EQ("Document Idle Test", extension->name());
extension         249 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_EQ("This script tests document-idle", extension->description());
extension         251 chrome/browser/extensions/convert_user_script_unittest.cc             extension->public_key());
extension         252 chrome/browser/extensions/convert_user_script_unittest.cc   EXPECT_EQ(Manifest::TYPE_USER_SCRIPT, extension->GetType());
extension         255 chrome/browser/extensions/convert_user_script_unittest.cc   ASSERT_EQ(1u, ContentScriptsInfo::GetContentScripts(extension.get()).size());
extension         257 chrome/browser/extensions/convert_user_script_unittest.cc       ContentScriptsInfo::GetContentScripts(extension.get())[0];
extension         160 chrome/browser/extensions/convert_web_app.cc   scoped_refptr<Extension> extension = Extension::Create(
extension         166 chrome/browser/extensions/convert_web_app.cc   if (!extension.get()) {
extension         172 chrome/browser/extensions/convert_web_app.cc   return extension;
extension          46 chrome/browser/extensions/convert_web_app_browsertest.cc       const Extension* extension =
extension          47 chrome/browser/extensions/convert_web_app_browsertest.cc           content::Details<const InstalledExtensionInfo>(details)->extension;
extension          48 chrome/browser/extensions/convert_web_app_browsertest.cc       if (extension->id() == expected_extension_id_) {
extension          49 chrome/browser/extensions/convert_web_app_browsertest.cc         installed_extension_ = extension;
extension         113 chrome/browser/extensions/convert_web_app_unittest.cc   scoped_refptr<Extension> extension = ConvertWebAppToExtension(
extension         116 chrome/browser/extensions/convert_web_app_unittest.cc   ASSERT_TRUE(extension.get());
extension         119 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_TRUE(extension_dir.Set(extension->path()));
extension         121 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_TRUE(extension->is_app());
extension         122 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_TRUE(extension->is_hosted_app());
extension         123 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_FALSE(extension->is_legacy_packaged_app());
extension         126 chrome/browser/extensions/convert_web_app_unittest.cc             extension->public_key());
extension         127 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_EQ("oplhagaaipaimkjlbekcdjkffijdockj", extension->id());
extension         128 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_EQ("1978.12.11.0", extension->version()->GetString());
extension         129 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_EQ(base::UTF16ToUTF8(web_app.title), extension->name());
extension         130 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_EQ(base::UTF16ToUTF8(web_app.description), extension->description());
extension         131 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_EQ(web_app.app_url, AppLaunchInfo::GetFullLaunchURL(extension.get()));
extension         132 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_EQ(0u, extension->GetActivePermissions()->apis().size());
extension         133 chrome/browser/extensions/convert_web_app_unittest.cc   ASSERT_EQ(0u, extension->web_extent().patterns().size());
extension         136 chrome/browser/extensions/convert_web_app_unittest.cc             IconsInfo::GetIcons(extension.get()).map().size());
extension         139 chrome/browser/extensions/convert_web_app_unittest.cc               IconsInfo::GetIcons(extension.get()).Get(
extension         142 chrome/browser/extensions/convert_web_app_unittest.cc         IconsInfo::GetIconResource(extension.get(),
extension         158 chrome/browser/extensions/convert_web_app_unittest.cc   scoped_refptr<Extension> extension = ConvertWebAppToExtension(
extension         161 chrome/browser/extensions/convert_web_app_unittest.cc   ASSERT_TRUE(extension.get());
extension         164 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_TRUE(extension_dir.Set(extension->path()));
extension         166 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_TRUE(extension->is_app());
extension         167 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_TRUE(extension->is_hosted_app());
extension         168 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_FALSE(extension->is_legacy_packaged_app());
extension         171 chrome/browser/extensions/convert_web_app_unittest.cc             extension->public_key());
extension         172 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_EQ("oplhagaaipaimkjlbekcdjkffijdockj", extension->id());
extension         173 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_EQ("1978.12.11.0", extension->version()->GetString());
extension         174 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_EQ(base::UTF16ToUTF8(web_app.title), extension->name());
extension         175 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_EQ("", extension->description());
extension         176 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_EQ(web_app.app_url, AppLaunchInfo::GetFullLaunchURL(extension.get()));
extension         177 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_EQ(0u, IconsInfo::GetIcons(extension.get()).map().size());
extension         178 chrome/browser/extensions/convert_web_app_unittest.cc   EXPECT_EQ(0u, extension->GetActivePermissions()->apis().size());
extension         179 chrome/browser/extensions/convert_web_app_unittest.cc   ASSERT_EQ(0u, extension->web_extent().patterns().size());
extension         215 chrome/browser/extensions/crx_installer.cc   scoped_refptr<Extension> extension = ConvertUserScriptToExtension(
extension         217 chrome/browser/extensions/crx_installer.cc   if (!extension.get()) {
extension         222 chrome/browser/extensions/crx_installer.cc   OnUnpackSuccess(extension->path(), extension->path(), NULL, extension.get(),
extension         240 chrome/browser/extensions/crx_installer.cc   scoped_refptr<Extension> extension(
extension         242 chrome/browser/extensions/crx_installer.cc   if (!extension.get()) {
extension         250 chrome/browser/extensions/crx_installer.cc   OnUnpackSuccess(extension->path(), extension->path(), NULL, extension.get(),
extension         254 chrome/browser/extensions/crx_installer.cc CrxInstallerError CrxInstaller::AllowInstall(const Extension* extension) {
extension         260 chrome/browser/extensions/crx_installer.cc       expected_id_ != extension->id()) {
extension         264 chrome/browser/extensions/crx_installer.cc                                    base::ASCIIToUTF16(extension->id())));
extension         269 chrome/browser/extensions/crx_installer.cc       if (!expected_version_->Equals(*extension->version())) {
extension         274 chrome/browser/extensions/crx_installer.cc               base::ASCIIToUTF16(extension->version()->GetString())));
extension         277 chrome/browser/extensions/crx_installer.cc       if (extension->version()->CompareTo(*expected_version_) < 0) {
extension         282 chrome/browser/extensions/crx_installer.cc               base::ASCIIToUTF16(extension->version()->GetString())));
extension         294 chrome/browser/extensions/crx_installer.cc         if (SharedModuleInfo::IsSharedModule(extension) &&
extension         295 chrome/browser/extensions/crx_installer.cc             PermissionsData::GetActivePermissions(extension)->IsEmpty()) {
extension         314 chrome/browser/extensions/crx_installer.cc                         PermissionsData::GetActivePermissions(extension),
extension         315 chrome/browser/extensions/crx_installer.cc                         extension->GetType()));
extension         329 chrome/browser/extensions/crx_installer.cc   if (extension->is_theme() || Manifest::IsExternalLocation(install_source_))
extension         374 chrome/browser/extensions/crx_installer.cc   if (installer_.extension()->is_app()) {
extension         395 chrome/browser/extensions/crx_installer.cc       if (ManifestURL::UpdatesFromGallery(extension)) {
extension         409 chrome/browser/extensions/crx_installer.cc       URLPatternSet patterns = installer_.extension()->web_extent();
extension         441 chrome/browser/extensions/crx_installer.cc     const Extension* extension,
extension         453 chrome/browser/extensions/crx_installer.cc   installer_.set_extension(extension);
extension         467 chrome/browser/extensions/crx_installer.cc   CrxInstallerError error = AllowInstall(extension);
extension         485 chrome/browser/extensions/crx_installer.cc   if (SharedModuleInfo::ImportsModules(extension())) {
extension         487 chrome/browser/extensions/crx_installer.cc         SharedModuleInfo::GetImports(extension());
extension         523 chrome/browser/extensions/crx_installer.cc       extension()->id(),
extension         542 chrome/browser/extensions/crx_installer.cc                                    base::UTF8ToUTF16(extension()->name()))));
extension         544 chrome/browser/extensions/crx_installer.cc                               extension()->location(),
extension         561 chrome/browser/extensions/crx_installer.cc   if (KioskModeInfo::IsKioskOnly(installer_.extension())) {
extension         579 chrome/browser/extensions/crx_installer.cc     if (extension()->from_webstore() && client_)
extension         592 chrome/browser/extensions/crx_installer.cc           extension()->web_extent());
extension         594 chrome/browser/extensions/crx_installer.cc       overlapping_extension->id() != extension()->id()) {
extension         604 chrome/browser/extensions/crx_installer.cc                          ->GetVersionString(extension()->id());
extension         610 chrome/browser/extensions/crx_installer.cc     client_->ConfirmInstall(this, extension(), show_dialog_callback_);
extension         632 chrome/browser/extensions/crx_installer.cc     service->GrantPermissionsAndEnableExtension(extension());
extension         653 chrome/browser/extensions/crx_installer.cc         extension(), histogram_name.c_str());
extension         669 chrome/browser/extensions/crx_installer.cc     if (current_version.CompareTo(*(extension()->version())) > 0) {
extension         672 chrome/browser/extensions/crx_installer.cc               l10n_util::GetStringUTF16(extension()->is_app() ?
extension         688 chrome/browser/extensions/crx_installer.cc       extension()->id(),
extension         689 chrome/browser/extensions/crx_installer.cc       extension()->VersionString(),
extension         706 chrome/browser/extensions/crx_installer.cc   std::string extension_id = extension()->id();
extension         711 chrome/browser/extensions/crx_installer.cc       extension()->creation_flags() | Extension::REQUIRE_KEY,
extension         714 chrome/browser/extensions/crx_installer.cc   if (extension()) {
extension         785 chrome/browser/extensions/crx_installer.cc       client_->OnInstallSuccess(extension(), install_icon_.get());
extension         792 chrome/browser/extensions/crx_installer.cc       perms_updater.GrantActivePermissions(extension());
extension         796 chrome/browser/extensions/crx_installer.cc   service_weak_->OnExtensionInstalled(extension(),
extension         814 chrome/browser/extensions/crx_installer.cc           success ? extension() : NULL));
extension         853 chrome/browser/extensions/crx_installer.cc       service->GetInstalledExtension(extension()->id());
extension         874 chrome/browser/extensions/crx_installer.cc   if (!prefs->DidExtensionEscalatePermissions(extension()->id()))
extension         879 chrome/browser/extensions/crx_installer.cc     client_->ConfirmReEnable(this, extension());
extension         198 chrome/browser/extensions/crx_installer.h   const Extension* extension() { return installer_.extension().get(); }
extension         219 chrome/browser/extensions/crx_installer.h   CrxInstallerError AllowInstall(const Extension* extension);
extension         226 chrome/browser/extensions/crx_installer.h                                const Extension* extension,
extension          95 chrome/browser/extensions/crx_installer_browsertest.cc       const Extension* extension,
extension         100 chrome/browser/extensions/crx_installer_browsertest.cc   virtual void OnInstallSuccess(const Extension* extension,
extension         102 chrome/browser/extensions/crx_installer_browsertest.cc     proxy_->set_extension_id(extension->id());
extension         370 chrome/browser/extensions/crx_installer_browsertest.cc   const extensions::Extension* extension =
extension         372 chrome/browser/extensions/crx_installer_browsertest.cc   ASSERT_TRUE(extension);
extension         373 chrome/browser/extensions/crx_installer_browsertest.cc   EXPECT_EQ(extension_id, extension->id());
extension         398 chrome/browser/extensions/crx_installer_browsertest.cc   const extensions::Extension* extension =
extension         400 chrome/browser/extensions/crx_installer_browsertest.cc   ASSERT_TRUE(extension);
extension         401 chrome/browser/extensions/crx_installer_browsertest.cc   ASSERT_EQ(extension_id, extension->id());
extension         402 chrome/browser/extensions/crx_installer_browsertest.cc   ASSERT_EQ("1.0", extension->version()->GetString());
extension         422 chrome/browser/extensions/crx_installer_browsertest.cc   extension = service->GetExtensionById(extension_id, false);
extension         423 chrome/browser/extensions/crx_installer_browsertest.cc   ASSERT_EQ("1.0", extension->version()->GetString());
extension         438 chrome/browser/extensions/crx_installer_browsertest.cc   extension = service->GetExtensionById(extension_id, false);
extension         439 chrome/browser/extensions/crx_installer_browsertest.cc   ASSERT_EQ("3.0", extension->version()->GetString());
extension         445 chrome/browser/extensions/crx_installer_browsertest.cc   extension = service->GetExtensionById(extension_id, false);
extension         446 chrome/browser/extensions/crx_installer_browsertest.cc   ASSERT_EQ("3.0", extension->version()->GetString());
extension          82 chrome/browser/extensions/data_deleter.cc void DataDeleter::StartDeleting(Profile* profile, const Extension* extension) {
extension          84 chrome/browser/extensions/data_deleter.cc   DCHECK(extension);
extension          86 chrome/browser/extensions/data_deleter.cc   if (AppIsolationInfo::HasIsolatedStorage(extension)) {
extension          89 chrome/browser/extensions/data_deleter.cc         util::GetSiteForExtensionId(extension->id(), profile),
extension          95 chrome/browser/extensions/data_deleter.cc         AppLaunchInfo::GetLaunchWebURL(extension).GetOrigin());
extension          99 chrome/browser/extensions/data_deleter.cc         Extension::GetBaseURLFromExtensionId(extension->id()));
extension         101 chrome/browser/extensions/data_deleter.cc     if (extension->is_hosted_app() &&
extension         106 chrome/browser/extensions/data_deleter.cc     DeleteOrigin(profile, partition, extension->url());
extension         114 chrome/browser/extensions/data_deleter.cc     frontend->DeleteStorageSoon(extension->id());
extension          49 chrome/browser/extensions/dev_mode_bubble_controller.cc   const Extension* extension = service_->GetExtensionById(extension_id, false);
extension          50 chrome/browser/extensions/dev_mode_bubble_controller.cc   if (!extension)
extension          52 chrome/browser/extensions/dev_mode_bubble_controller.cc   return DevModeBubbleController::IsDevModeExtension(extension);
extension         130 chrome/browser/extensions/dev_mode_bubble_controller.cc     const Extension* extension) {
extension         136 chrome/browser/extensions/dev_mode_bubble_controller.cc   return extension->location() == Manifest::UNPACKED ||
extension         137 chrome/browser/extensions/dev_mode_bubble_controller.cc          extension->location() == Manifest::COMMAND_LINE;
extension          69 chrome/browser/extensions/dev_mode_bubble_controller.h   static bool IsDevModeExtension(const Extension* extension);
extension          28 chrome/browser/extensions/devtools_util.cc void InspectBackgroundPage(const Extension* extension, Profile* profile) {
extension          29 chrome/browser/extensions/devtools_util.cc   DCHECK(extension);
extension          32 chrome/browser/extensions/devtools_util.cc       system->process_manager()->GetBackgroundHostForExtension(extension->id());
extension          38 chrome/browser/extensions/devtools_util.cc         extension->id(),
extension          17 chrome/browser/extensions/devtools_util.h void InspectBackgroundPage(const Extension* extension, Profile* profile);
extension         213 chrome/browser/extensions/error_console/error_console.cc void ErrorConsole::OnExtensionUnloaded(const Extension* extension) {
extension         217 chrome/browser/extensions/error_console/error_console.cc void ErrorConsole::OnExtensionLoaded(const Extension* extension) {
extension         221 chrome/browser/extensions/error_console/error_console.cc void ErrorConsole::AddManifestErrorsForExtension(const Extension* extension) {
extension         223 chrome/browser/extensions/error_console/error_console.cc       extension->install_warnings();
extension         227 chrome/browser/extensions/error_console/error_console.cc         extension->id(),
extension         259 chrome/browser/extensions/error_console/error_console.cc       errors_.RemoveErrorsForExtensionOfType(info->extension->id(),
extension         262 chrome/browser/extensions/error_console/error_console.cc       AddManifestErrorsForExtension(info->extension);
extension         128 chrome/browser/extensions/error_console/error_console.h   virtual void OnExtensionUnloaded(const Extension* extension) OVERRIDE;
extension         129 chrome/browser/extensions/error_console/error_console.h   virtual void OnExtensionLoaded(const Extension* extension) OVERRIDE;
extension         132 chrome/browser/extensions/error_console/error_console.h   void AddManifestErrorsForExtension(const Extension* extension);
extension         240 chrome/browser/extensions/error_console/error_console_browsertest.cc       const Extension** extension) {
extension         242 chrome/browser/extensions/error_console/error_console_browsertest.cc     *extension =
extension         244 chrome/browser/extensions/error_console/error_console_browsertest.cc     ASSERT_TRUE(*extension);
extension         253 chrome/browser/extensions/error_console/error_console_browsertest.cc             *extension, browser(), NULL, true);
extension         275 chrome/browser/extensions/error_console/error_console_browsertest.cc         error_console()->GetErrorsForExtension((*extension)->id()).size());
extension         290 chrome/browser/extensions/error_console/error_console_browsertest.cc   const Extension* extension = NULL;
extension         297 chrome/browser/extensions/error_console/error_console_browsertest.cc                               &extension);
extension         300 chrome/browser/extensions/error_console/error_console_browsertest.cc       error_console()->GetErrorsForExtension(extension->id());
extension         323 chrome/browser/extensions/error_console/error_console_browsertest.cc                      extension->id(),
extension         331 chrome/browser/extensions/error_console/error_console_browsertest.cc                      extension->id(),
extension         345 chrome/browser/extensions/error_console/error_console_browsertest.cc   const Extension* extension = NULL;
extension         352 chrome/browser/extensions/error_console/error_console_browsertest.cc                               &extension);
extension         356 chrome/browser/extensions/error_console/error_console_browsertest.cc   EXPECT_EQ(2u, error_console()->GetErrorsForExtension(extension->id()).size());
extension         361 chrome/browser/extensions/error_console/error_console_browsertest.cc   EXPECT_EQ(0u, error_console()->GetErrorsForExtension(extension->id()).size());
extension         368 chrome/browser/extensions/error_console/error_console_browsertest.cc   const Extension* extension = NULL;
extension         374 chrome/browser/extensions/error_console/error_console_browsertest.cc       &extension);
extension         376 chrome/browser/extensions/error_console/error_console_browsertest.cc   std::string script_url = extension->url().Resolve("content_script.js").spec();
extension         379 chrome/browser/extensions/error_console/error_console_browsertest.cc       error_console()->GetErrorsForExtension(extension->id());
extension         383 chrome/browser/extensions/error_console/error_console_browsertest.cc                     extension->id(),
extension         406 chrome/browser/extensions/error_console/error_console_browsertest.cc                     extension->id(),
extension         426 chrome/browser/extensions/error_console/error_console_browsertest.cc   const Extension* extension = NULL;
extension         432 chrome/browser/extensions/error_console/error_console_browsertest.cc       &extension);
extension         434 chrome/browser/extensions/error_console/error_console_browsertest.cc   std::string script_url = extension->url().Resolve("browser_action.js").spec();
extension         437 chrome/browser/extensions/error_console/error_console_browsertest.cc       error_console()->GetErrorsForExtension(extension->id());
extension         448 chrome/browser/extensions/error_console/error_console_browsertest.cc       extension->id(),
extension         454 chrome/browser/extensions/error_console/error_console_browsertest.cc       extension->url().Resolve(kBackgroundPageName),
extension         477 chrome/browser/extensions/error_console/error_console_browsertest.cc   const Extension* extension = NULL;
extension         483 chrome/browser/extensions/error_console/error_console_browsertest.cc       &extension);
extension         486 chrome/browser/extensions/error_console/error_console_browsertest.cc       error_console()->GetErrorsForExtension(extension->id());
extension         493 chrome/browser/extensions/error_console/error_console_browsertest.cc       extension->id(),
extension         500 chrome/browser/extensions/error_console/error_console_browsertest.cc       extension->url().Resolve(kBackgroundPageName),
extension         513 chrome/browser/extensions/error_console/error_console_browsertest.cc   const Extension* extension = NULL;
extension         520 chrome/browser/extensions/error_console/error_console_browsertest.cc       &extension);
extension         522 chrome/browser/extensions/error_console/error_console_browsertest.cc   std::string script_url = extension->url().Resolve("background.js").spec();
extension         525 chrome/browser/extensions/error_console/error_console_browsertest.cc       error_console()->GetErrorsForExtension(extension->id());
extension         529 chrome/browser/extensions/error_console/error_console_browsertest.cc       extension->id(),
extension         534 chrome/browser/extensions/error_console/error_console_browsertest.cc       extension->url().Resolve(kBackgroundPageName),
extension         546 chrome/browser/extensions/error_console/error_console_browsertest.cc   const Extension* extension = NULL;
extension         552 chrome/browser/extensions/error_console/error_console_browsertest.cc       &extension);
extension          66 chrome/browser/extensions/event_router_forwarder_unittest.cc                                       const std::string& extension,
extension          70 chrome/browser/extensions/event_router_forwarder_unittest.cc   event_router->BroadcastEventToExtension(extension, event_name, args.Pass(),
extension          75 chrome/browser/extensions/event_router_forwarder_unittest.cc                                      const std::string& extension,
extension          82 chrome/browser/extensions/event_router_forwarder_unittest.cc       extension, event_name, args.Pass(), profile,
extension          29 chrome/browser/extensions/extension_action_icon_factory.cc     const Extension* extension,
extension          32 chrome/browser/extensions/extension_action_icon_factory.cc     : extension_(extension),
extension          35 chrome/browser/extensions/extension_action_icon_factory.h                              const extensions::Extension* extension,
extension         124 chrome/browser/extensions/extension_action_icon_factory_unittest.cc     scoped_refptr<Extension> extension =
extension         127 chrome/browser/extensions/extension_action_icon_factory_unittest.cc     EXPECT_TRUE(extension.get()) << error;
extension         128 chrome/browser/extensions/extension_action_icon_factory_unittest.cc     if (extension.get())
extension         129 chrome/browser/extensions/extension_action_icon_factory_unittest.cc       extension_service_->AddExtension(extension.get());
extension         130 chrome/browser/extensions/extension_action_icon_factory_unittest.cc     return extension;
extension         160 chrome/browser/extensions/extension_action_icon_factory_unittest.cc   ExtensionAction* GetBrowserAction(const Extension& extension) {
extension         161 chrome/browser/extensions/extension_action_icon_factory_unittest.cc     return ExtensionActionManager::Get(profile())->GetBrowserAction(extension);
extension         189 chrome/browser/extensions/extension_action_icon_factory_unittest.cc   scoped_refptr<Extension> extension(CreateExtension(
extension         191 chrome/browser/extensions/extension_action_icon_factory_unittest.cc   ASSERT_TRUE(extension.get() != NULL);
extension         192 chrome/browser/extensions/extension_action_icon_factory_unittest.cc   ExtensionAction* browser_action = GetBrowserAction(*extension.get());
extension         200 chrome/browser/extensions/extension_action_icon_factory_unittest.cc       profile(), extension.get(), browser_action, this);
extension         215 chrome/browser/extensions/extension_action_icon_factory_unittest.cc   scoped_refptr<Extension> extension(CreateExtension(
extension         217 chrome/browser/extensions/extension_action_icon_factory_unittest.cc   ASSERT_TRUE(extension.get() != NULL);
extension         218 chrome/browser/extensions/extension_action_icon_factory_unittest.cc   ExtensionAction* browser_action = GetBrowserAction(*extension.get());
extension         231 chrome/browser/extensions/extension_action_icon_factory_unittest.cc       profile(), extension.get(), browser_action, this);
extension         253 chrome/browser/extensions/extension_action_icon_factory_unittest.cc   scoped_refptr<Extension> extension(CreateExtension(
extension         255 chrome/browser/extensions/extension_action_icon_factory_unittest.cc   ASSERT_TRUE(extension.get() != NULL);
extension         256 chrome/browser/extensions/extension_action_icon_factory_unittest.cc   ExtensionAction* browser_action = GetBrowserAction(*extension.get());
extension         272 chrome/browser/extensions/extension_action_icon_factory_unittest.cc       profile(), extension.get(), browser_action, this);
extension          89 chrome/browser/extensions/extension_action_manager.cc       const Extension* extension =
extension          90 chrome/browser/extensions/extension_action_manager.cc           content::Details<UnloadedExtensionInfo>(details)->extension;
extension          91 chrome/browser/extensions/extension_action_manager.cc       page_actions_.erase(extension->id());
extension          92 chrome/browser/extensions/extension_action_manager.cc       browser_actions_.erase(extension->id());
extension          93 chrome/browser/extensions/extension_action_manager.cc       system_indicators_.erase(extension->id());
extension         135 chrome/browser/extensions/extension_action_manager.cc     const extensions::Extension& extension) const {
extension         136 chrome/browser/extensions/extension_action_manager.cc   return GetOrCreateOrNull(&page_actions_, extension.id(),
extension         138 chrome/browser/extensions/extension_action_manager.cc                            ActionInfo::GetPageActionInfo(&extension),
extension         143 chrome/browser/extensions/extension_action_manager.cc     const extensions::Extension& extension) const {
extension         144 chrome/browser/extensions/extension_action_manager.cc   return GetOrCreateOrNull(&browser_actions_, extension.id(),
extension         146 chrome/browser/extensions/extension_action_manager.cc                            ActionInfo::GetBrowserActionInfo(&extension),
extension         151 chrome/browser/extensions/extension_action_manager.cc     const extensions::Extension& extension) const {
extension         159 chrome/browser/extensions/extension_action_manager.cc   return GetOrCreateOrNull(&system_indicators_, extension.id(),
extension         161 chrome/browser/extensions/extension_action_manager.cc                            ActionInfo::GetSystemIndicatorInfo(&extension),
extension          38 chrome/browser/extensions/extension_action_manager.h   ExtensionAction* GetPageAction(const extensions::Extension& extension) const;
extension          40 chrome/browser/extensions/extension_action_manager.h       const extensions::Extension& extension) const;
extension          42 chrome/browser/extensions/extension_action_manager.h       const extensions::Extension& extension) const;
extension          34 chrome/browser/extensions/extension_api_unittest.cc     AddTab(browser(), BackgroundInfo::GetBackgroundURL(extension()));
extension          41 chrome/browser/extensions/extension_api_unittest.cc   function->set_extension(extension());
extension          79 chrome/browser/extensions/extension_api_unittest.cc   function->set_extension(extension());
extension          45 chrome/browser/extensions/extension_api_unittest.h   const Extension* extension() const { return extension_.get(); }
extension          47 chrome/browser/extensions/extension_api_unittest.h   void set_extension(scoped_refptr<Extension> extension) {
extension          48 chrome/browser/extensions/extension_api_unittest.h     extension_ = extension;
extension         332 chrome/browser/extensions/extension_apitest.cc   const extensions::Extension* extension = NULL;
extension         336 chrome/browser/extensions/extension_apitest.cc       extension = LoadExtensionAsComponent(extension_path);
extension         349 chrome/browser/extensions/extension_apitest.cc       extension = LoadExtensionWithFlags(extension_path, browser_test_flags);
extension         351 chrome/browser/extensions/extension_apitest.cc     if (!extension) {
extension         368 chrome/browser/extensions/extension_apitest.cc       url = extension->GetResourceURL(page_url);
extension         377 chrome/browser/extensions/extension_apitest.cc                            extension,
extension         397 chrome/browser/extensions/extension_apitest.cc   const extensions::Extension* extension = NULL;
extension         406 chrome/browser/extensions/extension_apitest.cc     if (extension != NULL) {
extension         414 chrome/browser/extensions/extension_apitest.cc     extension = it->get();
extension         417 chrome/browser/extensions/extension_apitest.cc   if (!extension) {
extension         421 chrome/browser/extensions/extension_apitest.cc   return extension;
extension          66 chrome/browser/extensions/extension_bindings_apitest.cc   const Extension* extension = LoadExtension(
extension          69 chrome/browser/extensions/extension_bindings_apitest.cc   ASSERT_TRUE(extension);
extension          70 chrome/browser/extensions/extension_bindings_apitest.cc   listener.Reply(extension->id());
extension         166 chrome/browser/extensions/extension_browsertest.cc   const Extension* extension = GetExtensionByPath(service->extensions(), path);
extension         167 chrome/browser/extensions/extension_browsertest.cc   if (!extension)
extension         172 chrome/browser/extensions/extension_browsertest.cc         extension->install_warnings();
extension         183 chrome/browser/extensions/extension_browsertest.cc       EXPECT_TRUE(extension->install_warnings().empty()) <<
extension         189 chrome/browser/extensions/extension_browsertest.cc   const std::string extension_id = extension->id();
extension         203 chrome/browser/extensions/extension_browsertest.cc       extension = service->GetExtensionById(extension_id, false);
extension         204 chrome/browser/extensions/extension_browsertest.cc       CHECK(extension) << extension_id << " not found after reloading.";
extension         221 chrome/browser/extensions/extension_browsertest.cc       extension = service->GetExtensionById(extension_id, false);
extension         222 chrome/browser/extensions/extension_browsertest.cc       CHECK(extension) << extension_id << " not found after reloading.";
extension         234 chrome/browser/extensions/extension_browsertest.cc       extension = service->GetExtensionById(extension_id, false);
extension         235 chrome/browser/extensions/extension_browsertest.cc       CHECK(extension) << extension_id << " not found after reloading.";
extension         242 chrome/browser/extensions/extension_browsertest.cc   return extension;
extension         257 chrome/browser/extensions/extension_browsertest.cc   const Extension* extension = service->extensions()->GetByID(extension_id);
extension         258 chrome/browser/extensions/extension_browsertest.cc   if (!extension)
extension         260 chrome/browser/extensions/extension_browsertest.cc   observer_->set_last_loaded_extension_id(extension->id());
extension         261 chrome/browser/extensions/extension_browsertest.cc   return extension;
extension         337 chrome/browser/extensions/extension_browsertest.cc       const Extension* extension,
extension         343 chrome/browser/extensions/extension_browsertest.cc   virtual void OnInstallSuccess(const Extension* extension,
extension         359 chrome/browser/extensions/extension_browsertest.cc       const Extension* extension,
extension          62 chrome/browser/extensions/extension_commands_global_registry.cc     const extensions::Extension* extension,
extension          73 chrome/browser/extensions/extension_commands_global_registry.cc           extension->id(),
extension          85 chrome/browser/extensions/extension_commands_global_registry.cc     VLOG(0) << "Adding global keybinding for " << extension->name().c_str()
extension          95 chrome/browser/extensions/extension_commands_global_registry.cc     AddEventTarget(accelerator, extension->id(), iter->second.command_name());
extension          60 chrome/browser/extensions/extension_commands_global_registry.h       const Extension* extension,
extension         393 chrome/browser/extensions/extension_context_menu_browsertest.cc   const extensions::Extension* extension = GetExtensionNamed("Separators Test");
extension         394 chrome/browser/extensions/extension_context_menu_browsertest.cc   ASSERT_TRUE(extension != NULL);
extension         401 chrome/browser/extensions/extension_context_menu_browsertest.cc                                GURL(extension->GetResourceURL("test1.html")));
extension         415 chrome/browser/extensions/extension_context_menu_browsertest.cc   EXPECT_EQ(base::UTF8ToUTF16(extension->name()), model->GetLabelAt(index));
extension         427 chrome/browser/extensions/extension_context_menu_browsertest.cc                                GURL(extension->GetResourceURL("test2.html")));
extension         562 chrome/browser/extensions/extension_context_menu_browsertest.cc   const extensions::Extension* extension = LoadContextMenuExtension(
extension         564 chrome/browser/extensions/extension_context_menu_browsertest.cc   ASSERT_TRUE(extension);
extension         578 chrome/browser/extensions/extension_context_menu_browsertest.cc   MenuItem::Id id(false, MenuItem::ExtensionKey(extension->id()));
extension          36 chrome/browser/extensions/extension_context_menu_model.cc ExtensionContextMenuModel::ExtensionContextMenuModel(const Extension* extension,
extension          40 chrome/browser/extensions/extension_context_menu_model.cc       extension_id_(extension->id()),
extension          44 chrome/browser/extensions/extension_context_menu_model.cc   InitMenu(extension);
extension          53 chrome/browser/extensions/extension_context_menu_model.cc ExtensionContextMenuModel::ExtensionContextMenuModel(const Extension* extension,
extension          56 chrome/browser/extensions/extension_context_menu_model.cc       extension_id_(extension->id()),
extension          60 chrome/browser/extensions/extension_context_menu_model.cc   InitMenu(extension);
extension          68 chrome/browser/extensions/extension_context_menu_model.cc   const Extension* extension = this->GetExtension();
extension          69 chrome/browser/extensions/extension_context_menu_model.cc   if (!extension)
extension          74 chrome/browser/extensions/extension_context_menu_model.cc         extensions::ManifestURL::GetOptionsPage(extension).spec().length() > 0;
extension          78 chrome/browser/extensions/extension_context_menu_model.cc     return extensions::ManifestURL::GetHomepageURL(extension).is_valid();
extension          90 chrome/browser/extensions/extension_context_menu_model.cc         profile_)->management_policy()->UserMayModifySettings(extension, NULL);
extension         102 chrome/browser/extensions/extension_context_menu_model.cc   const Extension* extension = GetExtension();
extension         103 chrome/browser/extensions/extension_context_menu_model.cc   if (!extension)
extension         108 chrome/browser/extensions/extension_context_menu_model.cc       OpenURLParams params(extensions::ManifestURL::GetHomepageURL(extension),
extension         115 chrome/browser/extensions/extension_context_menu_model.cc       DCHECK(!extensions::ManifestURL::GetOptionsPage(extension).is_empty());
extension         116 chrome/browser/extensions/extension_context_menu_model.cc       extensions::ExtensionTabUtil::OpenOptionsPage(extension, browser_);
extension         120 chrome/browser/extensions/extension_context_menu_model.cc           extensions::ExtensionPrefs::Get(profile_), extension->id(), false);
extension         127 chrome/browser/extensions/extension_context_menu_model.cc       extension_uninstall_dialog_->ConfirmUninstall(extension);
extension         131 chrome/browser/extensions/extension_context_menu_model.cc       chrome::ShowExtensions(browser_, extension->id());
extension         158 chrome/browser/extensions/extension_context_menu_model.cc void ExtensionContextMenuModel::InitMenu(const Extension* extension) {
extension         159 chrome/browser/extensions/extension_context_menu_model.cc   DCHECK(extension);
extension         163 chrome/browser/extensions/extension_context_menu_model.cc   extension_action_ = extension_action_manager->GetBrowserAction(*extension);
extension         165 chrome/browser/extensions/extension_context_menu_model.cc     extension_action_ = extension_action_manager->GetPageAction(*extension);
extension         167 chrome/browser/extensions/extension_context_menu_model.cc   std::string extension_name = extension->name();
extension         175 chrome/browser/extensions/extension_context_menu_model.cc   if (extension_action_manager->GetBrowserAction(*extension))
extension          53 chrome/browser/extensions/extension_context_menu_model.h   ExtensionContextMenuModel(const extensions::Extension* extension,
extension          59 chrome/browser/extensions/extension_context_menu_model.h   ExtensionContextMenuModel(const extensions::Extension* extension,
extension          78 chrome/browser/extensions/extension_context_menu_model.h   void InitMenu(const extensions::Extension* extension);
extension          30 chrome/browser/extensions/extension_context_menu_model_unittest.cc   scoped_refptr<Extension> extension = ExtensionBuilder()
extension          38 chrome/browser/extensions/extension_context_menu_model_unittest.cc   ASSERT_TRUE(extension.get());
extension          39 chrome/browser/extensions/extension_context_menu_model_unittest.cc   service_->AddExtension(extension.get());
extension          48 chrome/browser/extensions/extension_context_menu_model_unittest.cc       new ExtensionContextMenuModel(extension.get(), &browser, NULL));
extension          78 chrome/browser/extensions/extension_crash_recovery_browsertest.cc     const Extension* extension =
extension          80 chrome/browser/extensions/extension_crash_recovery_browsertest.cc     ASSERT_TRUE(extension);
extension          96 chrome/browser/extensions/extension_crash_recovery_browsertest.cc     const Extension* extension =
extension          98 chrome/browser/extensions/extension_crash_recovery_browsertest.cc     ASSERT_TRUE(extension);
extension         117 chrome/browser/extensions/extension_crash_recovery_browsertest.cc     const Extension* extension = LoadExtension(
extension         119 chrome/browser/extensions/extension_crash_recovery_browsertest.cc     ASSERT_TRUE(extension);
extension         120 chrome/browser/extensions/extension_crash_recovery_browsertest.cc     first_extension_id_ = extension->id();
extension         125 chrome/browser/extensions/extension_crash_recovery_browsertest.cc     const Extension* extension = LoadExtension(
extension         127 chrome/browser/extensions/extension_crash_recovery_browsertest.cc     ASSERT_TRUE(extension);
extension         128 chrome/browser/extensions/extension_crash_recovery_browsertest.cc     second_extension_id_ = extension->id();
extension         111 chrome/browser/extensions/extension_creator.cc   scoped_refptr<Extension> extension(
extension         118 chrome/browser/extensions/extension_creator.cc   return !!extension.get();
extension          88 chrome/browser/extensions/extension_disabled_ui.cc                                   const Extension* extension);
extension         109 chrome/browser/extensions/extension_disabled_ui.cc     const Extension* extension)
extension         112 chrome/browser/extensions/extension_disabled_ui.cc       extension_(extension) {
extension         143 chrome/browser/extensions/extension_disabled_ui.cc                                const Extension* extension,
extension         196 chrome/browser/extensions/extension_disabled_ui.cc     const Extension* extension,
extension         199 chrome/browser/extensions/extension_disabled_ui.cc       extension_(extension),
extension         321 chrome/browser/extensions/extension_disabled_ui.cc   const Extension* extension = content::Details<const Extension>(details).ptr();
extension         322 chrome/browser/extensions/extension_disabled_ui.cc   if (extension != extension_)
extension         343 chrome/browser/extensions/extension_disabled_ui.cc   const Extension* extension = service->GetInstalledExtension(extension_id);
extension         344 chrome/browser/extensions/extension_disabled_ui.cc   if (extension) {
extension         347 chrome/browser/extensions/extension_disabled_ui.cc               new ExtensionDisabledGlobalError(service.get(), extension, icon));
extension         352 chrome/browser/extensions/extension_disabled_ui.cc                                const Extension* extension) {
extension         355 chrome/browser/extensions/extension_disabled_ui.cc   if (extension->is_ephemeral())
extension         359 chrome/browser/extensions/extension_disabled_ui.cc       extension, kIconSize, ExtensionIconSet::MATCH_BIGGER);
extension         362 chrome/browser/extensions/extension_disabled_ui.cc       extension, image, size,
extension         364 chrome/browser/extensions/extension_disabled_ui.cc                  service->AsWeakPtr(), extension->id()));
extension         369 chrome/browser/extensions/extension_disabled_ui.cc                                  const Extension* extension) {
extension         373 chrome/browser/extensions/extension_disabled_ui.cc   new ExtensionDisabledDialogDelegate(service, install_ui.Pass(), extension);
extension          21 chrome/browser/extensions/extension_disabled_ui.h                                const Extension* extension);
extension          26 chrome/browser/extensions/extension_disabled_ui.h                                  const Extension* extension);
extension          73 chrome/browser/extensions/extension_disabled_ui_browsertest.cc     const Extension* extension = InstallExtension(path_v1_, 1);
extension          74 chrome/browser/extensions/extension_disabled_ui_browsertest.cc     if (!extension)
extension          78 chrome/browser/extensions/extension_disabled_ui_browsertest.cc     return extension;
extension          84 chrome/browser/extensions/extension_disabled_ui_browsertest.cc       const Extension* extension,
extension          88 chrome/browser/extensions/extension_disabled_ui_browsertest.cc     if (UpdateExtension(extension->id(), crx_path, expected_change))
extension         103 chrome/browser/extensions/extension_disabled_ui_browsertest.cc     const Extension* extension = InstallIncreasingPermissionExtensionV1();
extension         104 chrome/browser/extensions/extension_disabled_ui_browsertest.cc     extension = UpdateIncreasingPermissionExtension(extension, path_v2_, -1);
extension         105 chrome/browser/extensions/extension_disabled_ui_browsertest.cc     return extension;
extension         119 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   const Extension* extension = InstallAndUpdateIncreasingPermissionsExtension();
extension         120 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   ASSERT_TRUE(extension);
extension         124 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   service_->GrantPermissionsAndEnableExtension(extension);
extension         132 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   const Extension* extension = InstallAndUpdateIncreasingPermissionsExtension();
extension         133 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   ASSERT_TRUE(extension);
extension         137 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   UninstallExtension(extension->id());
extension         145 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   const Extension* extension = InstallIncreasingPermissionExtensionV1();
extension         146 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   DisableExtension(extension->id());
extension         147 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   extension = UpdateIncreasingPermissionExtension(extension, path_v2_, 0);
extension         155 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   const Extension* extension = InstallIncreasingPermissionExtensionV1();
extension         156 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   DisableExtension(extension->id());
extension         159 chrome/browser/extensions/extension_disabled_ui_browsertest.cc       ->ClearDisableReasons(extension->id());
extension         162 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   extension = UpdateIncreasingPermissionExtension(extension, path_v2_, 0);
extension         163 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   ASSERT_TRUE(extension);
extension         171 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   const Extension* extension = InstallAndUpdateIncreasingPermissionsExtension();
extension         174 chrome/browser/extensions/extension_disabled_ui_browsertest.cc       ->ClearDisableReasons(extension->id());
extension         185 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   extension = UpdateIncreasingPermissionExtension(extension, path_v3_, 0);
extension         186 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   ASSERT_TRUE(extension);
extension         195 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   const Extension* extension = InstallAndUpdateIncreasingPermissionsExtension();
extension         196 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   std::string extension_id = extension->id();
extension         200 chrome/browser/extensions/extension_disabled_ui_browsertest.cc       sync_service->GetExtensionSyncData(*extension);
extension         202 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   extension = NULL;
extension         228 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   extension = service_->GetExtensionById(extension_id, true);
extension         229 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   ASSERT_TRUE(extension);
extension         230 chrome/browser/extensions/extension_disabled_ui_browsertest.cc   EXPECT_EQ("2", extension->VersionString());
extension         141 chrome/browser/extensions/extension_function_test_utils.cc   scoped_refptr<Extension> extension(Extension::Create(
extension         149 chrome/browser/extensions/extension_function_test_utils.cc   return extension;
extension          49 chrome/browser/extensions/extension_functional_browsertest.cc     const Extension* extension = service->GetExtensionById(
extension          51 chrome/browser/extensions/extension_functional_browsertest.cc     EXPECT_TRUE(extension != NULL);
extension          32 chrome/browser/extensions/extension_gcm_app_handler.cc bool IsGCMPermissionEnabled(const Extension* extension) {
extension          33 chrome/browser/extensions/extension_gcm_app_handler.cc   return PermissionsData::HasAPIPermission(extension, APIPermission::kGcm);
extension          67 chrome/browser/extensions/extension_gcm_app_handler.cc   for (ExtensionSet::const_iterator extension = enabled_extensions.begin();
extension          68 chrome/browser/extensions/extension_gcm_app_handler.cc        extension != enabled_extensions.end();
extension          69 chrome/browser/extensions/extension_gcm_app_handler.cc        ++extension) {
extension          70 chrome/browser/extensions/extension_gcm_app_handler.cc     if (IsGCMPermissionEnabled(extension->get()))
extension          71 chrome/browser/extensions/extension_gcm_app_handler.cc       GetGCMProfileService()->RemoveAppHandler((*extension)->id());
extension         109 chrome/browser/extensions/extension_gcm_app_handler.cc       const Extension* extension = content::Details<Extension>(details).ptr();
extension         110 chrome/browser/extensions/extension_gcm_app_handler.cc       if (IsGCMPermissionEnabled(extension))
extension         111 chrome/browser/extensions/extension_gcm_app_handler.cc         GetGCMProfileService()->AddAppHandler(extension->id(), this);
extension         115 chrome/browser/extensions/extension_gcm_app_handler.cc       const Extension* extension =
extension         116 chrome/browser/extensions/extension_gcm_app_handler.cc           content::Details<UnloadedExtensionInfo>(details)->extension;
extension         117 chrome/browser/extensions/extension_gcm_app_handler.cc       if (IsGCMPermissionEnabled(extension))
extension         118 chrome/browser/extensions/extension_gcm_app_handler.cc         GetGCMProfileService()->RemoveAppHandler(extension->id());
extension         122 chrome/browser/extensions/extension_gcm_app_handler.cc       const Extension* extension = content::Details<Extension>(details).ptr();
extension         123 chrome/browser/extensions/extension_gcm_app_handler.cc       if (IsGCMPermissionEnabled(extension)) {
extension         125 chrome/browser/extensions/extension_gcm_app_handler.cc             extension->id(),
extension         128 chrome/browser/extensions/extension_gcm_app_handler.cc                        extension->id()));
extension         129 chrome/browser/extensions/extension_gcm_app_handler.cc         GetGCMProfileService()->RemoveAppHandler(extension->id());
extension         166 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc     scoped_refptr<Extension> extension = Extension::Create(
extension         172 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc     EXPECT_TRUE(extension.get()) << error;
extension         173 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc     EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kGcm));
extension         175 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc     return extension;
extension         178 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc   void LoadExtension(const Extension* extension) {
extension         179 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc     extension_service_->AddExtension(extension);
extension         182 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc   void DisableExtension(const Extension* extension) {
extension         184 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc         extension->id(), Extension::DISABLE_USER_ACTION);
extension         187 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc   void EnableExtension(const Extension* extension) {
extension         188 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc     extension_service_->EnableExtension(extension->id());
extension         191 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc   void UninstallExtension(const Extension* extension) {
extension         192 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc     extension_service_->UninstallExtension(extension->id(), false, NULL);
extension         260 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc   scoped_refptr<Extension> extension(CreateExtension());
extension         263 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc   LoadExtension(extension);
extension         265 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc   EXPECT_TRUE(HasAppHandlers(extension->id()));
extension         268 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc   DisableExtension(extension);
extension         270 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc   EXPECT_FALSE(HasAppHandlers(extension->id()));
extension         273 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc   EnableExtension(extension);
extension         275 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc   EXPECT_TRUE(HasAppHandlers(extension->id()));
extension         278 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc   UninstallExtension(extension);
extension         280 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc   EXPECT_FALSE(HasAppHandlers(extension->id()));
extension         284 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc   scoped_refptr<Extension> extension(CreateExtension());
extension         285 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc   LoadExtension(extension);
extension         293 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc   Register(extension->id(), sender_ids);
extension         298 chrome/browser/extensions/extension_gcm_app_handler_unittest.cc   UninstallExtension(extension);
extension          46 chrome/browser/extensions/extension_icon_image.cc     const extensions::Extension* extension,
extension          54 chrome/browser/extensions/extension_icon_image.cc   return extension->GetResource(path);
extension         132 chrome/browser/extensions/extension_icon_image.cc     const Extension* extension,
extension         138 chrome/browser/extensions/extension_icon_image.cc       extension_(extension),
extension         233 chrome/browser/extensions/extension_icon_image.cc   const Extension* extension = content::Details<const Extension>(details).ptr();
extension         235 chrome/browser/extensions/extension_icon_image.cc   if (extension_ == extension)
extension          67 chrome/browser/extensions/extension_icon_image.h             const Extension* extension,
extension          73 chrome/browser/extensions/extension_icon_image_unittest.cc   explicit TestImageLoader(const Extension* extension)
extension          74 chrome/browser/extensions/extension_icon_image_unittest.cc       : extension_(extension),
extension         191 chrome/browser/extensions/extension_icon_image_unittest.cc   SkBitmap GetTestBitmap(const Extension* extension,
extension         194 chrome/browser/extensions/extension_icon_image_unittest.cc     TestImageLoader image_loader(extension);
extension         217 chrome/browser/extensions/extension_icon_image_unittest.cc   scoped_refptr<Extension> extension(CreateExtension(
extension         219 chrome/browser/extensions/extension_icon_image_unittest.cc   ASSERT_TRUE(extension.get() != NULL);
extension         225 chrome/browser/extensions/extension_icon_image_unittest.cc   SkBitmap bitmap_16 = GetTestBitmap(extension.get(), "16.png", 16);
extension         231 chrome/browser/extensions/extension_icon_image_unittest.cc       GetTestBitmap(extension.get(), "48.png", 32);
extension         235 chrome/browser/extensions/extension_icon_image_unittest.cc                   extension.get(),
extension         236 chrome/browser/extensions/extension_icon_image_unittest.cc                   extensions::IconsInfo::GetIcons(extension.get()),
extension         291 chrome/browser/extensions/extension_icon_image_unittest.cc   scoped_refptr<Extension> extension(CreateExtension(
extension         293 chrome/browser/extensions/extension_icon_image_unittest.cc   ASSERT_TRUE(extension.get() != NULL);
extension         299 chrome/browser/extensions/extension_icon_image_unittest.cc   SkBitmap bitmap_48 = GetTestBitmap(extension.get(), "48.png", 48);
extension         303 chrome/browser/extensions/extension_icon_image_unittest.cc                   extension.get(),
extension         304 chrome/browser/extensions/extension_icon_image_unittest.cc                   extensions::IconsInfo::GetIcons(extension.get()),
extension         330 chrome/browser/extensions/extension_icon_image_unittest.cc   scoped_refptr<Extension> extension(CreateExtension(
extension         332 chrome/browser/extensions/extension_icon_image_unittest.cc   ASSERT_TRUE(extension.get() != NULL);
extension         338 chrome/browser/extensions/extension_icon_image_unittest.cc   SkBitmap bitmap_16 = GetTestBitmap(extension.get(), "16.png", 16);
extension         342 chrome/browser/extensions/extension_icon_image_unittest.cc                   extension.get(),
extension         343 chrome/browser/extensions/extension_icon_image_unittest.cc                   extensions::IconsInfo::GetIcons(extension.get()),
extension         367 chrome/browser/extensions/extension_icon_image_unittest.cc   scoped_refptr<Extension> extension(CreateExtension(
extension         369 chrome/browser/extensions/extension_icon_image_unittest.cc   ASSERT_TRUE(extension.get() != NULL);
extension         376 chrome/browser/extensions/extension_icon_image_unittest.cc                   extension.get(),
extension         406 chrome/browser/extensions/extension_icon_image_unittest.cc   scoped_refptr<Extension> extension(CreateExtension(
extension         408 chrome/browser/extensions/extension_icon_image_unittest.cc   ASSERT_TRUE(extension.get() != NULL);
extension         417 chrome/browser/extensions/extension_icon_image_unittest.cc                   extension.get(),
extension         445 chrome/browser/extensions/extension_icon_image_unittest.cc   scoped_refptr<Extension> extension(CreateExtension(
extension         447 chrome/browser/extensions/extension_icon_image_unittest.cc   ASSERT_TRUE(extension.get() != NULL);
extension         457 chrome/browser/extensions/extension_icon_image_unittest.cc                   extension.get(),
extension         483 chrome/browser/extensions/extension_icon_image_unittest.cc   scoped_refptr<Extension> extension(CreateExtension(
extension         485 chrome/browser/extensions/extension_icon_image_unittest.cc   ASSERT_TRUE(extension.get() != NULL);
extension         496 chrome/browser/extensions/extension_icon_image_unittest.cc                   extension.get(),
extension         527 chrome/browser/extensions/extension_icon_image_unittest.cc   scoped_refptr<Extension> extension(CreateExtension(
extension         529 chrome/browser/extensions/extension_icon_image_unittest.cc   ASSERT_TRUE(extension.get() != NULL);
extension         535 chrome/browser/extensions/extension_icon_image_unittest.cc   SkBitmap bitmap_16 = GetTestBitmap(extension.get(), "16.png", 16);
extension         540 chrome/browser/extensions/extension_icon_image_unittest.cc                     extension.get(),
extension         541 chrome/browser/extensions/extension_icon_image_unittest.cc                     extensions::IconsInfo::GetIcons(extension.get()),
extension         557 chrome/browser/extensions/extension_icon_image_unittest.cc   extension = NULL;
extension          56 chrome/browser/extensions/extension_icon_manager.cc                                     const extensions::Extension* extension) {
extension          59 chrome/browser/extensions/extension_icon_manager.cc           extension,
extension          65 chrome/browser/extensions/extension_icon_manager.cc     pending_icons_.insert(extension->id());
extension          67 chrome/browser/extensions/extension_icon_manager.cc     loader->LoadImageAsync(extension, icon_resource,
extension          72 chrome/browser/extensions/extension_icon_manager.cc                                extension->id()));
extension          36 chrome/browser/extensions/extension_icon_manager.h                 const extensions::Extension* extension);
extension         117 chrome/browser/extensions/extension_icon_manager_unittest.cc   scoped_refptr<Extension> extension(Extension::Create(
extension         120 chrome/browser/extensions/extension_icon_manager_unittest.cc   ASSERT_TRUE(extension.get());
extension         124 chrome/browser/extensions/extension_icon_manager_unittest.cc   icon_manager.LoadIcon(profile.get(), extension.get());
extension         126 chrome/browser/extensions/extension_icon_manager_unittest.cc   SkBitmap first_icon = icon_manager.GetIcon(extension->id());
extension         130 chrome/browser/extensions/extension_icon_manager_unittest.cc   icon_manager.RemoveIcon(extension->id());
extension         134 chrome/browser/extensions/extension_icon_manager_unittest.cc   icon_manager.LoadIcon(profile.get(), extension.get());
extension         136 chrome/browser/extensions/extension_icon_manager_unittest.cc   SkBitmap second_icon = icon_manager.GetIcon(extension->id());
extension         159 chrome/browser/extensions/extension_icon_manager_unittest.cc   scoped_refptr<Extension> extension(Extension::Create(
extension         162 chrome/browser/extensions/extension_icon_manager_unittest.cc   ASSERT_TRUE(extension.get());
extension         166 chrome/browser/extensions/extension_icon_manager_unittest.cc   icon_manager.LoadIcon(profile.get(), extension.get());
extension         168 chrome/browser/extensions/extension_icon_manager_unittest.cc   SkBitmap first_icon = icon_manager.GetIcon(extension->id());
extension         172 chrome/browser/extensions/extension_icon_manager_unittest.cc   icon_manager.RemoveIcon(extension->id());
extension         176 chrome/browser/extensions/extension_icon_manager_unittest.cc   icon_manager.LoadIcon(profile.get(), extension.get());
extension         178 chrome/browser/extensions/extension_icon_manager_unittest.cc   SkBitmap second_icon = icon_manager.GetIcon(extension->id());
extension          24 chrome/browser/extensions/extension_infobar_delegate.cc                                       const extensions::Extension* extension,
extension          30 chrome/browser/extensions/extension_infobar_delegate.cc               browser, extension, url, web_contents, height))));
extension          35 chrome/browser/extensions/extension_infobar_delegate.cc     const extensions::Extension* extension,
extension          43 chrome/browser/extensions/extension_infobar_delegate.cc       extension_(extension),
extension          75 chrome/browser/extensions/extension_infobar_delegate.cc   return extension_delegate->extension_view_host()->extension() ==
extension          76 chrome/browser/extensions/extension_infobar_delegate.cc          extension_view_host_->extension();
extension         103 chrome/browser/extensions/extension_infobar_delegate.cc         details)->extension)
extension          32 chrome/browser/extensions/extension_infobar_delegate.h                      const extensions::Extension* extension,
extension          36 chrome/browser/extensions/extension_infobar_delegate.h   const extensions::Extension* extension() { return extension_; }
extension          46 chrome/browser/extensions/extension_infobar_delegate.h                            const extensions::Extension* extension,
extension         584 chrome/browser/extensions/extension_install_prompt.cc     const Extension* extension,
extension         588 chrome/browser/extensions/extension_install_prompt.cc   extension_ = extension;
extension         589 chrome/browser/extensions/extension_install_prompt.cc   permissions_ = extension->GetActivePermissions();
extension         599 chrome/browser/extensions/extension_install_prompt.cc     const Extension* extension,
extension         604 chrome/browser/extensions/extension_install_prompt.cc   extension_ = extension;
extension         606 chrome/browser/extensions/extension_install_prompt.cc   ConfirmInstall(delegate, extension, show_dialog_callback);
extension         611 chrome/browser/extensions/extension_install_prompt.cc     const Extension* extension,
extension         614 chrome/browser/extensions/extension_install_prompt.cc   extension_ = extension;
extension         615 chrome/browser/extensions/extension_install_prompt.cc   permissions_ = extension->GetActivePermissions();
extension         627 chrome/browser/extensions/extension_install_prompt.cc   if (extension->is_theme()) {
extension         628 chrome/browser/extensions/extension_install_prompt.cc     if (extension->from_webstore() ||
extension         639 chrome/browser/extensions/extension_install_prompt.cc                                              const Extension* extension) {
extension         641 chrome/browser/extensions/extension_install_prompt.cc   extension_ = extension;
extension         642 chrome/browser/extensions/extension_install_prompt.cc   permissions_ = extension->GetActivePermissions();
extension         644 chrome/browser/extensions/extension_install_prompt.cc   prompt_.set_type(extension->is_ephemeral() ? LAUNCH_PROMPT :
extension         652 chrome/browser/extensions/extension_install_prompt.cc     const Extension* extension,
extension         656 chrome/browser/extensions/extension_install_prompt.cc   extension_ = extension;
extension         657 chrome/browser/extensions/extension_install_prompt.cc   permissions_ = extension->GetActivePermissions();
extension         667 chrome/browser/extensions/extension_install_prompt.cc     const Extension* extension,
extension         670 chrome/browser/extensions/extension_install_prompt.cc   extension_ = extension;
extension         680 chrome/browser/extensions/extension_install_prompt.cc     const Extension* extension,
extension         683 chrome/browser/extensions/extension_install_prompt.cc   extension_ = extension;
extension         695 chrome/browser/extensions/extension_install_prompt.cc     const Extension* extension,
extension         698 chrome/browser/extensions/extension_install_prompt.cc   extension_ = extension;
extension         699 chrome/browser/extensions/extension_install_prompt.cc   permissions_ = extension->GetActivePermissions();
extension         707 chrome/browser/extensions/extension_install_prompt.cc void ExtensionInstallPrompt::OnInstallSuccess(const Extension* extension,
extension         709 chrome/browser/extensions/extension_install_prompt.cc   extension_ = extension;
extension         712 chrome/browser/extensions/extension_install_prompt.cc   install_ui_->OnInstallSuccess(extension, &icon_);
extension         145 chrome/browser/extensions/extension_install_prompt.h     const extensions::Extension* extension() const { return extension_; }
extension         146 chrome/browser/extensions/extension_install_prompt.h     void set_extension(const extensions::Extension* extension) {
extension         147 chrome/browser/extensions/extension_install_prompt.h       extension_ = extension;
extension         297 chrome/browser/extensions/extension_install_prompt.h                                         const extensions::Extension* extension,
extension         308 chrome/browser/extensions/extension_install_prompt.h       const extensions::Extension* extension,
extension         318 chrome/browser/extensions/extension_install_prompt.h                               const extensions::Extension* extension,
extension         326 chrome/browser/extensions/extension_install_prompt.h                                const extensions::Extension* extension);
extension         334 chrome/browser/extensions/extension_install_prompt.h       const extensions::Extension* extension,
extension         343 chrome/browser/extensions/extension_install_prompt.h                                   const extensions::Extension* extension,
extension         351 chrome/browser/extensions/extension_install_prompt.h                                   const extensions::Extension* extension,
extension         360 chrome/browser/extensions/extension_install_prompt.h       const extensions::Extension* extension,
extension         364 chrome/browser/extensions/extension_install_prompt.h   virtual void OnInstallSuccess(const extensions::Extension* extension,
extension          32 chrome/browser/extensions/extension_install_ui.h   virtual void OnInstallSuccess(const extensions::Extension* extension,
extension          44 chrome/browser/extensions/extension_installer.h   void set_extension(const Extension* extension) {
extension          45 chrome/browser/extensions/extension_installer.h     extension_ = extension;
extension          48 chrome/browser/extensions/extension_installer.h   scoped_refptr<const Extension> extension() {
extension          38 chrome/browser/extensions/extension_keybinding_apitest.cc   bool IsGrantedForTab(const Extension* extension,
extension          41 chrome/browser/extensions/extension_keybinding_apitest.cc         extension,
extension          56 chrome/browser/extensions/extension_keybinding_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension          57 chrome/browser/extensions/extension_keybinding_apitest.cc   ASSERT_TRUE(extension) << message_;
extension          75 chrome/browser/extensions/extension_keybinding_apitest.cc   EXPECT_FALSE(IsGrantedForTab(extension, tab));
extension          82 chrome/browser/extensions/extension_keybinding_apitest.cc   EXPECT_TRUE(IsGrantedForTab(extension, tab));
extension         117 chrome/browser/extensions/extension_keybinding_apitest.cc   const Extension* extension = GetSingleLoadedExtension();
extension         118 chrome/browser/extensions/extension_keybinding_apitest.cc   ASSERT_TRUE(extension) << message_;
extension         135 chrome/browser/extensions/extension_keybinding_apitest.cc       GetPageAction(*extension);
extension          46 chrome/browser/extensions/extension_keybinding_registry.cc     const Extension* extension,
extension          53 chrome/browser/extensions/extension_keybinding_registry.cc       if (target->first == extension->id() &&
extension         103 chrome/browser/extensions/extension_keybinding_registry.cc   const Extension* extension = service->extensions()->GetByID(extension_id);
extension         104 chrome/browser/extensions/extension_keybinding_registry.cc   if (!extension)
extension         114 chrome/browser/extensions/extension_keybinding_registry.cc     granter->GrantIfRequested(extension);
extension         174 chrome/browser/extensions/extension_keybinding_registry.cc       const extensions::Extension* extension =
extension         176 chrome/browser/extensions/extension_keybinding_registry.cc       if (ExtensionMatchesFilter(extension))
extension         177 chrome/browser/extensions/extension_keybinding_registry.cc         AddExtensionKeybinding(extension, std::string());
extension         181 chrome/browser/extensions/extension_keybinding_registry.cc       const extensions::Extension* extension =
extension         182 chrome/browser/extensions/extension_keybinding_registry.cc           content::Details<UnloadedExtensionInfo>(details)->extension;
extension         183 chrome/browser/extensions/extension_keybinding_registry.cc       if (ExtensionMatchesFilter(extension))
extension         184 chrome/browser/extensions/extension_keybinding_registry.cc         RemoveExtensionKeybinding(extension, std::string());
extension         193 chrome/browser/extensions/extension_keybinding_registry.cc       const extensions::Extension* extension =
extension         198 chrome/browser/extensions/extension_keybinding_registry.cc       if (!extension)
extension         201 chrome/browser/extensions/extension_keybinding_registry.cc       if (ExtensionMatchesFilter(extension)) {
extension         203 chrome/browser/extensions/extension_keybinding_registry.cc           AddExtensionKeybinding(extension, payload->second);
extension         205 chrome/browser/extensions/extension_keybinding_registry.cc           RemoveExtensionKeybinding(extension, payload->second);
extension         216 chrome/browser/extensions/extension_keybinding_registry.cc     const extensions::Extension* extension)
extension         222 chrome/browser/extensions/extension_keybinding_registry.cc       return extension->is_platform_app();
extension          77 chrome/browser/extensions/extension_keybinding_registry.h       const Extension* extension,
extension          82 chrome/browser/extensions/extension_keybinding_registry.h       const Extension* extension,
extension         129 chrome/browser/extensions/extension_keybinding_registry.h   bool ExtensionMatchesFilter(const extensions::Extension* extension);
extension          56 chrome/browser/extensions/extension_message_bubble_controller.cc     const Extension* extension =
extension          58 chrome/browser/extensions/extension_message_bubble_controller.cc     if (extension) {
extension          59 chrome/browser/extensions/extension_message_bubble_controller.cc       return_value.push_back(base::UTF8ToUTF16(extension->name()));
extension         291 chrome/browser/extensions/extension_messages_apitest.cc     const Extension* extension =
extension         301 chrome/browser/extensions/extension_messages_apitest.cc     CHECK(extension);
extension         302 chrome/browser/extensions/extension_messages_apitest.cc     return extension;
extension         306 chrome/browser/extensions/extension_messages_apitest.cc     const Extension* extension =
extension         313 chrome/browser/extensions/extension_messages_apitest.cc     CHECK(extension);
extension         314 chrome/browser/extensions/extension_messages_apitest.cc     return extension;
extension         705 chrome/browser/extensions/extension_messages_apitest.cc   const Extension* extension = LoadChromiumConnectableExtension();
extension         709 chrome/browser/extensions/extension_messages_apitest.cc             CanConnectAndSendMessagesToMainFrame(extension->id()));
extension         714 chrome/browser/extensions/extension_messages_apitest.cc   EXPECT_EQ(OK, CanConnectAndSendMessagesToIFrame(extension->id()));
extension         724 chrome/browser/extensions/extension_messages_apitest.cc   const Extension* extension = LoadChromiumConnectableExtension();
extension         727 chrome/browser/extensions/extension_messages_apitest.cc   EXPECT_EQ(OK, CanConnectAndSendMessagesToMainFrame(extension->id()));
extension         733 chrome/browser/extensions/extension_messages_apitest.cc             CanConnectAndSendMessagesToIFrame(extension->id()));
extension         947 chrome/browser/extensions/extension_messages_apitest.cc   const Extension* extension = LoadChromiumConnectableExtension();
extension         948 chrome/browser/extensions/extension_messages_apitest.cc   EXPECT_EQ(OK, CanConnectAndSendMessagesToMainFrame(extension->id()));
extension          62 chrome/browser/extensions/extension_nacl_browsertest.cc     const Extension* extension = NULL;
extension          66 chrome/browser/extensions/extension_nacl_browsertest.cc           extension = service->GetExtensionById(kExtensionId, false);
extension          73 chrome/browser/extensions/extension_nacl_browsertest.cc           extension = service->GetExtensionById(kExtensionId, false);
extension          80 chrome/browser/extensions/extension_nacl_browsertest.cc           extension = service->GetExtensionById(last_loaded_extension_id(),
extension          88 chrome/browser/extensions/extension_nacl_browsertest.cc           extension = service->GetExtensionById(last_loaded_extension_id(),
extension          93 chrome/browser/extensions/extension_nacl_browsertest.cc     return extension;
extension         141 chrome/browser/extensions/extension_nacl_browsertest.cc   void CheckPluginsCreated(const Extension* extension,
extension         143 chrome/browser/extensions/extension_nacl_browsertest.cc     CheckPluginsCreated(extension->GetResourceURL("test.html"),
extension         154 chrome/browser/extensions/extension_nacl_browsertest.cc   const Extension* extension = InstallExtension(INSTALL_TYPE_FROM_WEBSTORE);
extension         155 chrome/browser/extensions/extension_nacl_browsertest.cc   ASSERT_TRUE(extension);
extension         156 chrome/browser/extensions/extension_nacl_browsertest.cc   CheckPluginsCreated(extension, PLUGIN_TYPE_ALL);
extension         164 chrome/browser/extensions/extension_nacl_browsertest.cc   const Extension* extension = InstallExtension(INSTALL_TYPE_NON_WEBSTORE);
extension         165 chrome/browser/extensions/extension_nacl_browsertest.cc   ASSERT_TRUE(extension);
extension         166 chrome/browser/extensions/extension_nacl_browsertest.cc   CheckPluginsCreated(extension, PLUGIN_TYPE_NONE);
extension         174 chrome/browser/extensions/extension_nacl_browsertest.cc   const Extension* extension = InstallExtension(INSTALL_TYPE_COMPONENT);
extension         175 chrome/browser/extensions/extension_nacl_browsertest.cc   ASSERT_TRUE(extension);
extension         176 chrome/browser/extensions/extension_nacl_browsertest.cc   ASSERT_EQ(extension->location(), Manifest::COMPONENT);
extension         177 chrome/browser/extensions/extension_nacl_browsertest.cc   CheckPluginsCreated(extension, PLUGIN_TYPE_ALL);
extension         185 chrome/browser/extensions/extension_nacl_browsertest.cc   const Extension* extension = InstallExtension(INSTALL_TYPE_UNPACKED);
extension         186 chrome/browser/extensions/extension_nacl_browsertest.cc   ASSERT_TRUE(extension);
extension         187 chrome/browser/extensions/extension_nacl_browsertest.cc   ASSERT_EQ(extension->location(), Manifest::UNPACKED);
extension         188 chrome/browser/extensions/extension_nacl_browsertest.cc   CheckPluginsCreated(extension, PLUGIN_TYPE_ALL);
extension         197 chrome/browser/extensions/extension_nacl_browsertest.cc   const Extension* extension = InstallExtension(INSTALL_TYPE_FROM_WEBSTORE);
extension         198 chrome/browser/extensions/extension_nacl_browsertest.cc   ASSERT_TRUE(extension);
extension         216 chrome/browser/extensions/extension_nacl_browsertest.cc   const Extension* extension = InstallHostedApp();
extension         217 chrome/browser/extensions/extension_nacl_browsertest.cc   ASSERT_TRUE(extension);
extension          98 chrome/browser/extensions/extension_notification_observer.cc       const Extension* extension =
extension          99 chrome/browser/extensions/extension_notification_observer.cc           content::Details<const InstalledExtensionInfo>(details)->extension;
extension         100 chrome/browser/extensions/extension_notification_observer.cc       if (extension_ids_.count(extension->id()))
extension         106 chrome/browser/extensions/extension_notification_observer.cc       const Extension* extension =
extension         108 chrome/browser/extensions/extension_notification_observer.cc       if (extension_ids_.count(extension->id()))
extension         116 chrome/browser/extensions/extension_notification_observer.cc       if (extension_ids_.count(reason->extension->id())) {
extension         108 chrome/browser/extensions/extension_override_apitest.cc   const extensions::Extension* extension =
extension         110 chrome/browser/extensions/extension_override_apitest.cc   ASSERT_TRUE(extension);
extension         117 chrome/browser/extensions/extension_override_apitest.cc         extensions::URLOverrides::GetChromeURLOverrides(extension));
extension         156 chrome/browser/extensions/extension_prefs_unittest.cc     extension = prefs_.AddExtension("test");
extension         157 chrome/browser/extensions/extension_prefs_unittest.cc     prefs()->SetExtensionState(extension->id(), Extension::DISABLED);
extension         161 chrome/browser/extensions/extension_prefs_unittest.cc     EXPECT_TRUE(prefs()->IsExtensionDisabled(extension->id()));
extension         165 chrome/browser/extensions/extension_prefs_unittest.cc   scoped_refptr<Extension> extension;
extension         172 chrome/browser/extensions/extension_prefs_unittest.cc     extension = prefs_.AddExtension("test");
extension         173 chrome/browser/extensions/extension_prefs_unittest.cc     prefs()->SetDidExtensionEscalatePermissions(extension.get(), true);
extension         177 chrome/browser/extensions/extension_prefs_unittest.cc     EXPECT_TRUE(prefs()->DidExtensionEscalatePermissions(extension->id()));
extension         181 chrome/browser/extensions/extension_prefs_unittest.cc   scoped_refptr<Extension> extension;
extension         392 chrome/browser/extensions/extension_prefs_unittest.cc     extension = prefs_.AddExtension("test");
extension         393 chrome/browser/extensions/extension_prefs_unittest.cc     EXPECT_EQ("0.1", prefs()->GetVersionString(extension->id()));
extension         394 chrome/browser/extensions/extension_prefs_unittest.cc     prefs()->OnExtensionUninstalled(extension->id(),
extension         399 chrome/browser/extensions/extension_prefs_unittest.cc     EXPECT_EQ("", prefs()->GetVersionString(extension->id()));
extension         403 chrome/browser/extensions/extension_prefs_unittest.cc   scoped_refptr<Extension> extension;
extension         481 chrome/browser/extensions/extension_prefs_unittest.cc     scoped_refptr<Extension> extension = Extension::Create(
extension         483 chrome/browser/extensions/extension_prefs_unittest.cc     ASSERT_TRUE(extension.get()) << errors;
extension         484 chrome/browser/extensions/extension_prefs_unittest.cc     ASSERT_EQ(id, extension->id());
extension         485 chrome/browser/extensions/extension_prefs_unittest.cc     prefs()->SetDelayedInstallInfo(extension.get(),
extension         591 chrome/browser/extensions/extension_prefs_unittest.cc     scoped_refptr<Extension> extension =
extension         593 chrome/browser/extensions/extension_prefs_unittest.cc     id_ = extension->id();
extension         189 chrome/browser/extensions/extension_protocols.cc                              const scoped_refptr<const Extension> extension,
extension         192 chrome/browser/extensions/extension_protocols.cc         extension_(extension) {
extension         355 chrome/browser/extensions/extension_protocols.cc     const Extension* extension =
extension         357 chrome/browser/extensions/extension_protocols.cc     return extension && extensions::IncognitoInfo::IsSplitMode(extension);
extension         368 chrome/browser/extensions/extension_protocols.cc                                 const Extension* extension,
extension         420 chrome/browser/extensions/extension_protocols.cc                       extension, webview_info.partition_id, resource_path)) {
extension         436 chrome/browser/extensions/extension_protocols.cc   if (!extension)
extension         446 chrome/browser/extensions/extension_protocols.cc   if (extension->is_hosted_app() &&
extension         447 chrome/browser/extensions/extension_protocols.cc       !extensions::IconsInfo::GetIcons(extension)
extension         458 chrome/browser/extensions/extension_protocols.cc   if (extension->manifest_version() < 2 ||
extension         460 chrome/browser/extensions/extension_protocols.cc       extension)) {
extension         467 chrome/browser/extensions/extension_protocols.cc   if (extensions::ManifestURL::GetDevToolsPage(extension).is_empty())
extension         474 chrome/browser/extensions/extension_protocols.cc bool URLIsForExtensionIcon(const GURL& url, const Extension* extension) {
extension         477 chrome/browser/extensions/extension_protocols.cc   if (!extension)
extension         481 chrome/browser/extensions/extension_protocols.cc   DCHECK_EQ(url.host(), extension->id());
extension         484 chrome/browser/extensions/extension_protocols.cc   return extensions::IconsInfo::GetIcons(extension).ContainsPath(path);
extension         512 chrome/browser/extensions/extension_protocols.cc   const Extension* extension =
extension         517 chrome/browser/extensions/extension_protocols.cc           request, profile_type_, extension, extension_info_map_)) {
extension         523 chrome/browser/extensions/extension_protocols.cc   if (extension)
extension         524 chrome/browser/extensions/extension_protocols.cc     directory_path = extension->path();
extension         539 chrome/browser/extensions/extension_protocols.cc   if (extension) {
extension         542 chrome/browser/extensions/extension_protocols.cc         extensions::CSPInfo::GetResourceContentSecurityPolicy(extension,
extension         544 chrome/browser/extensions/extension_protocols.cc     if ((extension->manifest_version() >= 2 ||
extension         546 chrome/browser/extensions/extension_protocols.cc              extension)) &&
extension         548 chrome/browser/extensions/extension_protocols.cc             extension, resource_path))
extension         552 chrome/browser/extensions/extension_protocols.cc         (extension->creation_flags() & Extension::FOLLOW_SYMLINKS_ANYWHERE)
extension         560 chrome/browser/extensions/extension_protocols.cc         request, network_delegate, extension, content_security_policy);
extension         617 chrome/browser/extensions/extension_protocols.cc     if (SharedModuleInfo::ImportsExtensionById(extension, new_extension_id) &&
extension          43 chrome/browser/extensions/extension_protocols_unittest.cc   scoped_refptr<Extension> extension(
extension          46 chrome/browser/extensions/extension_protocols_unittest.cc   EXPECT_TRUE(extension.get()) << error;
extension          47 chrome/browser/extensions/extension_protocols_unittest.cc   return extension;
extension          61 chrome/browser/extensions/extension_protocols_unittest.cc   scoped_refptr<Extension> extension(
extension          64 chrome/browser/extensions/extension_protocols_unittest.cc   EXPECT_TRUE(extension.get()) << error;
extension          65 chrome/browser/extensions/extension_protocols_unittest.cc   return extension;
extension          82 chrome/browser/extensions/extension_protocols_unittest.cc   scoped_refptr<Extension> extension(
extension          85 chrome/browser/extensions/extension_protocols_unittest.cc   EXPECT_TRUE(extension.get()) << error;
extension          86 chrome/browser/extensions/extension_protocols_unittest.cc   return extension;
extension         167 chrome/browser/extensions/extension_protocols_unittest.cc     scoped_refptr<Extension> extension =
extension         170 chrome/browser/extensions/extension_protocols_unittest.cc         extension.get(), base::Time::Now(), cases[i].incognito_enabled, false);
extension         177 chrome/browser/extensions/extension_protocols_unittest.cc       net::URLRequest request(extension->GetResourceURL("404.html"),
extension         195 chrome/browser/extensions/extension_protocols_unittest.cc       net::URLRequest request(extension->GetResourceURL("404.html"),
extension         229 chrome/browser/extensions/extension_protocols_unittest.cc   scoped_refptr<Extension> extension = CreateWebStoreExtension();
extension         230 chrome/browser/extensions/extension_protocols_unittest.cc   extension_info_map_->AddExtension(extension.get(),
extension         237 chrome/browser/extensions/extension_protocols_unittest.cc     net::URLRequest request(extension->GetResourceURL("webstore_icon_16.png"),
extension         247 chrome/browser/extensions/extension_protocols_unittest.cc   extension_info_map_->RemoveExtension(extension->id(),
extension         250 chrome/browser/extensions/extension_protocols_unittest.cc     net::URLRequest request(extension->GetResourceURL("webstore_icon_16.png"),
extension         266 chrome/browser/extensions/extension_protocols_unittest.cc   scoped_refptr<Extension> extension = CreateTestResponseHeaderExtension();
extension         267 chrome/browser/extensions/extension_protocols_unittest.cc   extension_info_map_->AddExtension(extension.get(),
extension         273 chrome/browser/extensions/extension_protocols_unittest.cc     net::URLRequest request(extension->GetResourceURL("test.dat"),
extension         304 chrome/browser/extensions/extension_protocols_unittest.cc   scoped_refptr<Extension> extension = CreateTestExtension("foo", false);
extension         305 chrome/browser/extensions/extension_protocols_unittest.cc   extension_info_map_->AddExtension(extension.get(),
extension         312 chrome/browser/extensions/extension_protocols_unittest.cc     net::URLRequest request(extension->GetResourceURL("test.dat"),
extension         320 chrome/browser/extensions/extension_protocols_unittest.cc     net::URLRequest request(extension->GetResourceURL("test.dat"),
extension         330 chrome/browser/extensions/extension_protocols_unittest.cc     net::URLRequest request(extension->GetResourceURL("test.dat"),
extension         152 chrome/browser/extensions/extension_service.cc static bool IsCWSSharedModule(const Extension* extension) {
extension         153 chrome/browser/extensions/extension_service.cc   return extension->from_webstore() &&
extension         154 chrome/browser/extensions/extension_service.cc          SharedModuleInfo::IsSharedModule(extension);
extension         166 chrome/browser/extensions/extension_service.cc   virtual bool UserMayModifySettings(const Extension* extension,
extension         168 chrome/browser/extensions/extension_service.cc     return !IsCWSSharedModule(extension);
extension         171 chrome/browser/extensions/extension_service.cc   virtual bool MustRemainEnabled(const Extension* extension,
extension         173 chrome/browser/extensions/extension_service.cc     return IsCWSSharedModule(extension);
extension         242 chrome/browser/extensions/extension_service.cc   const Extension* extension = GetExtensionById(id, true);
extension         243 chrome/browser/extensions/extension_service.cc   if (extension) {
extension         246 chrome/browser/extensions/extension_service.cc     Manifest::Location current = extension->location();
extension         271 chrome/browser/extensions/extension_service.cc   const Extension* extension =
extension         273 chrome/browser/extensions/extension_service.cc   return (extension && extension->is_app()) ? extension : NULL;
extension         491 chrome/browser/extensions/extension_service.cc       scoped_refptr<const Extension> extension(NULL);
extension         494 chrome/browser/extensions/extension_service.cc         extension = Extension::Create(
extension         502 chrome/browser/extensions/extension_service.cc         if (extension.get())
extension         503 chrome/browser/extensions/extension_service.cc           delayed_installs_.Insert(extension);
extension         561 chrome/browser/extensions/extension_service.cc   const Extension* extension = GetInstalledExtension(id);
extension         562 chrome/browser/extensions/extension_service.cc   if (!pending_extension_info && !extension) {
extension         593 chrome/browser/extensions/extension_service.cc   } else if (extension) {
extension         594 chrome/browser/extensions/extension_service.cc     installer->set_install_source(extension->location());
extension         601 chrome/browser/extensions/extension_service.cc   if ((extension && extension->from_webstore()) ||
extension         602 chrome/browser/extensions/extension_service.cc       (extension && extensions::ManifestURL::UpdatesFromGallery(extension)) ||
extension         603 chrome/browser/extensions/extension_service.cc       (!extension && extension_urls::IsWebstoreUpdateUrl(
extension         612 chrome/browser/extensions/extension_service.cc   if (extension && extension->from_bookmark())
extension         615 chrome/browser/extensions/extension_service.cc   if (extension && extension->was_installed_by_default())
extension         618 chrome/browser/extensions/extension_service.cc   if (extension && extension->was_installed_by_oem())
extension         621 chrome/browser/extensions/extension_service.cc   if (extension && extension->is_ephemeral())
extension         714 chrome/browser/extensions/extension_service.cc   scoped_refptr<const Extension> extension(GetInstalledExtension(extension_id));
extension         717 chrome/browser/extensions/extension_service.cc   CHECK(extension.get());
extension         730 chrome/browser/extensions/extension_service.cc         extension.get(), error)) {
extension         734 chrome/browser/extensions/extension_service.cc         content::Details<const Extension>(extension.get()));
extension         741 chrome/browser/extensions/extension_service.cc         extension.get(), is_ready());
extension         744 chrome/browser/extensions/extension_service.cc   system_->install_verifier()->Remove(extension->id());
extension         746 chrome/browser/extensions/extension_service.cc   if (IsUnacknowledgedExternalExtension(extension.get())) {
extension         750 chrome/browser/extensions/extension_service.cc     if (extensions::ManifestURL::UpdatesFromGallery(extension.get())) {
extension         761 chrome/browser/extensions/extension_service.cc                             extension->GetType(), 100);
extension         762 chrome/browser/extensions/extension_service.cc   RecordPermissionMessagesHistogram(extension.get(),
extension         770 chrome/browser/extensions/extension_service.cc   if (!Manifest::IsUnpackedLocation(extension->location())) {
extension         782 chrome/browser/extensions/extension_service.cc   if (!extension->is_ephemeral())
extension         783 chrome/browser/extensions/extension_service.cc     extensions::DataDeleter::StartDeleting(profile_, extension.get());
extension         791 chrome/browser/extensions/extension_service.cc       content::Details<const Extension>(extension.get()));
extension         800 chrome/browser/extensions/extension_service.cc   extension_prefs_->OnExtensionUninstalled(extension_id, extension->location(),
extension         832 chrome/browser/extensions/extension_service.cc   const Extension* extension =
extension         836 chrome/browser/extensions/extension_service.cc   if (extension && policy->MustRemainDisabled(extension, NULL, NULL)) {
extension         846 chrome/browser/extensions/extension_service.cc   if (!extension)
extension         849 chrome/browser/extensions/extension_service.cc   if (IsUnacknowledgedExternalExtension(extension)) {
extension         853 chrome/browser/extensions/extension_service.cc     if (extensions::ManifestURL::UpdatesFromGallery(extension)) {
extension         862 chrome/browser/extensions/extension_service.cc     AcknowledgeExternalExtension(extension->id());
extension         866 chrome/browser/extensions/extension_service.cc   registry_->AddEnabled(make_scoped_refptr(extension));
extension         867 chrome/browser/extensions/extension_service.cc   registry_->RemoveDisabled(extension->id());
extension         869 chrome/browser/extensions/extension_service.cc   NotifyExtensionLoaded(extension);
extension         875 chrome/browser/extensions/extension_service.cc       content::Details<const Extension>(extension));
extension         878 chrome/browser/extensions/extension_service.cc     extension_sync_service_->SyncEnableExtension(*extension);
extension         890 chrome/browser/extensions/extension_service.cc   const Extension* extension = GetInstalledExtension(extension_id);
extension         893 chrome/browser/extensions/extension_service.cc   if (extension &&
extension         895 chrome/browser/extensions/extension_service.cc       !system_->management_policy()->UserMayModifySettings(extension, NULL)) {
extension         904 chrome/browser/extensions/extension_service.cc   extension = registry_->GetExtensionById(extension_id, include_mask);
extension         905 chrome/browser/extensions/extension_service.cc   if (!extension)
extension         909 chrome/browser/extensions/extension_service.cc   DCHECK(registry_->enabled_extensions().Contains(extension->id()) ||
extension         910 chrome/browser/extensions/extension_service.cc          registry_->terminated_extensions().Contains(extension->id()));
extension         914 chrome/browser/extensions/extension_service.cc   registry_->AddDisabled(make_scoped_refptr(extension));
extension         915 chrome/browser/extensions/extension_service.cc   if (registry_->enabled_extensions().Contains(extension->id())) {
extension         916 chrome/browser/extensions/extension_service.cc     registry_->RemoveEnabled(extension->id());
extension         917 chrome/browser/extensions/extension_service.cc     NotifyExtensionUnloaded(extension, UnloadedExtensionInfo::REASON_DISABLE);
extension         919 chrome/browser/extensions/extension_service.cc     registry_->RemoveTerminated(extension->id());
extension         923 chrome/browser/extensions/extension_service.cc     extension_sync_service_->SyncDisableExtension(*extension);
extension         934 chrome/browser/extensions/extension_service.cc   for (ExtensionSet::const_iterator extension = enabled_set.begin();
extension         935 chrome/browser/extensions/extension_service.cc       extension != enabled_set.end(); ++extension) {
extension         936 chrome/browser/extensions/extension_service.cc     if (management_policy->UserMayModifySettings(extension->get(), NULL) &&
extension         937 chrome/browser/extensions/extension_service.cc         extension->get()->location() != Manifest::EXTERNAL_COMPONENT)
extension         938 chrome/browser/extensions/extension_service.cc       to_disable.push_back(*extension);
extension         941 chrome/browser/extensions/extension_service.cc   for (ExtensionSet::const_iterator extension = terminated_set.begin();
extension         942 chrome/browser/extensions/extension_service.cc       extension != terminated_set.end(); ++extension) {
extension         943 chrome/browser/extensions/extension_service.cc     if (management_policy->UserMayModifySettings(extension->get(), NULL) &&
extension         944 chrome/browser/extensions/extension_service.cc         extension->get()->location() != Manifest::EXTERNAL_COMPONENT)
extension         945 chrome/browser/extensions/extension_service.cc       to_disable.push_back(*extension);
extension         948 chrome/browser/extensions/extension_service.cc   for (extensions::ExtensionList::const_iterator extension = to_disable.begin();
extension         949 chrome/browser/extensions/extension_service.cc       extension != to_disable.end(); ++extension) {
extension         950 chrome/browser/extensions/extension_service.cc     if ((*extension)->was_installed_by_default() &&
extension         952 chrome/browser/extensions/extension_service.cc             extensions::ManifestURL::GetUpdateURL(*extension)))
extension         954 chrome/browser/extensions/extension_service.cc     const std::string& id = (*extension)->id();
extension         961 chrome/browser/extensions/extension_service.cc     const Extension* extension) {
extension         962 chrome/browser/extensions/extension_service.cc   GrantPermissions(extension);
extension         964 chrome/browser/extensions/extension_service.cc       extension, "Extensions.Permissions_ReEnable");
extension         965 chrome/browser/extensions/extension_service.cc   extension_prefs_->SetDidExtensionEscalatePermissions(extension, false);
extension         966 chrome/browser/extensions/extension_service.cc   EnableExtension(extension->id());
extension         969 chrome/browser/extensions/extension_service.cc void ExtensionService::GrantPermissions(const Extension* extension) {
extension         970 chrome/browser/extensions/extension_service.cc   CHECK(extension);
extension         972 chrome/browser/extensions/extension_service.cc   perms_updater.GrantActivePermissions(extension);
extension         977 chrome/browser/extensions/extension_service.cc     const Extension* extension, const char* histogram) {
extension         988 chrome/browser/extensions/extension_service.cc       extensions::PermissionsData::GetPermissionMessages(extension);
extension         998 chrome/browser/extensions/extension_service.cc void ExtensionService::NotifyExtensionLoaded(const Extension* extension) {
extension        1005 chrome/browser/extensions/extension_service.cc   system_->RegisterExtensionWithRequestContexts(extension);
extension        1009 chrome/browser/extensions/extension_service.cc   if (!extension->is_theme()) {
extension        1019 chrome/browser/extensions/extension_service.cc             1, ExtensionMsg_Loaded_Params(extension));
extension        1033 chrome/browser/extensions/extension_service.cc   registry_->TriggerOnLoaded(extension);
extension        1038 chrome/browser/extensions/extension_service.cc       content::Details<const Extension>(extension));
extension        1043 chrome/browser/extensions/extension_service.cc       GrantRightsForExtension(extension);
extension        1054 chrome/browser/extensions/extension_service.cc           extension, GURL(chrome::kChromeUIFaviconURL))) {
extension        1063 chrome/browser/extensions/extension_service.cc           extension, GURL(chrome::kChromeUIThemeURL))) {
extension        1071 chrome/browser/extensions/extension_service.cc           extension, GURL(chrome::kChromeUIThumbnailURL))) {
extension        1078 chrome/browser/extensions/extension_service.cc     const Extension* extension,
extension        1080 chrome/browser/extensions/extension_service.cc   registry_->TriggerOnUnloaded(extension);
extension        1082 chrome/browser/extensions/extension_service.cc   UnloadedExtensionInfo details(extension, reason);
extension        1095 chrome/browser/extensions/extension_service.cc       host->Send(new ExtensionMsg_Unloaded(extension->id()));
extension        1098 chrome/browser/extensions/extension_service.cc   system_->UnregisterExtensionWithRequestContexts(extension->id(), reason);
extension        1103 chrome/browser/extensions/extension_service.cc       RevokeRightsForExtension(extension);
extension        1110 chrome/browser/extensions/extension_service.cc       extensions::util::GetSiteForExtensionId(extension->id(), profile_);
extension        1116 chrome/browser/extensions/extension_service.cc         RevokeAccessForExtension(extension->id());
extension        1169 chrome/browser/extensions/extension_service.cc     const Extension* extension = (iter->get());
extension        1170 chrome/browser/extensions/extension_service.cc     if (!system_->management_policy()->UserMayLoad(extension, NULL))
extension        1171 chrome/browser/extensions/extension_service.cc       to_unload.push_back(extension->id());
extension        1174 chrome/browser/extensions/extension_service.cc             extension, &disable_reason, NULL))
extension        1175 chrome/browser/extensions/extension_service.cc       to_disable[extension->id()] = disable_reason;
extension        1364 chrome/browser/extensions/extension_service.cc     const Extension* extension) {
extension        1368 chrome/browser/extensions/extension_service.cc   return (Manifest::IsExternalLocation(extension->location()) &&
extension        1369 chrome/browser/extensions/extension_service.cc           !extension_prefs_->IsExternalExtensionAcknowledged(extension->id()) &&
extension        1370 chrome/browser/extensions/extension_service.cc           !(extension_prefs_->GetDisableReasons(extension->id()) &
extension        1430 chrome/browser/extensions/extension_service.cc   const Extension* extension = NULL;
extension        1436 chrome/browser/extensions/extension_service.cc       extension = e;
extension        1441 chrome/browser/extensions/extension_service.cc   if (extension) {
extension        1443 chrome/browser/extensions/extension_service.cc       if (extension_prefs_->IncrementAcknowledgePromptCount(extension->id()) >
extension        1447 chrome/browser/extensions/extension_service.cc         extension_prefs_->AcknowledgeExternalExtension(extension->id());
extension        1452 chrome/browser/extensions/extension_service.cc         if (extensions::ManifestURL::UpdatesFromGallery(extension)) {
extension        1466 chrome/browser/extensions/extension_service.cc         extension_prefs_->SetExternalInstallFirstRun(extension->id());
extension        1470 chrome/browser/extensions/extension_service.cc           extension->id());
extension        1471 chrome/browser/extensions/extension_service.cc       extensions::AddExternalInstallError(this, extension, first_run);
extension        1484 chrome/browser/extensions/extension_service.cc   scoped_refptr<const Extension> extension(
extension        1489 chrome/browser/extensions/extension_service.cc   if (!extension.get()) {
extension        1498 chrome/browser/extensions/extension_service.cc   unloaded_extension_paths_[extension->id()] = extension->path();
extension        1501 chrome/browser/extensions/extension_service.cc   reloading_extensions_.erase(extension->id());
extension        1503 chrome/browser/extensions/extension_service.cc   if (registry_->disabled_extensions().Contains(extension->id())) {
extension        1504 chrome/browser/extensions/extension_service.cc     registry_->RemoveDisabled(extension->id());
extension        1513 chrome/browser/extensions/extension_service.cc     registry_->RemoveEnabled(extension->id());
extension        1514 chrome/browser/extensions/extension_service.cc     NotifyExtensionUnloaded(extension.get(), reason);
extension        1520 chrome/browser/extensions/extension_service.cc       content::Details<const Extension>(extension.get()));
extension        1525 chrome/browser/extensions/extension_service.cc   scoped_refptr<const Extension> extension(
extension        1531 chrome/browser/extensions/extension_service.cc       content::Details<const Extension>(extension.get()));
extension        1563 chrome/browser/extensions/extension_service.cc void ExtensionService::AddExtension(const Extension* extension) {
extension        1568 chrome/browser/extensions/extension_service.cc       !extension->is_theme() &&
extension        1569 chrome/browser/extensions/extension_service.cc       extension->location() != Manifest::COMPONENT &&
extension        1570 chrome/browser/extensions/extension_service.cc       !Manifest::IsExternalLocation(extension->location())) {
extension        1576 chrome/browser/extensions/extension_service.cc   const Extension* old = GetInstalledExtension(extension->id());
extension        1580 chrome/browser/extensions/extension_service.cc         extension->version()->CompareTo(*(old->version()));
extension        1584 chrome/browser/extensions/extension_service.cc     if (!Manifest::IsUnpackedLocation(extension->location()))
extension        1587 chrome/browser/extensions/extension_service.cc   system_->runtime_data()->SetBeingUpgraded(extension, is_extension_upgrade);
extension        1590 chrome/browser/extensions/extension_service.cc   unloaded_extension_paths_.erase(extension->id());
extension        1593 chrome/browser/extensions/extension_service.cc   UntrackTerminatedExtension(extension->id());
extension        1596 chrome/browser/extensions/extension_service.cc   bool reloading = reloading_extensions_.erase(extension->id()) > 0;
extension        1600 chrome/browser/extensions/extension_service.cc   CheckPermissionsIncrease(extension, is_extension_installed);
extension        1605 chrome/browser/extensions/extension_service.cc     UnloadExtension(extension->id(), UnloadedExtensionInfo::REASON_UPDATE);
extension        1608 chrome/browser/extensions/extension_service.cc   if (extension_prefs_->IsExtensionBlacklisted(extension->id())) {
extension        1613 chrome/browser/extensions/extension_service.cc     registry_->AddBlacklisted(extension);
extension        1615 chrome/browser/extensions/extension_service.cc              extension_prefs_->IsExtensionDisabled(extension->id())) {
extension        1616 chrome/browser/extensions/extension_service.cc     registry_->AddDisabled(extension);
extension        1618 chrome/browser/extensions/extension_service.cc       extension_sync_service_->SyncExtensionChangeIfNeeded(*extension);
extension        1622 chrome/browser/extensions/extension_service.cc         content::Details<const Extension>(extension));
extension        1626 chrome/browser/extensions/extension_service.cc     if (extension_prefs_->GetDisableReasons(extension->id()) ==
extension        1628 chrome/browser/extensions/extension_service.cc       extensions::AddExtensionDisabledError(this, extension);
extension        1632 chrome/browser/extensions/extension_service.cc     CHECK(!registry_->AddDisabled(extension));
extension        1633 chrome/browser/extensions/extension_service.cc     EnableExtension(extension->id());
extension        1637 chrome/browser/extensions/extension_service.cc     if (extension->RequiresSortOrdinal()) {
extension        1638 chrome/browser/extensions/extension_service.cc       if (!extension->ShouldDisplayInNewTabPage()) {
extension        1639 chrome/browser/extensions/extension_service.cc         extension_prefs_->app_sorting()->MarkExtensionAsHidden(extension->id());
extension        1642 chrome/browser/extensions/extension_service.cc           extension->id(), syncer::StringOrdinal());
extension        1645 chrome/browser/extensions/extension_service.cc     registry_->AddEnabled(extension);
extension        1647 chrome/browser/extensions/extension_service.cc       extension_sync_service_->SyncExtensionChangeIfNeeded(*extension);
extension        1648 chrome/browser/extensions/extension_service.cc     NotifyExtensionLoaded(extension);
extension        1650 chrome/browser/extensions/extension_service.cc   system_->runtime_data()->SetBeingUpgraded(extension, false);
extension        1653 chrome/browser/extensions/extension_service.cc void ExtensionService::AddComponentExtension(const Extension* extension) {
extension        1655 chrome/browser/extensions/extension_service.cc       extension_prefs_->GetVersionString(extension->id()));
extension        1658 chrome/browser/extensions/extension_service.cc   VLOG(1) << "AddComponentExtension " << extension->name();
extension        1659 chrome/browser/extensions/extension_service.cc   if (!old_version.IsValid() || !old_version.Equals(*extension->version())) {
extension        1660 chrome/browser/extensions/extension_service.cc     VLOG(1) << "Component extension " << extension->name() << " ("
extension        1661 chrome/browser/extensions/extension_service.cc         << extension->id() << ") installing/upgrading from '"
extension        1662 chrome/browser/extensions/extension_service.cc         << old_version_string << "' to " << extension->version()->GetString();
extension        1664 chrome/browser/extensions/extension_service.cc     AddNewOrUpdatedExtension(extension,
extension        1672 chrome/browser/extensions/extension_service.cc   AddExtension(extension);
extension        1675 chrome/browser/extensions/extension_service.cc void ExtensionService::UpdateActivePermissions(const Extension* extension) {
extension        1680 chrome/browser/extensions/extension_service.cc       extension_prefs_->GetActivePermissions(extension->id());
extension        1689 chrome/browser/extensions/extension_service.cc             extensions::PermissionsData::GetRequiredPermissions(extension),
extension        1690 chrome/browser/extensions/extension_service.cc             extensions::PermissionsData::GetOptionalPermissions(extension));
extension        1699 chrome/browser/extensions/extension_service.cc         extensions::PermissionsData::GetRequiredPermissions(extension),
extension        1703 chrome/browser/extensions/extension_service.cc     perms_updater.UpdateActivePermissions(extension, adjusted_active.get());
extension        1707 chrome/browser/extensions/extension_service.cc void ExtensionService::CheckPermissionsIncrease(const Extension* extension,
extension        1709 chrome/browser/extensions/extension_service.cc   UpdateActivePermissions(extension);
extension        1732 chrome/browser/extensions/extension_service.cc   int disable_reasons = extension_prefs_->GetDisableReasons(extension->id());
extension        1735 chrome/browser/extensions/extension_service.cc       (!is_extension_installed && extension->was_installed_by_default()) ||
extension        1742 chrome/browser/extensions/extension_service.cc     GrantPermissions(extension);
extension        1747 chrome/browser/extensions/extension_service.cc   if (!extensions::PermissionsData::CanSilentlyIncreasePermissions(extension) &&
extension        1752 chrome/browser/extensions/extension_service.cc         extension_prefs_->GetGrantedPermissions(extension->id());
extension        1762 chrome/browser/extensions/extension_service.cc                 extension->GetActivePermissions().get(),
extension        1763 chrome/browser/extensions/extension_service.cc                 extension->GetType());
extension        1770 chrome/browser/extensions/extension_service.cc         extension_prefs_->IsExtensionDisabled(extension->id());
extension        1774 chrome/browser/extensions/extension_service.cc         !extension_prefs_->DidExtensionEscalatePermissions(extension->id())) {
extension        1782 chrome/browser/extensions/extension_service.cc       extension_prefs_->ClearDisableReasons(extension->id());
extension        1793 chrome/browser/extensions/extension_service.cc     if (!extension_prefs_->DidExtensionEscalatePermissions(extension->id())) {
extension        1795 chrome/browser/extensions/extension_service.cc           extension, "Extensions.Permissions_AutoDisable");
extension        1797 chrome/browser/extensions/extension_service.cc     extension_prefs_->SetExtensionState(extension->id(), Extension::DISABLED);
extension        1798 chrome/browser/extensions/extension_service.cc     extension_prefs_->SetDidExtensionEscalatePermissions(extension, true);
extension        1802 chrome/browser/extensions/extension_service.cc         extension->id(),
extension        1812 chrome/browser/extensions/extension_service.cc     const Extension* extension = iter->get();
extension        1813 chrome/browser/extensions/extension_service.cc     if (!extension->is_theme() && extension->location() != Manifest::COMPONENT)
extension        1814 chrome/browser/extensions/extension_service.cc       extension_ids.insert(extension->id());
extension        1824 chrome/browser/extensions/extension_service.cc     const Extension* extension,
extension        1831 chrome/browser/extensions/extension_service.cc   const std::string& id = extension->id();
extension        1832 chrome/browser/extensions/extension_service.cc   bool initial_enable = ShouldEnableOnInstall(extension);
extension        1836 chrome/browser/extensions/extension_service.cc     if (!pending_extension_info->ShouldAllowInstall(extension)) {
extension        1840 chrome/browser/extensions/extension_service.cc                    << id << " of type " << extension->GetType()
extension        1842 chrome/browser/extensions/extension_service.cc                    << extensions::ManifestURL::GetUpdateURL(extension).spec()
extension        1850 chrome/browser/extensions/extension_service.cc                          extension->path(), true))) {
extension        1889 chrome/browser/extensions/extension_service.cc                               extension->location(),
extension        1893 chrome/browser/extensions/extension_service.cc   if (!GetInstalledExtension(extension->id())) {
extension        1895 chrome/browser/extensions/extension_service.cc                               extension->GetType(), 100);
extension        1897 chrome/browser/extensions/extension_service.cc                               extension->location(), Manifest::NUM_LOCATIONS);
extension        1899 chrome/browser/extensions/extension_service.cc         extension, "Extensions.Permissions_Install");
extension        1902 chrome/browser/extensions/extension_service.cc                               extension->GetType(), 100);
extension        1904 chrome/browser/extensions/extension_service.cc                               extension->location(), Manifest::NUM_LOCATIONS);
extension        1909 chrome/browser/extensions/extension_service.cc   if (Manifest::IsPolicyLocation(extension->location()) ||
extension        1910 chrome/browser/extensions/extension_service.cc       extension->location() == Manifest::EXTERNAL_COMPONENT)
extension        1911 chrome/browser/extensions/extension_service.cc     AcknowledgeExternalExtension(extension->id());
extension        1918 chrome/browser/extensions/extension_service.cc         extension,
extension        1926 chrome/browser/extensions/extension_service.cc     delayed_installs_.Insert(extension);
extension        1930 chrome/browser/extensions/extension_service.cc                       OnAppUpdateAvailable(extension));
extension        1935 chrome/browser/extensions/extension_service.cc       shared_module_service_->SatisfyImports(extension);
extension        1938 chrome/browser/extensions/extension_service.cc         extension,
extension        1944 chrome/browser/extensions/extension_service.cc     delayed_installs_.Insert(extension);
extension        1948 chrome/browser/extensions/extension_service.cc           extension,
extension        1954 chrome/browser/extensions/extension_service.cc       delayed_installs_.Insert(extension);
extension        1957 chrome/browser/extensions/extension_service.cc     AddNewOrUpdatedExtension(extension,
extension        1966 chrome/browser/extensions/extension_service.cc     const Extension* extension,
extension        1974 chrome/browser/extensions/extension_service.cc   extension_prefs_->OnExtensionInstalled(extension,
extension        1979 chrome/browser/extensions/extension_service.cc   delayed_installs_.Remove(extension->id());
extension        1980 chrome/browser/extensions/extension_service.cc   if (InstallVerifier::NeedsVerification(*extension))
extension        1981 chrome/browser/extensions/extension_service.cc     system_->install_verifier()->VerifyExtension(extension->id());
extension        1982 chrome/browser/extensions/extension_service.cc   FinishInstallation(extension);
extension        2001 chrome/browser/extensions/extension_service.cc   const Extension* extension = delayed_installs_.GetByID(extension_id);
extension        2004 chrome/browser/extensions/extension_service.cc         shared_module_service_->SatisfyImports(extension);
extension        2022 chrome/browser/extensions/extension_service.cc   scoped_refptr<const Extension> extension(
extension        2024 chrome/browser/extensions/extension_service.cc   CHECK(extension.get());
extension        2030 chrome/browser/extensions/extension_service.cc   FinishInstallation(extension.get());
extension        2033 chrome/browser/extensions/extension_service.cc void ExtensionService::FinishInstallation(const Extension* extension) {
extension        2035 chrome/browser/extensions/extension_service.cc       GetInstalledExtension(extension->id());
extension        2042 chrome/browser/extensions/extension_service.cc   extensions::InstalledExtensionInfo details(extension, is_update, old_name);
extension        2048 chrome/browser/extensions/extension_service.cc   bool unacknowledged_external = IsUnacknowledgedExternalExtension(extension);
extension        2052 chrome/browser/extensions/extension_service.cc   if (Manifest::ShouldAlwaysAllowFileAccess(extension->location()) &&
extension        2053 chrome/browser/extensions/extension_service.cc       !extension_prefs_->HasAllowFileAccessSetting(extension->id())) {
extension        2054 chrome/browser/extensions/extension_service.cc     extension_prefs_->SetAllowFileAccess(extension->id(), true);
extension        2057 chrome/browser/extensions/extension_service.cc   AddExtension(extension);
extension        2067 chrome/browser/extensions/extension_service.cc     if (extensions::ManifestURL::UpdatesFromGallery(extension)) {
extension        2080 chrome/browser/extensions/extension_service.cc   if (SharedModuleInfo::IsSharedModule(extension)) {
extension        2090 chrome/browser/extensions/extension_service.cc void ExtensionService::TrackTerminatedExtension(const Extension* extension) {
extension        2092 chrome/browser/extensions/extension_service.cc   registry_->AddTerminated(make_scoped_refptr(extension));
extension        2093 chrome/browser/extensions/extension_service.cc   extensions_being_terminated_.erase(extension->id());
extension        2094 chrome/browser/extensions/extension_service.cc   UnloadExtension(extension->id(), UnloadedExtensionInfo::REASON_TERMINATE);
extension        2099 chrome/browser/extensions/extension_service.cc   const Extension* extension =
extension        2102 chrome/browser/extensions/extension_service.cc   if (extension) {
extension        2106 chrome/browser/extensions/extension_service.cc         content::Details<const Extension>(extension));
extension        2266 chrome/browser/extensions/extension_service.cc               host->extension()));
extension        2335 chrome/browser/extensions/extension_service.cc bool ExtensionService::ShouldEnableOnInstall(const Extension* extension) {
extension        2341 chrome/browser/extensions/extension_service.cc   if (system_->management_policy()->MustRemainEnabled(extension, NULL) ||
extension        2342 chrome/browser/extensions/extension_service.cc       extension->location() == Manifest::EXTERNAL_COMPONENT) {
extension        2346 chrome/browser/extensions/extension_service.cc   if (extension_prefs_->IsExtensionDisabled(extension->id()))
extension        2353 chrome/browser/extensions/extension_service.cc     if (extension->GetType() != Manifest::TYPE_HOSTED_APP &&
extension        2354 chrome/browser/extensions/extension_service.cc         Manifest::IsExternalLocation(extension->location()) &&
extension        2355 chrome/browser/extensions/extension_service.cc         !extension_prefs_->IsExternalExtensionAcknowledged(extension->id())) {
extension        2479 chrome/browser/extensions/extension_service.cc     scoped_refptr<const Extension> extension =
extension        2481 chrome/browser/extensions/extension_service.cc     if (!extension.get()) {
extension        2487 chrome/browser/extensions/extension_service.cc     extension_prefs_->SetExtensionBlacklisted(extension->id(), false);
extension        2488 chrome/browser/extensions/extension_service.cc     AddExtension(extension.get());
extension        2490 chrome/browser/extensions/extension_service.cc                               extension->location(),
extension        2496 chrome/browser/extensions/extension_service.cc     scoped_refptr<const Extension> extension = GetInstalledExtension(*it);
extension        2497 chrome/browser/extensions/extension_service.cc     if (!extension.get()) {
extension        2502 chrome/browser/extensions/extension_service.cc     registry_->AddBlacklisted(extension);
extension        2504 chrome/browser/extensions/extension_service.cc         extension->id(), extensions::BLACKLISTED_MALWARE);
extension        2507 chrome/browser/extensions/extension_service.cc                               extension->location(), Manifest::NUM_LOCATIONS);
extension        2523 chrome/browser/extensions/extension_service.cc     scoped_refptr<const Extension> extension = greylist_.GetByID(*it);
extension        2524 chrome/browser/extensions/extension_service.cc     if (!extension.get()) {
extension        2531 chrome/browser/extensions/extension_service.cc     extension_prefs_->SetExtensionBlacklistState(extension->id(),
extension        2533 chrome/browser/extensions/extension_service.cc     if (extension_prefs_->GetDisableReasons(extension->id()) &
extension        2540 chrome/browser/extensions/extension_service.cc     scoped_refptr<const Extension> extension = GetInstalledExtension(*it);
extension        2541 chrome/browser/extensions/extension_service.cc     if (!extension.get()) {
extension        2546 chrome/browser/extensions/extension_service.cc     greylist_.Insert(extension);
extension        2547 chrome/browser/extensions/extension_service.cc     extension_prefs_->SetExtensionBlacklistState(extension->id(),
extension        2549 chrome/browser/extensions/extension_service.cc     if (registry_->enabled_extensions().Contains(extension->id()))
extension         110 chrome/browser/extensions/extension_service.h   virtual void AddExtension(const extensions::Extension* extension) = 0;
extension         112 chrome/browser/extensions/extension_service.h       const extensions::Extension* extension) = 0;
extension         243 chrome/browser/extensions/extension_service.h       const extensions::Extension* extension);
extension         248 chrome/browser/extensions/extension_service.h       const extensions::Extension* extension);
extension         273 chrome/browser/extensions/extension_service.h   virtual void AddExtension(const extensions::Extension* extension) OVERRIDE;
extension         278 chrome/browser/extensions/extension_service.h   virtual void AddComponentExtension(const extensions::Extension* extension)
extension         289 chrome/browser/extensions/extension_service.h       const extensions::Extension* extension,
extension         432 chrome/browser/extensions/extension_service.h       const extensions::Extension* extension);
extension         470 chrome/browser/extensions/extension_service.h   void TrackTerminatedExtensionForTest(const extensions::Extension* extension) {
extension         471 chrome/browser/extensions/extension_service.h     TrackTerminatedExtension(extension);
extension         474 chrome/browser/extensions/extension_service.h   void FinishInstallationForTest(const extensions::Extension* extension) {
extension         475 chrome/browser/extensions/extension_service.h     FinishInstallation(extension);
extension         526 chrome/browser/extensions/extension_service.h   void TrackTerminatedExtension(const extensions::Extension* extension);
extension         536 chrome/browser/extensions/extension_service.h   void AddNewOrUpdatedExtension(const extensions::Extension* extension,
extension         543 chrome/browser/extensions/extension_service.h   void NotifyExtensionLoaded(const extensions::Extension* extension);
extension         547 chrome/browser/extensions/extension_service.h       const extensions::Extension* extension,
extension         551 chrome/browser/extensions/extension_service.h   void FinishInstallation(const extensions::Extension* extension);
extension         556 chrome/browser/extensions/extension_service.h   void UpdateActivePermissions(const extensions::Extension* extension);
extension         560 chrome/browser/extensions/extension_service.h   void CheckPermissionsIncrease(const extensions::Extension* extension,
extension         568 chrome/browser/extensions/extension_service.h   bool ShouldEnableOnInstall(const extensions::Extension* extension);
extension         681 chrome/browser/extensions/extension_service_unittest.cc         const Extension* extension =
extension         683 chrome/browser/extensions/extension_service_unittest.cc         loaded_.push_back(make_scoped_refptr(extension));
extension         693 chrome/browser/extensions/extension_service_unittest.cc                 details)->extension;
extension         708 chrome/browser/extensions/extension_service_unittest.cc         installed_ = installed_info->extension;
extension         877 chrome/browser/extensions/extension_service_unittest.cc     const Extension* extension = NULL;
extension         899 chrome/browser/extensions/extension_service_unittest.cc         extension = loaded_[0].get();
extension         900 chrome/browser/extensions/extension_service_unittest.cc         EXPECT_TRUE(service_->GetExtensionById(extension->id(), false))
extension         919 chrome/browser/extensions/extension_service_unittest.cc     return extension;
extension        1015 chrome/browser/extensions/extension_service_unittest.cc     const Extension* extension = service_->GetInstalledExtension(id);
extension        1016 chrome/browser/extensions/extension_service_unittest.cc     if (!extension) {
extension        1020 chrome/browser/extensions/extension_service_unittest.cc     service_->TrackTerminatedExtensionForTest(extension);
extension        1358 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = loaded_[0].get();
extension        1360 chrome/browser/extensions/extension_service_unittest.cc       extensions::ContentScriptsInfo::GetContentScripts(extension);
extension        1364 chrome/browser/extensions/extension_service_unittest.cc   ExtensionResource resource00(extension->id(),
extension        1368 chrome/browser/extensions/extension_service_unittest.cc       base::MakeAbsoluteFilePath(extension->path().AppendASCII("script1.js"));
extension        1370 chrome/browser/extensions/extension_service_unittest.cc   ExtensionResource resource01(extension->id(),
extension        1374 chrome/browser/extensions/extension_service_unittest.cc       base::MakeAbsoluteFilePath(extension->path().AppendASCII("script2.js"));
extension        1376 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_TRUE(!extensions::PluginInfo::HasPlugins(extension));
extension        1380 chrome/browser/extensions/extension_service_unittest.cc   ExtensionResource resource10(extension->id(),
extension        1384 chrome/browser/extensions/extension_service_unittest.cc       extension->path().AppendASCII("js_files").AppendASCII("script3.js");
extension        1392 chrome/browser/extensions/extension_service_unittest.cc             extension->GetActivePermissions()->explicit_hosts());
extension        1598 chrome/browser/extensions/extension_service_unittest.cc   virtual void OnExtensionInstalled(const Extension* extension) OVERRIDE {
extension        1599 chrome/browser/extensions/extension_service_unittest.cc     last_extension_installed = extension->id();
extension        1602 chrome/browser/extensions/extension_service_unittest.cc   virtual void OnExtensionUninstalled(const Extension* extension) OVERRIDE {
extension        1603 chrome/browser/extensions/extension_service_unittest.cc     last_extension_uninstalled = extension->id();
extension        1659 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = service_->GetExtensionById(good_crx, false);
extension        1660 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_TRUE(extension);
extension        1661 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_TRUE(extension->from_bookmark());
extension        1668 chrome/browser/extensions/extension_service_unittest.cc   extension = service_->GetExtensionById(good_crx, false);
extension        1669 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_TRUE(extension);
extension        1670 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_TRUE(extension->from_bookmark());
extension        1900 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = PackAndInstallCRX(path, pem_path, INSTALL_NEW);
extension        1904 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_EQ(permissions_crx, extension->id());
extension        1914 chrome/browser/extensions/extension_service_unittest.cc   known_perms = prefs->GetGrantedPermissions(extension->id());
extension        1948 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = PackAndInstallCRX(
extension        1953 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_EQ(permissions_crx, extension->id());
extension        1958 chrome/browser/extensions/extension_service_unittest.cc   known_perms = prefs->GetGrantedPermissions(extension->id());
extension        1976 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = PackAndInstallCRX(good1_path(), INSTALL_NEW);
extension        1982 chrome/browser/extensions/extension_service_unittest.cc       prefs->GetGrantedPermissions(extension->id()));
extension        2005 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = PackAndInstallCRX(path, INSTALL_NEW);
extension        2009 chrome/browser/extensions/extension_service_unittest.cc   std::string extension_id = extension->id();
extension        2032 chrome/browser/extensions/extension_service_unittest.cc   extension = registry_->disabled_extensions().begin()->get();
extension        2039 chrome/browser/extensions/extension_service_unittest.cc   service_->GrantPermissionsAndEnableExtension(extension);
extension        2075 chrome/browser/extensions/extension_service_unittest.cc   extension = registry_->disabled_extensions().begin()->get();
extension        2082 chrome/browser/extensions/extension_service_unittest.cc   service_->GrantPermissionsAndEnableExtension(extension);
extension        2333 chrome/browser/extensions/extension_service_unittest.cc     const Extension* extension = InstallCRX(path, INSTALL_NEW);
extension        2335 chrome/browser/extensions/extension_service_unittest.cc     ASSERT_TRUE(extension);
extension        2336 chrome/browser/extensions/extension_service_unittest.cc     EXPECT_TRUE(extension->is_theme());
extension        2339 chrome/browser/extensions/extension_service_unittest.cc         extensions::ContentScriptsInfo::GetContentScripts(extension).size());
extension        2410 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = service_->GetExtensionById(unpacked, false);
extension        2411 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_EQ(unpacked, extension->id());
extension        2500 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension =
extension        2508 chrome/browser/extensions/extension_service_unittest.cc       ExtensionPrefs::Get(profile_.get())->AllowFileAccess(extension->id()));
extension        2516 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension =
extension        2519 chrome/browser/extensions/extension_service_unittest.cc   std::string id = extension->id();
extension        2520 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_EQ(std::string("1"), extension->version()->GetString());
extension        2537 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension =
extension        2540 chrome/browser/extensions/extension_service_unittest.cc   std::string id = extension->id();
extension        2541 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_EQ(std::string("1"), extension->version()->GetString());
extension        2583 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension =
extension        2587 chrome/browser/extensions/extension_service_unittest.cc   const std::string id1 = extension->id();
extension        2588 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_TRUE(extension->HasAPIPermission(
extension        2590 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_TRUE(extension->web_extent().MatchesURL(
extension        2591 chrome/browser/extensions/extension_service_unittest.cc       extensions::AppLaunchInfo::GetFullLaunchURL(extension)));
extension        2593 chrome/browser/extensions/extension_service_unittest.cc       extensions::AppLaunchInfo::GetFullLaunchURL(extension).GetOrigin());
extension        2598 chrome/browser/extensions/extension_service_unittest.cc   extension = PackAndInstallCRX(data_dir_.AppendASCII("app2"), INSTALL_NEW);
extension        2601 chrome/browser/extensions/extension_service_unittest.cc   const std::string id2 = extension->id();
extension        2602 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_TRUE(extension->HasAPIPermission(
extension        2604 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_TRUE(extension->web_extent().MatchesURL(
extension        2605 chrome/browser/extensions/extension_service_unittest.cc       extensions::AppLaunchInfo::GetFullLaunchURL(extension)));
extension        2607 chrome/browser/extensions/extension_service_unittest.cc       extensions::AppLaunchInfo::GetFullLaunchURL(extension).GetOrigin());
extension        2633 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension =
extension        2637 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_TRUE(extension->is_app());
extension        2638 chrome/browser/extensions/extension_service_unittest.cc   const std::string id1 = extension->id();
extension        2640 chrome/browser/extensions/extension_service_unittest.cc       extensions::AppLaunchInfo::GetFullLaunchURL(extension).GetOrigin());
extension        2645 chrome/browser/extensions/extension_service_unittest.cc   extension = PackAndInstallCRX(data_dir_.AppendASCII("app4"), INSTALL_NEW);
extension        2648 chrome/browser/extensions/extension_service_unittest.cc   const std::string id2 = extension->id();
extension        2650 chrome/browser/extensions/extension_service_unittest.cc       extensions::AppLaunchInfo::GetFullLaunchURL(extension).GetOrigin());
extension        2695 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = InstallCRX(path, INSTALL_NEW);
extension        2696 chrome/browser/extensions/extension_service_unittest.cc   std::string id = extension->id();
extension        2700 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_FALSE(extension->from_webstore());
extension        2710 chrome/browser/extensions/extension_service_unittest.cc   extension = service_->GetExtensionById(id, false);
extension        2711 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_TRUE(extension->from_webstore());
extension        2725 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = InstallCRX(path, INSTALL_NEW);
extension        2726 chrome/browser/extensions/extension_service_unittest.cc   std::string id = extension->id();
extension        2728 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_EQ("1.0.0.0", extension->version()->GetString());
extension        2735 chrome/browser/extensions/extension_service_unittest.cc   extension = service_->GetExtensionById(id, false);
extension        2737 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_EQ("1.0.0.1", extension->version()->GetString());
extension        2738 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_EQ("My updated extension 1", extension->name());
extension        3005 chrome/browser/extensions/extension_service_unittest.cc bool IsExtension(const Extension* extension) {
extension        3006 chrome/browser/extensions/extension_service_unittest.cc   return extension->GetType() == Manifest::TYPE_EXTENSION;
extension        3051 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = service_->GetExtensionById(kGoodId, true);
extension        3052 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_TRUE(extension);
extension        3057 chrome/browser/extensions/extension_service_unittest.cc bool IsTheme(const Extension* extension) {
extension        3058 chrome/browser/extensions/extension_service_unittest.cc   return extension->is_theme();
extension        3076 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = service_->GetExtensionById(theme_crx, true);
extension        3077 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_TRUE(extension);
extension        3080 chrome/browser/extensions/extension_service_unittest.cc                    ->IsExtensionDisabled(extension->id()));
extension        3110 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = service_->GetExtensionById(theme_crx, true);
extension        3111 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_TRUE(extension);
extension        3114 chrome/browser/extensions/extension_service_unittest.cc                    ->IsExtensionDisabled(extension->id()));
extension        3115 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_TRUE(service_->IsExtensionEnabled(extension->id()));
extension        3116 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_FALSE(extensions::util::IsIncognitoEnabled(extension->id(),
extension        3180 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = service_->GetExtensionById(theme_crx, true);
extension        3181 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_FALSE(extension);
extension        3796 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = (registry_->enabled_extensions().begin())->get();
extension        3797 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_TRUE(service_->UninstallExtension(extension->id(), false, NULL));
extension        3976 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = service_->GetExtensionById(good_crx, false);
extension        3977 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_TRUE(extension->from_webstore());
extension        3978 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_TRUE(extension->was_installed_by_default());
extension        4095 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = service_->GetExtensionById(good_crx, true);
extension        4096 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_TRUE(extension->from_webstore());
extension        4097 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_TRUE(extension->was_installed_by_default());
extension        4098 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_FALSE(extension->from_bookmark());
extension        4324 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = InstallCRX(path, INSTALL_NEW);
extension        4325 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_TRUE(extension);
extension        4326 chrome/browser/extensions/extension_service_unittest.cc   GURL ext_url(extension->url());
extension        4417 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension =
extension        4421 chrome/browser/extensions/extension_service_unittest.cc   const std::string id1 = extension->id();
extension        4422 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_TRUE(extension->HasAPIPermission(
extension        4425 chrome/browser/extensions/extension_service_unittest.cc       extensions::AppLaunchInfo::GetFullLaunchURL(extension).GetOrigin());
extension        4431 chrome/browser/extensions/extension_service_unittest.cc   extension = PackAndInstallCRX(data_dir_.AppendASCII("app2"), INSTALL_NEW);
extension        4434 chrome/browser/extensions/extension_service_unittest.cc   const std::string id2 = extension->id();
extension        4435 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_TRUE(extension->HasAPIPermission(
extension        4437 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_TRUE(extension->web_extent().MatchesURL(
extension        4438 chrome/browser/extensions/extension_service_unittest.cc       extensions::AppLaunchInfo::GetFullLaunchURL(extension)));
extension        4440 chrome/browser/extensions/extension_service_unittest.cc       extensions::AppLaunchInfo::GetFullLaunchURL(extension).GetOrigin());
extension        5432 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = service_->GetExtensionById(good0, true);
extension        5433 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_TRUE(extension);
extension        5435 chrome/browser/extensions/extension_service_unittest.cc   extensions::ExtensionSyncData disable_good_crx(*extension, false, false);
extension        5469 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = service_->GetExtensionById(good0, true);
extension        5482 chrome/browser/extensions/extension_service_unittest.cc   extensions::ExtensionSyncData disable_good_crx(*extension, false, false);
extension        5501 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = service_->GetInstalledExtension(good_crx);
extension        5502 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_TRUE(extension);
extension        5515 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_EQ(extension->id(), data.id());
extension        5520 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_TRUE(data.version().Equals(*extension->version()));
extension        5521 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_EQ(extensions::ManifestURL::GetUpdateURL(extension),
extension        5523 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_EQ(extension->name(), data.name());
extension        5531 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = service_->GetInstalledExtension(good_crx);
extension        5532 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_TRUE(extension);
extension        5546 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_EQ(extension->id(), data.id());
extension        5551 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_TRUE(data.version().Equals(*extension->version()));
extension        5552 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_EQ(extensions::ManifestURL::GetUpdateURL(extension),
extension        5554 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_EQ(extension->name(), data.name());
extension        5561 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = service_->GetInstalledExtension(good_crx);
extension        5562 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_TRUE(extension);
extension        5582 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = service_->GetInstalledExtension(good_crx);
extension        5583 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_TRUE(extension);
extension        5638 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = service_->GetInstalledExtension(good_crx);
extension        5639 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_TRUE(extension);
extension        6438 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension = PackAndInstallCRX(path, pem_path, INSTALL_NEW);
extension        6441 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_EQ(test_id, extension->id());
extension        6685 chrome/browser/extensions/extension_service_unittest.cc   const Extension* extension =
extension        6687 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_TRUE(extension);
extension        6688 chrome/browser/extensions/extension_service_unittest.cc   EXPECT_EQ(page_action, extension->id());
extension        6802 chrome/browser/extensions/extension_service_unittest.cc   scoped_refptr<Extension> extension = extensions::ExtensionBuilder()
extension        6808 chrome/browser/extensions/extension_service_unittest.cc   ASSERT_TRUE(extension.get());
extension        6809 chrome/browser/extensions/extension_service_unittest.cc   const std::string& id = extension->id();
extension        6819 chrome/browser/extensions/extension_service_unittest.cc       extension.get(),
extension          91 chrome/browser/extensions/extension_special_storage_policy.cc     const extensions::Extension* extension) {
extension          92 chrome/browser/extensions/extension_special_storage_policy.cc   return extension->is_hosted_app() && !extension->from_bookmark();
extension         103 chrome/browser/extensions/extension_special_storage_policy.cc     const extensions::Extension* extension) {
extension         104 chrome/browser/extensions/extension_special_storage_policy.cc   DCHECK(extension);
extension         105 chrome/browser/extensions/extension_special_storage_policy.cc   if (!(NeedsProtection(extension) ||
extension         106 chrome/browser/extensions/extension_special_storage_policy.cc         extension->HasAPIPermission(APIPermission::kUnlimitedStorage) ||
extension         107 chrome/browser/extensions/extension_special_storage_policy.cc         extension->HasAPIPermission(APIPermission::kFileBrowserHandler) ||
extension         108 chrome/browser/extensions/extension_special_storage_policy.cc         extensions::AppIsolationInfo::HasIsolatedStorage(extension) ||
extension         109 chrome/browser/extensions/extension_special_storage_policy.cc         extension->is_app())) {
extension         116 chrome/browser/extensions/extension_special_storage_policy.cc     if (NeedsProtection(extension) && protected_apps_.Add(extension))
extension         119 chrome/browser/extensions/extension_special_storage_policy.cc     if (extension->is_app())
extension         120 chrome/browser/extensions/extension_special_storage_policy.cc       installed_apps_.Add(extension);
extension         122 chrome/browser/extensions/extension_special_storage_policy.cc     if (extension->HasAPIPermission(APIPermission::kUnlimitedStorage) &&
extension         123 chrome/browser/extensions/extension_special_storage_policy.cc         unlimited_extensions_.Add(extension))
extension         126 chrome/browser/extensions/extension_special_storage_policy.cc     if (extension->HasAPIPermission(APIPermission::kFileBrowserHandler))
extension         127 chrome/browser/extensions/extension_special_storage_policy.cc       file_handler_extensions_.Add(extension);
extension         129 chrome/browser/extensions/extension_special_storage_policy.cc     if (extensions::AppIsolationInfo::HasIsolatedStorage(extension))
extension         130 chrome/browser/extensions/extension_special_storage_policy.cc       isolated_extensions_.Add(extension);
extension         134 chrome/browser/extensions/extension_special_storage_policy.cc     NotifyGranted(Extension::GetBaseURLFromExtensionId(extension->id()),
extension         140 chrome/browser/extensions/extension_special_storage_policy.cc     const extensions::Extension* extension) {
extension         141 chrome/browser/extensions/extension_special_storage_policy.cc   DCHECK(extension);
extension         142 chrome/browser/extensions/extension_special_storage_policy.cc   if (!(NeedsProtection(extension) ||
extension         143 chrome/browser/extensions/extension_special_storage_policy.cc         extension->HasAPIPermission(APIPermission::kUnlimitedStorage) ||
extension         144 chrome/browser/extensions/extension_special_storage_policy.cc         extension->HasAPIPermission(APIPermission::kFileBrowserHandler) ||
extension         145 chrome/browser/extensions/extension_special_storage_policy.cc         extensions::AppIsolationInfo::HasIsolatedStorage(extension) ||
extension         146 chrome/browser/extensions/extension_special_storage_policy.cc         extension->is_app())) {
extension         152 chrome/browser/extensions/extension_special_storage_policy.cc     if (NeedsProtection(extension) && protected_apps_.Remove(extension))
extension         155 chrome/browser/extensions/extension_special_storage_policy.cc     if (extension->is_app())
extension         156 chrome/browser/extensions/extension_special_storage_policy.cc       installed_apps_.Remove(extension);
extension         158 chrome/browser/extensions/extension_special_storage_policy.cc     if (extension->HasAPIPermission(APIPermission::kUnlimitedStorage) &&
extension         159 chrome/browser/extensions/extension_special_storage_policy.cc         unlimited_extensions_.Remove(extension))
extension         162 chrome/browser/extensions/extension_special_storage_policy.cc     if (extension->HasAPIPermission(APIPermission::kFileBrowserHandler))
extension         163 chrome/browser/extensions/extension_special_storage_policy.cc       file_handler_extensions_.Remove(extension);
extension         165 chrome/browser/extensions/extension_special_storage_policy.cc     if (extensions::AppIsolationInfo::HasIsolatedStorage(extension))
extension         166 chrome/browser/extensions/extension_special_storage_policy.cc       isolated_extensions_.Remove(extension);
extension         170 chrome/browser/extensions/extension_special_storage_policy.cc     NotifyRevoked(Extension::GetBaseURLFromExtensionId(extension->id()),
extension         262 chrome/browser/extensions/extension_special_storage_policy.cc     const extensions::Extension* extension) {
extension         264 chrome/browser/extensions/extension_special_storage_policy.cc   return extensions_.Insert(extension);
extension         268 chrome/browser/extensions/extension_special_storage_policy.cc     const extensions::Extension* extension) {
extension         270 chrome/browser/extensions/extension_special_storage_policy.cc   return extensions_.Remove(extension->id());
extension          40 chrome/browser/extensions/extension_special_storage_policy.h   void GrantRightsForExtension(const extensions::Extension* extension);
extension          41 chrome/browser/extensions/extension_special_storage_policy.h   void RevokeRightsForExtension(const extensions::Extension* extension);
extension          45 chrome/browser/extensions/extension_special_storage_policy.h   bool NeedsProtection(const extensions::Extension* extension);
extension          64 chrome/browser/extensions/extension_special_storage_policy.h     bool Add(const extensions::Extension* extension);
extension          65 chrome/browser/extensions/extension_special_storage_policy.h     bool Remove(const extensions::Extension* extension);
extension         200 chrome/browser/extensions/extension_special_storage_policy_unittest.cc   scoped_refptr<Extension> extension(CreateProtectedApp());
extension         201 chrome/browser/extensions/extension_special_storage_policy_unittest.cc   policy_->GrantRightsForExtension(extension.get());
extension         203 chrome/browser/extensions/extension_special_storage_policy_unittest.cc   protecting_extensions.Insert(extension);
extension         206 chrome/browser/extensions/extension_special_storage_policy_unittest.cc   EXPECT_FALSE(policy_->IsStorageUnlimited(extension->url()));
extension         214 chrome/browser/extensions/extension_special_storage_policy_unittest.cc   policy_->RevokeRightsForExtension(extension.get());
extension         221 chrome/browser/extensions/extension_special_storage_policy_unittest.cc   scoped_refptr<Extension> extension(CreateUnlimitedApp());
extension         222 chrome/browser/extensions/extension_special_storage_policy_unittest.cc   policy_->GrantRightsForExtension(extension.get());
extension         224 chrome/browser/extensions/extension_special_storage_policy_unittest.cc   protecting_extensions.Insert(extension);
extension         233 chrome/browser/extensions/extension_special_storage_policy_unittest.cc   EXPECT_TRUE(policy_->IsStorageUnlimited(extension->url()));
extension         240 chrome/browser/extensions/extension_special_storage_policy_unittest.cc   policy_->RevokeRightsForExtension(extension.get());
extension          47 chrome/browser/extensions/extension_sync_bundle.cc     const Extension* extension) const {
extension          49 chrome/browser/extensions/extension_sync_bundle.cc       extension_sync_service_->GetExtensionSyncData(*extension);
extension         119 chrome/browser/extensions/extension_sync_bundle.cc void ExtensionSyncBundle::SyncChangeIfNeeded(const Extension& extension) {
extension         121 chrome/browser/extensions/extension_sync_bundle.cc       extension_sync_service_->GetExtensionSyncData(extension);
extension         124 chrome/browser/extensions/extension_sync_bundle.cc       HasExtensionId(extension.id()) ?
extension         127 chrome/browser/extensions/extension_sync_bundle.cc   MarkPendingExtensionSynced(extension.id());
extension         147 chrome/browser/extensions/extension_sync_bundle.cc     const Extension& extension = *it->get();
extension         151 chrome/browser/extensions/extension_sync_bundle.cc     if (IsSyncing() && sync_helper::IsSyncableExtension(&extension) &&
extension         152 chrome/browser/extensions/extension_sync_bundle.cc         !HasPendingExtensionId(extension.id())) {
extension         154 chrome/browser/extensions/extension_sync_bundle.cc           extension_sync_service_->GetExtensionSyncData(extension));
extension          47 chrome/browser/extensions/extension_sync_bundle.h   syncer::SyncChange CreateSyncChangeToDelete(const Extension* extension) const;
extension          86 chrome/browser/extensions/extension_sync_bundle.h   virtual void SyncChangeIfNeeded(const Extension& extension) OVERRIDE;
extension          39 chrome/browser/extensions/extension_sync_data.cc ExtensionSyncData::ExtensionSyncData(const Extension& extension,
extension          42 chrome/browser/extensions/extension_sync_data.cc    :  id_(extension.id()),
extension          46 chrome/browser/extensions/extension_sync_data.cc       version_(*extension.version()),
extension          47 chrome/browser/extensions/extension_sync_data.cc       update_url_(ManifestURL::GetUpdateURL(&extension)),
extension          48 chrome/browser/extensions/extension_sync_data.cc       name_(extension.non_localized_name()) {
extension         109 chrome/browser/extensions/extension_sync_data.cc     PopulateFromExtensionSpecifics(entity_specifics.extension());
extension          32 chrome/browser/extensions/extension_sync_data.h   ExtensionSyncData(const Extension& extension,
extension          66 chrome/browser/extensions/extension_sync_data_unittest.cc       output_sync_data.GetSpecifics().extension();
extension          68 chrome/browser/extensions/extension_sync_service.cc     const extensions::Extension* extension, bool extensions_ready) {
extension          75 chrome/browser/extensions/extension_sync_service.cc   if (extensions::sync_helper::IsSyncableApp(extension)) {
extension          77 chrome/browser/extensions/extension_sync_service.cc       return app_sync_bundle_.CreateSyncChangeToDelete(extension);
extension          80 chrome/browser/extensions/extension_sync_service.cc   } else if (extensions::sync_helper::IsSyncableExtension(extension)) {
extension          82 chrome/browser/extensions/extension_sync_service.cc       return extension_sync_bundle_.CreateSyncChangeToDelete(extension);
extension         103 chrome/browser/extensions/extension_sync_service.cc     const extensions::Extension& extension) {
extension         106 chrome/browser/extensions/extension_sync_service.cc   if (extensions::sync_helper::IsSyncableApp(&extension))
extension         107 chrome/browser/extensions/extension_sync_service.cc     pending_app_enables_.OnExtensionEnabled(extension.id());
extension         109 chrome/browser/extensions/extension_sync_service.cc   if (extensions::sync_helper::IsSyncableExtension(&extension))
extension         110 chrome/browser/extensions/extension_sync_service.cc     pending_extension_enables_.OnExtensionEnabled(extension.id());
extension         112 chrome/browser/extensions/extension_sync_service.cc   SyncExtensionChangeIfNeeded(extension);
extension         116 chrome/browser/extensions/extension_sync_service.cc     const extensions::Extension& extension) {
extension         119 chrome/browser/extensions/extension_sync_service.cc   if (extensions::sync_helper::IsSyncableApp(&extension))
extension         120 chrome/browser/extensions/extension_sync_service.cc     pending_app_enables_.OnExtensionDisabled(extension.id());
extension         122 chrome/browser/extensions/extension_sync_service.cc   if (extensions::sync_helper::IsSyncableExtension(&extension))
extension         123 chrome/browser/extensions/extension_sync_service.cc     pending_extension_enables_.OnExtensionDisabled(extension.id());
extension         125 chrome/browser/extensions/extension_sync_service.cc   SyncExtensionChangeIfNeeded(extension);
extension         228 chrome/browser/extensions/extension_sync_service.cc     const Extension& extension) const {
extension         230 chrome/browser/extensions/extension_sync_service.cc       extension,
extension         231 chrome/browser/extensions/extension_sync_service.cc       extension_service_->IsExtensionEnabled(extension.id()),
extension         232 chrome/browser/extensions/extension_sync_service.cc       extensions::util::IsIncognitoEnabled(extension.id(), profile_));
extension         236 chrome/browser/extensions/extension_sync_service.cc     const Extension& extension) const {
extension         238 chrome/browser/extensions/extension_sync_service.cc       extension,
extension         239 chrome/browser/extensions/extension_sync_service.cc       extension_service_->IsExtensionEnabled(extension.id()),
extension         240 chrome/browser/extensions/extension_sync_service.cc       extensions::util::IsIncognitoEnabled(extension.id(), profile_),
extension         241 chrome/browser/extensions/extension_sync_service.cc       extension_prefs_->app_sorting()->GetAppLaunchOrdinal(extension.id()),
extension         242 chrome/browser/extensions/extension_sync_service.cc       extension_prefs_->app_sorting()->GetPageOrdinal(extension.id()),
extension         243 chrome/browser/extensions/extension_sync_service.cc       extensions::GetLaunchTypePrefValue(extension_prefs_, extension.id()));
extension         344 chrome/browser/extensions/extension_sync_service.cc bool ExtensionSyncService::IsCorrectSyncType(const Extension& extension,
extension         347 chrome/browser/extensions/extension_sync_service.cc       extensions::sync_helper::IsSyncableExtension(&extension)) {
extension         352 chrome/browser/extensions/extension_sync_service.cc       extensions::sync_helper::IsSyncableApp(&extension)) {
extension         369 chrome/browser/extensions/extension_sync_service.cc   const Extension* extension = extension_service_->GetInstalledExtension(id);
extension         374 chrome/browser/extensions/extension_sync_service.cc   if (extension && !IsCorrectSyncType(*extension, type))
extension         409 chrome/browser/extensions/extension_sync_service.cc   bool extension_installed = (extension != NULL);
extension         410 chrome/browser/extensions/extension_sync_service.cc   int result = extension ?
extension         411 chrome/browser/extensions/extension_sync_service.cc       extension->version()->CompareTo(extension_sync_data.version()) : 0;
extension         414 chrome/browser/extensions/extension_sync_service.cc   extension = NULL;  // No longer safe to use.
extension         451 chrome/browser/extensions/extension_sync_service.cc     const Extension& extension) {
extension         452 chrome/browser/extensions/extension_sync_service.cc   if (extensions::sync_helper::IsSyncableApp(&extension)) {
extension         454 chrome/browser/extensions/extension_sync_service.cc       app_sync_bundle_.SyncChangeIfNeeded(extension);
extension         457 chrome/browser/extensions/extension_sync_service.cc   } else if (extensions::sync_helper::IsSyncableExtension(&extension)) {
extension         459 chrome/browser/extensions/extension_sync_service.cc       extension_sync_bundle_.SyncChangeIfNeeded(extension);
extension          59 chrome/browser/extensions/extension_sync_service.h       const extensions::Extension& extension);
extension          77 chrome/browser/extensions/extension_sync_service.h       const extensions::Extension& extension) const;
extension          82 chrome/browser/extensions/extension_sync_service.h       const extensions::Extension& extension) const;
extension          99 chrome/browser/extensions/extension_sync_service.h       const extensions::Extension* extension,
extension         104 chrome/browser/extensions/extension_sync_service.h   void SyncEnableExtension(const extensions::Extension& extension);
extension         105 chrome/browser/extensions/extension_sync_service.h   void SyncDisableExtension(const extensions::Extension& extension);
extension         115 chrome/browser/extensions/extension_sync_service.h   bool IsCorrectSyncType(const extensions::Extension& extension,
extension         407 chrome/browser/extensions/extension_system_impl.cc     const Extension* extension) {
extension         409 chrome/browser/extensions/extension_system_impl.cc   if (extension->location() != Manifest::COMPONENT) {
extension         411 chrome/browser/extensions/extension_system_impl.cc         GetInstallTime(extension->id());
extension         413 chrome/browser/extensions/extension_system_impl.cc   bool incognito_enabled = util::IsIncognitoEnabled(extension->id(), profile_);
extension         419 chrome/browser/extensions/extension_system_impl.cc       extension->id());
extension         430 chrome/browser/extensions/extension_system_impl.cc                  make_scoped_refptr(extension), install_time,
extension          53 chrome/browser/extensions/extension_system_impl.h       const Extension* extension) OVERRIDE;
extension          89 chrome/browser/extensions/extension_tab_util.cc     const Extension* extension) {
extension          94 chrome/browser/extensions/extension_tab_util.cc       (!extension || controller->IsVisibleToExtension(extension))) {
extension          95 chrome/browser/extensions/extension_tab_util.cc     return controller->CreateTabValue(extension, tab_index);
extension          99 chrome/browser/extensions/extension_tab_util.cc   ScrubTabValueForExtension(contents, extension, result);
extension         105 chrome/browser/extensions/extension_tab_util.cc     const Extension* extension) {
extension         112 chrome/browser/extensions/extension_tab_util.cc                                     extension));
extension         173 chrome/browser/extensions/extension_tab_util.cc     const Extension* extension,
extension         176 chrome/browser/extensions/extension_tab_util.cc       extension &&
extension         178 chrome/browser/extensions/extension_tab_util.cc           extension, GetTabId(contents), APIPermission::kTab);
extension         187 chrome/browser/extensions/extension_tab_util.cc void ExtensionTabUtil::ScrubTabForExtension(const Extension* extension,
extension         189 chrome/browser/extensions/extension_tab_util.cc   bool has_permission = extension && extension->HasAPIPermission(
extension         270 chrome/browser/extensions/extension_tab_util.cc                                                   const Extension* extension) {
extension         273 chrome/browser/extensions/extension_tab_util.cc     url = extension->GetResourceURL(url_string);
extension         337 chrome/browser/extensions/extension_tab_util.cc void ExtensionTabUtil::OpenOptionsPage(const Extension* extension,
extension         339 chrome/browser/extensions/extension_tab_util.cc   DCHECK(!ManifestURL::GetOptionsPage(extension).is_empty());
extension         351 chrome/browser/extensions/extension_tab_util.cc   content::OpenURLParams params(ManifestURL::GetOptionsPage(extension),
extension          45 chrome/browser/extensions/extension_tab_util.h                                         const Extension* extension);
extension          53 chrome/browser/extensions/extension_tab_util.h       const Extension* extension) {
extension          54 chrome/browser/extensions/extension_tab_util.h     return CreateTabValue(web_contents, NULL, -1, extension);
extension          60 chrome/browser/extensions/extension_tab_util.h       const Extension* extension);
extension          77 chrome/browser/extensions/extension_tab_util.h                                         const Extension* extension,
extension          82 chrome/browser/extensions/extension_tab_util.h   static void ScrubTabForExtension(const Extension* extension,
extension         109 chrome/browser/extensions/extension_tab_util.h                                          const Extension* extension);
extension         129 chrome/browser/extensions/extension_tab_util.h   static void OpenOptionsPage(const Extension* extension, Browser* browser);
extension          44 chrome/browser/extensions/extension_tab_util_android.cc     const Extension* extension) {
extension          51 chrome/browser/extensions/extension_tab_util_android.cc                                                  const Extension* extension) {
extension          95 chrome/browser/extensions/extension_tab_util_android.cc                                                   const Extension* extension) {
extension         265 chrome/browser/extensions/extension_test_notification_observer.cc         const Extension* extension =
extension         267 chrome/browser/extensions/extension_test_notification_observer.cc         if (extension)
extension         268 chrome/browser/extensions/extension_test_notification_observer.cc           last_loaded_extension_id_ = extension->id();
extension          38 chrome/browser/extensions/extension_toolbar_model.cc     const extensions::Extension* extension) {
extension          89 chrome/browser/extensions/extension_toolbar_model.cc void ExtensionToolbarModel::MoveBrowserAction(const Extension* extension,
extension          92 chrome/browser/extensions/extension_toolbar_model.cc       toolbar_items_.end(), extension);
extension         101 chrome/browser/extensions/extension_toolbar_model.cc                      last_known_positions_.end(), extension->id());
extension         113 chrome/browser/extensions/extension_toolbar_model.cc       last_known_positions_.insert(pos_id, extension->id());
extension         115 chrome/browser/extensions/extension_toolbar_model.cc       toolbar_items_.insert(iter, make_scoped_refptr(extension));
extension         125 chrome/browser/extensions/extension_toolbar_model.cc     toolbar_items_.push_back(make_scoped_refptr(extension));
extension         126 chrome/browser/extensions/extension_toolbar_model.cc     last_known_positions_.push_back(extension->id());
extension         129 chrome/browser/extensions/extension_toolbar_model.cc   FOR_EACH_OBSERVER(Observer, observers_, BrowserActionMoved(extension, index));
extension         135 chrome/browser/extensions/extension_toolbar_model.cc     const Extension* extension,
extension         148 chrome/browser/extensions/extension_toolbar_model.cc       GetBrowserAction(*extension);
extension         156 chrome/browser/extensions/extension_toolbar_model.cc         active_tab_permission_granter()->GrantIfRequested(extension);
extension         196 chrome/browser/extensions/extension_toolbar_model.cc   const Extension* extension = NULL;
extension         198 chrome/browser/extensions/extension_toolbar_model.cc     extension = content::Details<extensions::UnloadedExtensionInfo>(
extension         199 chrome/browser/extensions/extension_toolbar_model.cc         details)->extension;
extension         202 chrome/browser/extensions/extension_toolbar_model.cc     extension = extension_service->GetExtensionById(
extension         205 chrome/browser/extensions/extension_toolbar_model.cc     extension = content::Details<const Extension>(details).ptr();
extension         212 chrome/browser/extensions/extension_toolbar_model.cc       if (toolbar_items_[i].get() == extension)
extension         216 chrome/browser/extensions/extension_toolbar_model.cc             extension_prefs_, extension->id())) {
extension         217 chrome/browser/extensions/extension_toolbar_model.cc       AddExtension(extension);
extension         220 chrome/browser/extensions/extension_toolbar_model.cc     RemoveExtension(extension);
extension         222 chrome/browser/extensions/extension_toolbar_model.cc     UninstalledExtension(extension);
extension         226 chrome/browser/extensions/extension_toolbar_model.cc             extension_prefs_, extension->id())) {
extension         227 chrome/browser/extensions/extension_toolbar_model.cc       AddExtension(extension);
extension         229 chrome/browser/extensions/extension_toolbar_model.cc       RemoveExtension(extension);
extension         237 chrome/browser/extensions/extension_toolbar_model.cc     const Extension* extension) {
extension         244 chrome/browser/extensions/extension_toolbar_model.cc     if ((*iter_id) == extension->id())
extension         260 chrome/browser/extensions/extension_toolbar_model.cc void ExtensionToolbarModel::AddExtension(const Extension* extension) {
extension         262 chrome/browser/extensions/extension_toolbar_model.cc   if (!ExtensionActionManager::Get(profile_)->GetBrowserAction(*extension))
extension         270 chrome/browser/extensions/extension_toolbar_model.cc                                                  extension->id());
extension         272 chrome/browser/extensions/extension_toolbar_model.cc     new_index = FindNewPositionFromLastKnownGood(extension);
extension         275 chrome/browser/extensions/extension_toolbar_model.cc                             make_scoped_refptr(extension));
extension         277 chrome/browser/extensions/extension_toolbar_model.cc       toolbar_items_.push_back(make_scoped_refptr(extension));
extension         282 chrome/browser/extensions/extension_toolbar_model.cc     toolbar_items_.push_back(make_scoped_refptr(extension));
extension         283 chrome/browser/extensions/extension_toolbar_model.cc     last_known_positions_.push_back(extension->id());
extension         293 chrome/browser/extensions/extension_toolbar_model.cc                       BrowserActionAdded(extension, new_index));
extension         297 chrome/browser/extensions/extension_toolbar_model.cc void ExtensionToolbarModel::RemoveExtension(const Extension* extension) {
extension         299 chrome/browser/extensions/extension_toolbar_model.cc       std::find(toolbar_items_.begin(), toolbar_items_.end(), extension);
extension         310 chrome/browser/extensions/extension_toolbar_model.cc                     extension);
extension         313 chrome/browser/extensions/extension_toolbar_model.cc       FOR_EACH_OBSERVER(Observer, observers_, BrowserActionRemoved(extension));
extension         319 chrome/browser/extensions/extension_toolbar_model.cc     FOR_EACH_OBSERVER(Observer, observers_, BrowserActionRemoved(extension));
extension         325 chrome/browser/extensions/extension_toolbar_model.cc void ExtensionToolbarModel::UninstalledExtension(const Extension* extension) {
extension         330 chrome/browser/extensions/extension_toolbar_model.cc                 last_known_positions_.end(), extension->id());
extension         372 chrome/browser/extensions/extension_toolbar_model.cc     const Extension* extension = it->get();
extension         373 chrome/browser/extensions/extension_toolbar_model.cc     if (!extension_action_manager->GetBrowserAction(*extension))
extension         376 chrome/browser/extensions/extension_toolbar_model.cc             extension_prefs_, extension->id())) {
extension         382 chrome/browser/extensions/extension_toolbar_model.cc         std::find(positions.begin(), positions.end(), extension->id());
extension         384 chrome/browser/extensions/extension_toolbar_model.cc       sorted[pos - positions.begin()] = extension;
extension         386 chrome/browser/extensions/extension_toolbar_model.cc       unsorted.push_back(make_scoped_refptr(extension));
extension         502 chrome/browser/extensions/extension_toolbar_model.cc bool ExtensionToolbarModel::ShowBrowserActionPopup(const Extension* extension) {
extension         507 chrome/browser/extensions/extension_toolbar_model.cc     if (obs->BrowserActionShowPopup(extension))
extension         533 chrome/browser/extensions/extension_toolbar_model.cc     for (ExtensionList::const_iterator extension = toolbar_items_.begin();
extension         534 chrome/browser/extensions/extension_toolbar_model.cc          extension != toolbar_items_.end(); ++extension) {
extension         535 chrome/browser/extensions/extension_toolbar_model.cc       if ((*extension)->id() == (*it)) {
extension         536 chrome/browser/extensions/extension_toolbar_model.cc         if (extension - toolbar_items_.begin() >= visible_icon_count_)
extension         537 chrome/browser/extensions/extension_toolbar_model.cc           MoveBrowserAction(*extension, 0);
extension         551 chrome/browser/extensions/extension_toolbar_model.cc     for (ExtensionList::const_iterator extension = toolbar_items_.begin();
extension         552 chrome/browser/extensions/extension_toolbar_model.cc          extension != toolbar_items_.end();
extension         553 chrome/browser/extensions/extension_toolbar_model.cc          ++extension) {
extension         554 chrome/browser/extensions/extension_toolbar_model.cc       if (*id == (*extension)->id())
extension         555 chrome/browser/extensions/extension_toolbar_model.cc         highlighted_items_.push_back(*extension);
extension          46 chrome/browser/extensions/extension_toolbar_model.h     virtual void BrowserActionAdded(const Extension* extension, int index) {}
extension          49 chrome/browser/extensions/extension_toolbar_model.h     virtual void BrowserActionRemoved(const Extension* extension) {}
extension          52 chrome/browser/extensions/extension_toolbar_model.h     virtual void BrowserActionMoved(const Extension* extension, int index) {}
extension          56 chrome/browser/extensions/extension_toolbar_model.h     virtual bool BrowserActionShowPopup(const Extension* extension);
extension          81 chrome/browser/extensions/extension_toolbar_model.h   void MoveBrowserAction(const Extension* extension, int index);
extension          89 chrome/browser/extensions/extension_toolbar_model.h   Action ExecuteBrowserAction(const Extension* extension,
extension         116 chrome/browser/extensions/extension_toolbar_model.h   bool ShowBrowserActionPopup(const Extension* extension);
extension         155 chrome/browser/extensions/extension_toolbar_model.h   size_t FindNewPositionFromLastKnownGood(const Extension* extension);
extension         160 chrome/browser/extensions/extension_toolbar_model.h   void AddExtension(const Extension* extension);
extension         161 chrome/browser/extensions/extension_toolbar_model.h   void RemoveExtension(const Extension* extension);
extension         162 chrome/browser/extensions/extension_toolbar_model.h   void UninstalledExtension(const Extension* extension);
extension          39 chrome/browser/extensions/extension_toolbar_model_browsertest.cc   virtual void BrowserActionAdded(const Extension* extension,
extension          44 chrome/browser/extensions/extension_toolbar_model_browsertest.cc   virtual void BrowserActionRemoved(const Extension* extension) OVERRIDE {
extension          48 chrome/browser/extensions/extension_toolbar_model_browsertest.cc   virtual void BrowserActionMoved(const Extension* extension,
extension          96 chrome/browser/extensions/extension_toolbar_model_browsertest.cc   const Extension* extension = ExtensionAt(0);
extension          97 chrome/browser/extensions/extension_toolbar_model_browsertest.cc   ASSERT_TRUE(NULL != extension);
extension          99 chrome/browser/extensions/extension_toolbar_model_browsertest.cc                extension->name().c_str());
extension         102 chrome/browser/extensions/extension_toolbar_model_browsertest.cc   model_->MoveBrowserAction(extension, 0);
extension         106 chrome/browser/extensions/extension_toolbar_model_browsertest.cc   EXPECT_EQ(extension, extension2);
extension         108 chrome/browser/extensions/extension_toolbar_model_browsertest.cc   UnloadExtension(extension->id());
extension          79 chrome/browser/extensions/extension_ui_unittest.cc     scoped_refptr<Extension> extension(Extension::Create(
extension          82 chrome/browser/extensions/extension_ui_unittest.cc     EXPECT_TRUE(extension.get());
extension          85 chrome/browser/extensions/extension_ui_unittest.cc     return handler_->CreateExtensionDetailValue(extension.get(), pages, NULL);
extension          76 chrome/browser/extensions/extension_uninstall_dialog.cc     const extensions::Extension* extension,
extension          79 chrome/browser/extensions/extension_uninstall_dialog.cc   ConfirmUninstall(extension);
extension          83 chrome/browser/extensions/extension_uninstall_dialog.cc     const extensions::Extension* extension) {
extension          85 chrome/browser/extensions/extension_uninstall_dialog.cc   extension_ = extension;
extension          61 chrome/browser/extensions/extension_uninstall_dialog.h   void ConfirmUninstall(const extensions::Extension* extension);
extension          66 chrome/browser/extensions/extension_uninstall_dialog.h       const extensions::Extension* extension,
extension          31 chrome/browser/extensions/extension_util.cc   const Extension* extension = ExtensionRegistry::Get(context)->
extension          33 chrome/browser/extensions/extension_util.cc   if (extension) {
extension          34 chrome/browser/extensions/extension_util.cc     if (!extension->can_be_incognito_enabled())
extension          38 chrome/browser/extensions/extension_util.cc     if (extension->location() == Manifest::COMPONENT)
extension          51 chrome/browser/extensions/extension_util.cc   const Extension* extension = service->GetInstalledExtension(extension_id);
extension          53 chrome/browser/extensions/extension_util.cc   if (extension) {
extension          54 chrome/browser/extensions/extension_util.cc     if (!extension->can_be_incognito_enabled())
extension          57 chrome/browser/extensions/extension_util.cc     if (extension->location() == Manifest::COMPONENT) {
extension          61 chrome/browser/extensions/extension_util.cc       DCHECK(sync_helper::IsSyncable(extension));
extension          88 chrome/browser/extensions/extension_util.cc   extension = service->GetInstalledExtension(id);
extension          89 chrome/browser/extensions/extension_util.cc   if (extension) {
extension          91 chrome/browser/extensions/extension_util.cc         SyncExtensionChangeIfNeeded(*extension);
extension          95 chrome/browser/extensions/extension_util.cc bool CanCrossIncognito(const Extension* extension,
extension         100 chrome/browser/extensions/extension_util.cc   CHECK(extension);
extension         101 chrome/browser/extensions/extension_util.cc   return IsIncognitoEnabled(extension->id(), context) &&
extension         102 chrome/browser/extensions/extension_util.cc          !IncognitoInfo::IsSplitMode(extension);
extension         105 chrome/browser/extensions/extension_util.cc bool CanLoadInIncognito(const Extension* extension,
extension         107 chrome/browser/extensions/extension_util.cc   CHECK(extension);
extension         108 chrome/browser/extensions/extension_util.cc   if (extension->is_hosted_app())
extension         112 chrome/browser/extensions/extension_util.cc   return IncognitoInfo::IsSplitMode(extension) &&
extension         113 chrome/browser/extensions/extension_util.cc          IsIncognitoEnabled(extension->id(), context);
extension         174 chrome/browser/extensions/extension_util.cc   const Extension* extension = ExtensionRegistry::Get(context)->
extension         176 chrome/browser/extensions/extension_util.cc   return extension && !extension->is_ephemeral();
extension         185 chrome/browser/extensions/extension_util.cc scoped_ptr<base::DictionaryValue> GetExtensionInfo(const Extension* extension) {
extension         186 chrome/browser/extensions/extension_util.cc   DCHECK(extension);
extension         189 chrome/browser/extensions/extension_util.cc   dict->SetString("id", extension->id());
extension         190 chrome/browser/extensions/extension_util.cc   dict->SetString("name", extension->name());
extension         193 chrome/browser/extensions/extension_util.cc       extension,
extension         208 chrome/browser/extensions/extension_util.cc   scoped_refptr<const Extension> extension(Extension::Create(
extension         215 chrome/browser/extensions/extension_util.cc   if (!extension.get())
extension         218 chrome/browser/extensions/extension_util.cc   return AppIsolationInfo::HasIsolatedStorage(extension.get());
extension         223 chrome/browser/extensions/extension_util.cc   const Extension* extension = ExtensionRegistry::Get(context)->
extension         225 chrome/browser/extensions/extension_util.cc   if (extension)
extension         226 chrome/browser/extensions/extension_util.cc     return AppIsolationInfo::HasIsolatedStorage(extension);
extension          41 chrome/browser/extensions/extension_util.h bool CanCrossIncognito(const extensions::Extension* extension,
extension          45 chrome/browser/extensions/extension_util.h bool CanLoadInIncognito(const extensions::Extension* extension,
extension          84 chrome/browser/extensions/extension_util.h scoped_ptr<base::DictionaryValue> GetExtensionInfo(const Extension* extension);
extension          59 chrome/browser/extensions/extension_view_host.cc     const Extension* extension,
extension          63 chrome/browser/extensions/extension_view_host.cc     : ExtensionHost(extension, site_instance, url, host_type),
extension         145 chrome/browser/extensions/extension_view_host.cc           runtime_data()->IsBackgroundPageReady(extension())) {
extension         149 chrome/browser/extensions/extension_view_host.cc                      content::Source<Extension>(extension()));
extension         335 chrome/browser/extensions/extension_view_host.cc                runtime_data()->IsBackgroundPageReady(extension()));
extension          40 chrome/browser/extensions/extension_view_host.h   ExtensionViewHost(const Extension* extension,
extension          29 chrome/browser/extensions/extension_view_host_factory.cc ExtensionViewHost* CreateViewHostForExtension(const Extension* extension,
extension          42 chrome/browser/extensions/extension_view_host_factory.cc       new ExtensionViewHostMac(extension, site_instance, url, view_type);
extension          44 chrome/browser/extensions/extension_view_host_factory.cc       new ExtensionViewHost(extension, site_instance, url, view_type);
extension          52 chrome/browser/extensions/extension_view_host_factory.cc ExtensionViewHost* CreateViewHostForIncognito(const Extension* extension,
extension          57 chrome/browser/extensions/extension_view_host_factory.cc   DCHECK(extension);
extension          60 chrome/browser/extensions/extension_view_host_factory.cc   if (!IncognitoInfo::IsSplitMode(extension)) {
extension          64 chrome/browser/extensions/extension_view_host_factory.cc         extension, url, original_profile, browser, view_type);
extension          68 chrome/browser/extensions/extension_view_host_factory.cc   if (util::IsIncognitoEnabled(extension->id(), profile)) {
extension          70 chrome/browser/extensions/extension_view_host_factory.cc         extension, url, profile, browser, view_type);
extension         101 chrome/browser/extensions/extension_view_host_factory.cc   const Extension* extension = GetExtensionForUrl(profile, url);
extension         102 chrome/browser/extensions/extension_view_host_factory.cc   if (!extension)
extension         106 chrome/browser/extensions/extension_view_host_factory.cc         extension, url, profile, browser, view_type);
extension         109 chrome/browser/extensions/extension_view_host_factory.cc       extension, url, profile, browser, view_type);
extension          21 chrome/browser/extensions/extension_view_host_factory_browsertest.cc   scoped_refptr<const Extension> extension =
extension          25 chrome/browser/extensions/extension_view_host_factory_browsertest.cc   ASSERT_TRUE(extension.get());
extension          31 chrome/browser/extensions/extension_view_host_factory_browsertest.cc         ExtensionViewHostFactory::CreatePopupHost(extension->url(), browser()));
extension          32 chrome/browser/extensions/extension_view_host_factory_browsertest.cc     EXPECT_EQ(extension.get(), host->extension());
extension          41 chrome/browser/extensions/extension_view_host_factory_browsertest.cc         ExtensionViewHostFactory::CreateInfobarHost(extension->url(),
extension          43 chrome/browser/extensions/extension_view_host_factory_browsertest.cc     EXPECT_EQ(extension.get(), host->extension());
extension          52 chrome/browser/extensions/extension_view_host_factory_browsertest.cc         ExtensionViewHostFactory::CreateDialogHost(extension->url(),
extension          54 chrome/browser/extensions/extension_view_host_factory_browsertest.cc     EXPECT_EQ(extension.get(), host->extension());
extension          19 chrome/browser/extensions/extension_view_host_mac.h   ExtensionViewHostMac(const Extension* extension,
extension          23 chrome/browser/extensions/extension_view_host_mac.h       ExtensionViewHost(extension, site_instance, url, host_type) {}
extension         128 chrome/browser/extensions/extension_warning_service.cc       const Extension* extension =
extension         130 chrome/browser/extensions/extension_warning_service.cc           extension;
extension         134 chrome/browser/extensions/extension_warning_service.cc           GetWarningTypesAffectingExtension(extension->id());
extension         192 chrome/browser/extensions/extension_warning_set.cc       const extensions::Extension* extension =
extension         194 chrome/browser/extensions/extension_warning_set.cc       message = extension ? extension->name() : extension_id;
extension         128 chrome/browser/extensions/extension_web_ui.cc                          const Extension** extension) {
extension         141 chrome/browser/extensions/extension_web_ui.cc   *extension = extensions.GetByID(override_url->host());
extension         142 chrome/browser/extensions/extension_web_ui.cc   if (!*extension) {
extension         158 chrome/browser/extensions/extension_web_ui.cc   const Extension* extension =
extension         160 chrome/browser/extensions/extension_web_ui.cc   DCHECK(extension);
extension         169 chrome/browser/extensions/extension_web_ui.cc   if (extension->id() == extension_misc::kBookmarkManagerId) {
extension         226 chrome/browser/extensions/extension_web_ui.cc     const Extension* extension;
extension         228 chrome/browser/extensions/extension_web_ui.cc             val, *url, extensions, &override_url, &extension)) {
extension         239 chrome/browser/extensions/extension_web_ui.cc         extensions::IncognitoInfo::IsSplitMode(extension) &&
extension         240 chrome/browser/extensions/extension_web_ui.cc         extensions::util::IsIncognitoEnabled(extension->id(), profile);
extension         245 chrome/browser/extensions/extension_web_ui.cc     if (!extensions::Manifest::IsComponentLocation(extension->location())) {
extension         416 chrome/browser/extensions/extension_web_ui.cc   const Extension* extension = service->extensions()->GetByID(page_url.host());
extension         417 chrome/browser/extensions/extension_web_ui.cc   if (!extension) {
extension         433 chrome/browser/extensions/extension_web_ui.cc         extensions::IconsInfo::GetIconResource(extension,
extension         448 chrome/browser/extensions/extension_web_ui.cc       extension, info_list, base::Bind(&RunFaviconCallbackAsync, callback));
extension          35 chrome/browser/extensions/extension_web_ui_override_registrar.cc     const Extension* extension =
extension          38 chrome/browser/extensions/extension_web_ui_override_registrar.cc         profile_, URLOverrides::GetChromeURLOverrides(extension));
extension          41 chrome/browser/extensions/extension_web_ui_override_registrar.cc     const Extension* extension =
extension          42 chrome/browser/extensions/extension_web_ui_override_registrar.cc         content::Details<UnloadedExtensionInfo>(details)->extension;
extension          44 chrome/browser/extensions/extension_web_ui_override_registrar.cc         profile_, URLOverrides::GetChromeURLOverrides(extension));
extension          15 chrome/browser/extensions/extension_webkit_preferences.cc void SetPreferences(const extensions::Extension* extension,
extension          18 chrome/browser/extensions/extension_webkit_preferences.cc   if (!extension)
extension          21 chrome/browser/extensions/extension_webkit_preferences.cc   if (!extension->is_hosted_app()) {
extension          39 chrome/browser/extensions/extension_webkit_preferences.cc   if (extension->is_platform_app()) {
extension          18 chrome/browser/extensions/extension_webkit_preferences.h void SetPreferences(const extensions::Extension* extension,
extension          51 chrome/browser/extensions/external_install_ui.cc bool UseBubbleInstall(const Extension* extension, bool is_new_profile) {
extension          52 chrome/browser/extensions/external_install_ui.cc   return ManifestURL::UpdatesFromGallery(extension) && !is_new_profile;
extension          70 chrome/browser/extensions/external_install_ui.cc                                 const Extension* extension,
extension         120 chrome/browser/extensions/external_install_ui.cc                            const Extension* extension);
extension         156 chrome/browser/extensions/external_install_ui.cc                              const Extension* extension,
extension         191 chrome/browser/extensions/external_install_ui.cc   const Extension* extension = service->GetInstalledExtension(extension_id);
extension         192 chrome/browser/extensions/external_install_ui.cc   if (!extension)
extension         202 chrome/browser/extensions/external_install_ui.cc       service.get(), extension, delegate, prompt);
extension         212 chrome/browser/extensions/external_install_ui.cc     const Extension* extension) {
extension         214 chrome/browser/extensions/external_install_ui.cc   new ExternalInstallDialogDelegate(browser, service, extension, false);
extension         222 chrome/browser/extensions/external_install_ui.cc     const Extension* extension,
extension         226 chrome/browser/extensions/external_install_ui.cc       extension_id_(extension->id()),
extension         249 chrome/browser/extensions/external_install_ui.cc       extension->id()));
extension         297 chrome/browser/extensions/external_install_ui.cc   const Extension* extension = NULL;
extension         299 chrome/browser/extensions/external_install_ui.cc       !(extension = service_weak_->GetInstalledExtension(extension_id_))) {
extension         312 chrome/browser/extensions/external_install_ui.cc   install_ui_->ConfirmExternalInstall(this, extension, callback, *prompt_);
extension         319 chrome/browser/extensions/external_install_ui.cc   const Extension* extension = NULL;
extension         321 chrome/browser/extensions/external_install_ui.cc       (extension = service_weak_->GetInstalledExtension(extension_id_))) {
extension         322 chrome/browser/extensions/external_install_ui.cc     service_weak_->GrantPermissionsAndEnableExtension(extension);
extension         328 chrome/browser/extensions/external_install_ui.cc   const Extension* extension = NULL;
extension         330 chrome/browser/extensions/external_install_ui.cc       (extension = service_weak_->GetInstalledExtension(extension_id_))) {
extension         340 chrome/browser/extensions/external_install_ui.cc     const Extension* extension)
extension         342 chrome/browser/extensions/external_install_ui.cc       extension_(extension) {
extension         419 chrome/browser/extensions/external_install_ui.cc   const Extension* extension = content::Details<const Extension>(details).ptr();
extension         420 chrome/browser/extensions/external_install_ui.cc   if (extension != extension_)
extension         433 chrome/browser/extensions/external_install_ui.cc     const Extension* extension,
extension         436 chrome/browser/extensions/external_install_ui.cc     : ExternalInstallMenuAlert(service, extension),
extension         513 chrome/browser/extensions/external_install_ui.cc                              const Extension* extension,
extension         520 chrome/browser/extensions/external_install_ui.cc   if (UseBubbleInstall(extension, is_new_profile)) {
extension         527 chrome/browser/extensions/external_install_ui.cc     new ExternalInstallDialogDelegate(browser, service, extension, true);
extension         530 chrome/browser/extensions/external_install_ui.cc         new ExternalInstallMenuAlert(service, extension));
extension          19 chrome/browser/extensions/external_install_ui.h                              const Extension* extension,
extension          44 chrome/browser/extensions/external_pref_loader.cc   base::FilePath::StringType extension = base::UTF8ToWide(std::string(".json"));
extension          46 chrome/browser/extensions/external_pref_loader.cc   base::FilePath::StringType extension(".json");
extension          54 chrome/browser/extensions/external_pref_loader.cc     if (file.MatchesExtension(extension)) {
extension         111 chrome/browser/extensions/external_provider_impl.cc     const base::DictionaryValue* extension = NULL;
extension         119 chrome/browser/extensions/external_provider_impl.cc     if (!i.value().GetAsDictionary(&extension)) {
extension         131 chrome/browser/extensions/external_provider_impl.cc     bool has_external_crx = extension->GetString(kExternalCrx, &external_crx);
extension         134 chrome/browser/extensions/external_provider_impl.cc     if (extension->Get(kExternalVersion, &external_version_value)) {
extension         146 chrome/browser/extensions/external_provider_impl.cc     bool has_external_update_url = extension->GetString(kExternalUpdateUrl,
extension         165 chrome/browser/extensions/external_provider_impl.cc     if (extension->GetList(kSupportedLocales, &supported_locales)) {
extension         200 chrome/browser/extensions/external_provider_impl.cc     if (extension->GetBoolean(kIsBookmarkApp, &is_bookmark_app) &&
extension         205 chrome/browser/extensions/external_provider_impl.cc     if (extension->GetBoolean(kIsFromWebstore, &is_from_webstore) &&
extension         210 chrome/browser/extensions/external_provider_impl.cc     if (extension->GetBoolean(kKeepIfPresent, &keep_if_present) &&
extension         214 chrome/browser/extensions/external_provider_impl.cc       const Extension* extension = extension_service ?
extension         216 chrome/browser/extensions/external_provider_impl.cc       if (!extension) {
extension         225 chrome/browser/extensions/external_provider_impl.cc     extension->GetString(kInstallParam, &install_parameter);
extension         319 chrome/browser/extensions/external_provider_impl.cc   base::DictionaryValue* extension = NULL;
extension         320 chrome/browser/extensions/external_provider_impl.cc   if (!prefs_->GetDictionary(id, &extension))
extension         324 chrome/browser/extensions/external_provider_impl.cc   if (extension->HasKey(kExternalUpdateUrl)) {
extension         327 chrome/browser/extensions/external_provider_impl.cc   } else if (extension->HasKey(kExternalCrx)) {
extension         331 chrome/browser/extensions/external_provider_impl.cc     if (!extension->GetString(kExternalVersion, &external_version))
extension          34 chrome/browser/extensions/gtalk_extension_browsertest.cc     const Extension* extension = InstallExtensionWithUIAutoConfirm(
extension          37 chrome/browser/extensions/gtalk_extension_browsertest.cc     installed_extension_id_ = extension->id();
extension         122 chrome/browser/extensions/image_loader.cc     const Extension* extension,
extension         135 chrome/browser/extensions/image_loader.cc            extension->path() == it->resource.extension_root());
extension         138 chrome/browser/extensions/image_loader.cc     if (extension->location() == Manifest::COMPONENT &&
extension         140 chrome/browser/extensions/image_loader.cc             extension->path(), it->resource.relative_path(), &resource_id)) {
extension         306 chrome/browser/extensions/image_loader.cc void ImageLoader::LoadImageAsync(const Extension* extension,
extension         316 chrome/browser/extensions/image_loader.cc   LoadImagesAsync(extension, info_list, callback);
extension         320 chrome/browser/extensions/image_loader.cc     const Extension* extension,
extension         330 chrome/browser/extensions/image_loader.cc                  LoadResourceBitmaps(extension, info_list)),
extension         336 chrome/browser/extensions/image_loader.cc     const extensions::Extension* extension,
extension         346 chrome/browser/extensions/image_loader.cc                  LoadResourceBitmaps(extension, info_list)),
extension          93 chrome/browser/extensions/image_loader.h   void LoadImageAsync(const extensions::Extension* extension,
extension         101 chrome/browser/extensions/image_loader.h   void LoadImagesAsync(const extensions::Extension* extension,
extension         112 chrome/browser/extensions/image_loader.h   void LoadImageFamilyAsync(const extensions::Extension* extension,
extension         126 chrome/browser/extensions/image_loader_unittest.cc   scoped_refptr<Extension> extension(CreateExtension(
extension         128 chrome/browser/extensions/image_loader_unittest.cc   ASSERT_TRUE(extension.get() != NULL);
extension         131 chrome/browser/extensions/image_loader_unittest.cc       extension.get(),
extension         137 chrome/browser/extensions/image_loader_unittest.cc   loader.LoadImageAsync(extension.get(),
extension         159 chrome/browser/extensions/image_loader_unittest.cc   scoped_refptr<Extension> extension(CreateExtension(
extension         161 chrome/browser/extensions/image_loader_unittest.cc   ASSERT_TRUE(extension.get() != NULL);
extension         164 chrome/browser/extensions/image_loader_unittest.cc       extension.get(),
extension         172 chrome/browser/extensions/image_loader_unittest.cc   loader.LoadImageAsync(extension.get(),
extension         182 chrome/browser/extensions/image_loader_unittest.cc   UnloadedExtensionInfo details(extension.get(),
extension         191 chrome/browser/extensions/image_loader_unittest.cc   extension = NULL;
extension         206 chrome/browser/extensions/image_loader_unittest.cc   scoped_refptr<Extension> extension(CreateExtension(
extension         208 chrome/browser/extensions/image_loader_unittest.cc   ASSERT_TRUE(extension.get() != NULL);
extension         215 chrome/browser/extensions/image_loader_unittest.cc         extension.get(), sizes[i], ExtensionIconSet::MATCH_EXACTLY);
extension         224 chrome/browser/extensions/image_loader_unittest.cc   loader.LoadImagesAsync(extension.get(), info_list,
extension         251 chrome/browser/extensions/image_loader_unittest.cc   scoped_refptr<Extension> extension(
extension         253 chrome/browser/extensions/image_loader_unittest.cc   ASSERT_TRUE(extension.get() != NULL);
extension         260 chrome/browser/extensions/image_loader_unittest.cc         extension.get(), sizes[i], ExtensionIconSet::MATCH_EXACTLY);
extension         271 chrome/browser/extensions/image_loader_unittest.cc       extension.get(),
extension         282 chrome/browser/extensions/image_loader_unittest.cc   loader.LoadImageFamilyAsync(extension.get(),
extension         320 chrome/browser/extensions/image_loader_unittest.cc   scoped_refptr<Extension> extension(CreateExtension(
extension         322 chrome/browser/extensions/image_loader_unittest.cc   ASSERT_TRUE(extension.get() != NULL);
extension         325 chrome/browser/extensions/image_loader_unittest.cc       extension.get(),
extension         332 chrome/browser/extensions/image_loader_unittest.cc             ImageLoader::IsComponentExtensionResource(extension->path(),
extension          58 chrome/browser/extensions/install_observer.h   virtual void OnExtensionInstalled(const Extension* extension) {}
extension          63 chrome/browser/extensions/install_observer.h   virtual void OnExtensionLoaded(const Extension* extension) {}
extension          64 chrome/browser/extensions/install_observer.h   virtual void OnExtensionUnloaded(const Extension* extension) {}
extension          65 chrome/browser/extensions/install_observer.h   virtual void OnExtensionUninstalled(const Extension* extension) {}
extension          66 chrome/browser/extensions/install_observer.h   virtual void OnDisabledExtensionUpdated(const Extension* extension) {}
extension          98 chrome/browser/extensions/install_tracker.cc       const Extension* extension =
extension         100 chrome/browser/extensions/install_tracker.cc               extension;
extension         102 chrome/browser/extensions/install_tracker.cc                         OnExtensionInstalled(extension));
extension         106 chrome/browser/extensions/install_tracker.cc       const Extension* extension =
extension         109 chrome/browser/extensions/install_tracker.cc                         OnExtensionLoaded(extension));
extension         115 chrome/browser/extensions/install_tracker.cc       const Extension* extension = unload_info->extension;
extension         117 chrome/browser/extensions/install_tracker.cc                         OnExtensionUnloaded(extension));
extension         121 chrome/browser/extensions/install_tracker.cc       const Extension* extension =
extension         125 chrome/browser/extensions/install_tracker.cc                         OnExtensionUninstalled(extension));
extension         129 chrome/browser/extensions/install_tracker.cc       const Extension* extension =
extension         132 chrome/browser/extensions/install_tracker.cc           InstallObserver, observers_, OnDisabledExtensionUpdated(extension));
extension         127 chrome/browser/extensions/install_verifier.cc bool FromStore(const Extension& extension) {
extension         128 chrome/browser/extensions/install_verifier.cc   if (extension.from_webstore() || ManifestURL::UpdatesFromGallery(&extension))
extension         136 chrome/browser/extensions/install_verifier.cc   return (ManifestURL::GetUpdateURL(&extension).is_empty() &&
extension         137 chrome/browser/extensions/install_verifier.cc           Manifest::IsAutoUpdateableLocation(extension.location()));
extension         140 chrome/browser/extensions/install_verifier.cc bool CanUseExtensionApis(const Extension& extension) {
extension         141 chrome/browser/extensions/install_verifier.cc   return extension.is_extension() || extension.is_legacy_packaged_app();
extension         190 chrome/browser/extensions/install_verifier.cc bool InstallVerifier::NeedsVerification(const Extension& extension) {
extension         191 chrome/browser/extensions/install_verifier.cc   return FromStore(extension) && CanUseExtensionApis(extension);
extension         341 chrome/browser/extensions/install_verifier.cc bool InstallVerifier::MustRemainDisabled(const Extension* extension,
extension         344 chrome/browser/extensions/install_verifier.cc   CHECK(extension);
extension         345 chrome/browser/extensions/install_verifier.cc   if (!CanUseExtensionApis(*extension)) {
extension         349 chrome/browser/extensions/install_verifier.cc   if (Manifest::IsUnpackedLocation(extension->location())) {
extension         353 chrome/browser/extensions/install_verifier.cc   if (extension->location() == Manifest::COMPONENT) {
extension         357 chrome/browser/extensions/install_verifier.cc   if (AllowedByEnterprisePolicy(extension->id())) {
extension         364 chrome/browser/extensions/install_verifier.cc   if (ContainsKey(InstallSigner::GetForcedNotFromWebstore(), extension->id())) {
extension         367 chrome/browser/extensions/install_verifier.cc   } else if (!FromStore(*extension)) {
extension         376 chrome/browser/extensions/install_verifier.cc   } else if (!IsVerified(extension->id())) {
extension         377 chrome/browser/extensions/install_verifier.cc     if (!ContainsKey(signature_->invalid_ids, extension->id())) {
extension          49 chrome/browser/extensions/install_verifier.h   static bool NeedsVerification(const Extension& extension);
extension          78 chrome/browser/extensions/install_verifier.h   virtual bool MustRemainDisabled(const Extension* extension,
extension         109 chrome/browser/extensions/installed_loader.cc BackgroundPageType GetBackgroundPageType(const Extension* extension) {
extension         110 chrome/browser/extensions/installed_loader.cc   if (!BackgroundInfo::HasBackgroundPage(extension))
extension         112 chrome/browser/extensions/installed_loader.cc   if (BackgroundInfo::HasPersistentBackgroundPage(extension))
extension         129 chrome/browser/extensions/installed_loader.cc   scoped_refptr<const Extension> extension(NULL);
extension         131 chrome/browser/extensions/installed_loader.cc     extension = Extension::Create(
extension         144 chrome/browser/extensions/installed_loader.cc   if (extension.get() && !Manifest::IsUnpackedLocation(extension->location()) &&
extension         145 chrome/browser/extensions/installed_loader.cc       info.extension_id != extension->id()) {
extension         147 chrome/browser/extensions/installed_loader.cc     extension = NULL;
extension         155 chrome/browser/extensions/installed_loader.cc   if (extension.get()) {
extension         158 chrome/browser/extensions/installed_loader.cc     if (!policy->UserMayLoad(extension.get(), NULL)) {
extension         162 chrome/browser/extensions/installed_loader.cc       extension = NULL;
extension         163 chrome/browser/extensions/installed_loader.cc     } else if (!extension_prefs_->IsExtensionDisabled(extension->id()) &&
extension         164 chrome/browser/extensions/installed_loader.cc                policy->MustRemainDisabled(extension, &disable_reason, NULL)) {
extension         165 chrome/browser/extensions/installed_loader.cc       extension_prefs_->SetExtensionState(extension->id(), Extension::DISABLED);
extension         166 chrome/browser/extensions/installed_loader.cc       extension_prefs_->AddDisableReason(extension->id(), disable_reason);
extension         173 chrome/browser/extensions/installed_loader.cc   if (!extension.get()) {
extension         180 chrome/browser/extensions/installed_loader.cc     extension_prefs_->UpdateManifest(extension.get());
extension         182 chrome/browser/extensions/installed_loader.cc   extension_service_->AddExtension(extension.get());
extension         219 chrome/browser/extensions/installed_loader.cc       scoped_refptr<const Extension> extension(
extension         226 chrome/browser/extensions/installed_loader.cc       if (!extension.get()) {
extension         234 chrome/browser/extensions/installed_loader.cc               extension->manifest()->value()->DeepCopy()));
extension          50 chrome/browser/extensions/launch_util.cc                          const Extension* extension) {
extension          56 chrome/browser/extensions/launch_util.cc       extension->id() != extension_misc::kChromeAppId) {
extension          60 chrome/browser/extensions/launch_util.cc   int value = GetLaunchTypePrefValue(prefs, extension->id());
extension          68 chrome/browser/extensions/launch_util.cc     if (!extension->is_platform_app() && result == LAUNCH_TYPE_WINDOW)
extension          99 chrome/browser/extensions/launch_util.cc   const Extension* extension = service->GetInstalledExtension(extension_id);
extension         100 chrome/browser/extensions/launch_util.cc   if (extension) {
extension         102 chrome/browser/extensions/launch_util.cc         SyncExtensionChangeIfNeeded(*extension);
extension         107 chrome/browser/extensions/launch_util.cc                                    const Extension* extension) {
extension         109 chrome/browser/extensions/launch_util.cc       AppLaunchInfo::GetLaunchContainer(extension);
extension         123 chrome/browser/extensions/launch_util.cc     LaunchType prefs_launch_type = GetLaunchType(prefs, extension);
extension         160 chrome/browser/extensions/launch_util.cc                                  const Extension* extension) {
extension         163 chrome/browser/extensions/launch_util.cc       AppLaunchInfo::GetLaunchContainer(extension);
extension         165 chrome/browser/extensions/launch_util.cc       prefs->ReadPrefAsInteger(extension->id(), kPrefLaunchType, &value);
extension          33 chrome/browser/extensions/launch_util.h                          const Extension* extension);
extension          49 chrome/browser/extensions/launch_util.h                                    const Extension* extension);
extension          55 chrome/browser/extensions/launch_util.h                                  const Extension* extension);
extension          99 chrome/browser/extensions/lazy_background_page_apitest.cc     const Extension* extension = LoadExtension(extdir);
extension         100 chrome/browser/extensions/lazy_background_page_apitest.cc     if (extension)
extension         102 chrome/browser/extensions/lazy_background_page_apitest.cc     return extension;
extension         160 chrome/browser/extensions/lazy_background_page_apitest.cc   const Extension* extension = LoadExtensionAndWait("broadcast_event");
extension         161 chrome/browser/extensions/lazy_background_page_apitest.cc   ASSERT_TRUE(extension);
extension         189 chrome/browser/extensions/lazy_background_page_apitest.cc   const Extension* extension = LoadExtensionAndWait("filters");
extension         190 chrome/browser/extensions/lazy_background_page_apitest.cc   ASSERT_TRUE(extension);
extension         218 chrome/browser/extensions/lazy_background_page_apitest.cc   const Extension* extension = LoadExtension(extdir);
extension         219 chrome/browser/extensions/lazy_background_page_apitest.cc   ASSERT_TRUE(extension);
extension         226 chrome/browser/extensions/lazy_background_page_apitest.cc   EXPECT_TRUE(IsBackgroundPageAlive(extension->id()));
extension         231 chrome/browser/extensions/lazy_background_page_apitest.cc   int previous_keep_alive_count = pm->GetLazyKeepaliveCount(extension);
extension         234 chrome/browser/extensions/lazy_background_page_apitest.cc             pm->GetLazyKeepaliveCount(extension));
extension         238 chrome/browser/extensions/lazy_background_page_apitest.cc   EXPECT_FALSE(IsBackgroundPageAlive(extension->id()));
extension         248 chrome/browser/extensions/lazy_background_page_apitest.cc   const Extension* extension = LoadExtension(extdir);
extension         249 chrome/browser/extensions/lazy_background_page_apitest.cc   ASSERT_TRUE(extension);
extension         253 chrome/browser/extensions/lazy_background_page_apitest.cc   EXPECT_EQ(extension->GetResourceURL("extension_page.html").spec(),
extension         280 chrome/browser/extensions/lazy_background_page_apitest.cc   const Extension* extension = LoadExtension(extdir);
extension         281 chrome/browser/extensions/lazy_background_page_apitest.cc   ASSERT_TRUE(extension);
extension         315 chrome/browser/extensions/lazy_background_page_apitest.cc   const Extension* extension = LoadExtension(extdir);
extension         316 chrome/browser/extensions/lazy_background_page_apitest.cc   ASSERT_TRUE(extension);
extension         445 chrome/browser/extensions/lazy_background_page_apitest.cc   const Extension* extension = LoadExtensionAndWait("messaging");
extension         446 chrome/browser/extensions/lazy_background_page_apitest.cc   ASSERT_TRUE(extension);
extension         462 chrome/browser/extensions/lazy_background_page_apitest.cc   int previous_keep_alive_count = pm->GetLazyKeepaliveCount(extension);
extension         463 chrome/browser/extensions/lazy_background_page_apitest.cc   pm->KeepaliveImpulse(extension);
extension         465 chrome/browser/extensions/lazy_background_page_apitest.cc             pm->GetLazyKeepaliveCount(extension));
extension         496 chrome/browser/extensions/lazy_background_page_apitest.cc   const extensions::Extension* extension =
extension         500 chrome/browser/extensions/lazy_background_page_apitest.cc   GURL page_url = extension->GetResourceURL("page.html");
extension         533 chrome/browser/extensions/lazy_background_page_apitest.cc   const Extension* extension = LoadExtension(extdir);
extension         534 chrome/browser/extensions/lazy_background_page_apitest.cc   ASSERT_TRUE(extension);
extension         538 chrome/browser/extensions/lazy_background_page_apitest.cc   EXPECT_EQ(extension->GetResourceURL("extension_page.html").spec(),
extension         346 chrome/browser/extensions/menu_manager.cc bool MenuManager::AddContextItem(const Extension* extension, MenuItem* item) {
extension         353 chrome/browser/extensions/menu_manager.cc   DCHECK_EQ(extension->id(), key.extension_id);
extension         368 chrome/browser/extensions/menu_manager.cc     icon_manager_.LoadIcon(profile_, extension);
extension         622 chrome/browser/extensions/menu_manager.cc   const Extension* extension =
extension         670 chrome/browser/extensions/menu_manager.cc   if (!extension || !extension->is_platform_app()) {
extension         692 chrome/browser/extensions/menu_manager.cc     if (extension)
extension         693 chrome/browser/extensions/menu_manager.cc       WriteToStorage(extension, item->id().extension_key);
extension         699 chrome/browser/extensions/menu_manager.cc         active_tab_permission_granter()->GrantIfRequested(extension);
extension         782 chrome/browser/extensions/menu_manager.cc void MenuManager::WriteToStorage(const Extension* extension,
extension         784 chrome/browser/extensions/menu_manager.cc   if (!BackgroundInfo::HasLazyBackgroundPage(extension))
extension         800 chrome/browser/extensions/menu_manager.cc     store_->SetExtensionValue(extension->id(), kContextMenusKey,
extension         807 chrome/browser/extensions/menu_manager.cc   const Extension* extension =
extension         810 chrome/browser/extensions/menu_manager.cc   if (!extension)
extension         826 chrome/browser/extensions/menu_manager.cc       added = AddContextItem(extension, items[i]);
extension         840 chrome/browser/extensions/menu_manager.cc       const Extension* extension =
extension         841 chrome/browser/extensions/menu_manager.cc           content::Details<UnloadedExtensionInfo>(details)->extension;
extension         842 chrome/browser/extensions/menu_manager.cc       MenuItem::ExtensionKey extension_key(extension->id());
extension         849 chrome/browser/extensions/menu_manager.cc       const Extension* extension =
extension         851 chrome/browser/extensions/menu_manager.cc       if (store_ && BackgroundInfo::HasLazyBackgroundPage(extension)) {
extension         852 chrome/browser/extensions/menu_manager.cc         store_->GetExtensionValue(extension->id(), kContextMenusKey,
extension         854 chrome/browser/extensions/menu_manager.cc                        AsWeakPtr(), extension->id()));
extension         294 chrome/browser/extensions/menu_manager.h   bool AddContextItem(const Extension* extension, MenuItem* item);
extension         342 chrome/browser/extensions/menu_manager.h   void WriteToStorage(const Extension* extension,
extension          61 chrome/browser/extensions/menu_manager_unittest.cc   MenuItem* CreateTestItem(Extension* extension, bool incognito = false) {
extension          64 chrome/browser/extensions/menu_manager_unittest.cc     const MenuItem::ExtensionKey key(extension->id());
extension          71 chrome/browser/extensions/menu_manager_unittest.cc   MenuItem* CreateTestItemWithID(Extension* extension,
extension          75 chrome/browser/extensions/menu_manager_unittest.cc     const MenuItem::ExtensionKey key(extension->id());
extension          84 chrome/browser/extensions/menu_manager_unittest.cc     scoped_refptr<Extension> extension = prefs_.AddExtension(name);
extension          85 chrome/browser/extensions/menu_manager_unittest.cc     extensions_.push_back(extension);
extension          86 chrome/browser/extensions/menu_manager_unittest.cc     return extension.get();
extension         106 chrome/browser/extensions/menu_manager_unittest.cc   Extension* extension = AddExtension("test");
extension         109 chrome/browser/extensions/menu_manager_unittest.cc   MenuItem* item1 = CreateTestItem(extension);
extension         111 chrome/browser/extensions/menu_manager_unittest.cc   ASSERT_TRUE(manager_.AddContextItem(extension, item1));
extension         118 chrome/browser/extensions/menu_manager_unittest.cc   MenuItem* item2 = CreateTestItemWithID(extension, "id2");
extension         119 chrome/browser/extensions/menu_manager_unittest.cc   ASSERT_TRUE(manager_.AddContextItem(extension, item2));
extension         127 chrome/browser/extensions/menu_manager_unittest.cc   MenuItem* item3 = CreateTestItem(extension);
extension         130 chrome/browser/extensions/menu_manager_unittest.cc   ASSERT_TRUE(manager_.AddContextItem(extension, item3));
extension         138 chrome/browser/extensions/menu_manager_unittest.cc   const MenuItem::ExtensionKey key(extension->id());
extension         144 chrome/browser/extensions/menu_manager_unittest.cc   scoped_ptr<MenuItem> item2too(CreateTestItemWithID(extension, "id2"));
extension         145 chrome/browser/extensions/menu_manager_unittest.cc   ASSERT_FALSE(manager_.AddContextItem(extension, item2too.get()));
extension         209 chrome/browser/extensions/menu_manager_unittest.cc   Extension* extension = AddExtension("test");
extension         246 chrome/browser/extensions/menu_manager_unittest.cc   scoped_ptr<MenuItem> item(MenuItem::Populate(extension->id(), value, &error));
extension         249 chrome/browser/extensions/menu_manager_unittest.cc   EXPECT_EQ(extension->id(), item->extension_id());
extension         274 chrome/browser/extensions/menu_manager_unittest.cc   Extension* extension = AddExtension("1111");
extension         277 chrome/browser/extensions/menu_manager_unittest.cc   MenuItem* item1 = CreateTestItem(extension);
extension         278 chrome/browser/extensions/menu_manager_unittest.cc   MenuItem* item2 = CreateTestItem(extension);
extension         279 chrome/browser/extensions/menu_manager_unittest.cc   MenuItem* item3 = CreateTestItemWithID(extension, "id3");
extension         280 chrome/browser/extensions/menu_manager_unittest.cc   MenuItem* item4 = CreateTestItemWithID(extension, "id4");
extension         281 chrome/browser/extensions/menu_manager_unittest.cc   MenuItem* item5 = CreateTestItem(extension);
extension         282 chrome/browser/extensions/menu_manager_unittest.cc   MenuItem* item6 = CreateTestItem(extension);
extension         289 chrome/browser/extensions/menu_manager_unittest.cc   const MenuItem::ExtensionKey key(extension->id());
extension         293 chrome/browser/extensions/menu_manager_unittest.cc   ASSERT_TRUE(manager_.AddContextItem(extension, item1));
extension         574 chrome/browser/extensions/menu_manager_unittest.cc   Extension* extension = AddExtension("test");
extension         575 chrome/browser/extensions/menu_manager_unittest.cc   MenuItem* parent = CreateTestItem(extension);
extension         576 chrome/browser/extensions/menu_manager_unittest.cc   MenuItem* item = CreateTestItem(extension);
extension         579 chrome/browser/extensions/menu_manager_unittest.cc   ASSERT_TRUE(manager_.AddContextItem(extension, parent));
extension         641 chrome/browser/extensions/menu_manager_unittest.cc   Extension* extension = AddExtension("test");
extension         644 chrome/browser/extensions/menu_manager_unittest.cc   MenuItem* item1 = CreateTestItem(extension);
extension         649 chrome/browser/extensions/menu_manager_unittest.cc   manager_.AddContextItem(extension, item1);
extension         654 chrome/browser/extensions/menu_manager_unittest.cc   MenuItem* item2 = CreateTestItem(extension);
extension         659 chrome/browser/extensions/menu_manager_unittest.cc   manager_.AddContextItem(extension, item2);
extension         684 chrome/browser/extensions/menu_manager_unittest.cc   MenuItem* new_item = CreateTestItem(extension);
extension         689 chrome/browser/extensions/menu_manager_unittest.cc   manager_.AddContextItem(extension, new_item);
extension         693 chrome/browser/extensions/menu_manager_unittest.cc   MenuItem* parent = CreateTestItem(extension);
extension         694 chrome/browser/extensions/menu_manager_unittest.cc   manager_.AddContextItem(extension, parent);
extension         695 chrome/browser/extensions/menu_manager_unittest.cc   MenuItem* child1 = CreateTestItem(extension);
extension         698 chrome/browser/extensions/menu_manager_unittest.cc   MenuItem* child2 = CreateTestItem(extension);
extension          61 chrome/browser/extensions/navigation_observer.cc   const Extension* extension =
extension          64 chrome/browser/extensions/navigation_observer.cc   if (!extension)
extension          68 chrome/browser/extensions/navigation_observer.cc   if (prompted_extensions_.find(extension->id()) != prompted_extensions_.end())
extension          70 chrome/browser/extensions/navigation_observer.cc   prompted_extensions_.insert(extension->id());
extension          73 chrome/browser/extensions/navigation_observer.cc   if (extension_prefs->DidExtensionEscalatePermissions(extension->id())) {
extension          76 chrome/browser/extensions/navigation_observer.cc     in_progress_prompt_extension_id_ = extension->id();
extension          81 chrome/browser/extensions/navigation_observer.cc     extension_install_prompt_->ConfirmReEnable(this, extension);
extension          88 chrome/browser/extensions/navigation_observer.cc   const Extension* extension = extension_service->GetExtensionById(
extension          92 chrome/browser/extensions/navigation_observer.cc   CHECK(extension);
extension         100 chrome/browser/extensions/navigation_observer.cc   extension_service->GrantPermissionsAndEnableExtension(extension);
extension         107 chrome/browser/extensions/navigation_observer.cc   const Extension* extension = extension_service->GetExtensionById(
extension         118 chrome/browser/extensions/navigation_observer.cc       extension, histogram_name.c_str());
extension          33 chrome/browser/extensions/notifications_apitest.cc     const extensions::Extension* extension = LoadExtension(extdir);
extension          34 chrome/browser/extensions/notifications_apitest.cc     if (extension)
extension          36 chrome/browser/extensions/notifications_apitest.cc     return extension;
extension          60 chrome/browser/extensions/notifications_apitest.cc   const extensions::Extension* extension =
extension          62 chrome/browser/extensions/notifications_apitest.cc   ASSERT_TRUE(extension) << message_;
extension          34 chrome/browser/extensions/options_page_apitest.cc   const Extension* extension =
extension          36 chrome/browser/extensions/options_page_apitest.cc   ASSERT_TRUE(extension);
extension          57 chrome/browser/extensions/options_page_apitest.cc   EXPECT_EQ(extension->GetResourceURL("options.html"),
extension         183 chrome/browser/extensions/page_action_browsertest.cc   const Extension* extension = LoadExtension(extension_path);
extension         184 chrome/browser/extensions/page_action_browsertest.cc   ASSERT_TRUE(extension);
extension         194 chrome/browser/extensions/page_action_browsertest.cc                extension->description().c_str());
extension         196 chrome/browser/extensions/page_action_browsertest.cc                extension->name().c_str());
extension         201 chrome/browser/extensions/page_action_browsertest.cc                GetPageAction(*extension)->
extension          71 chrome/browser/extensions/page_action_controller.cc   const Extension* extension = service->extensions()->GetByID(extension_id);
extension          72 chrome/browser/extensions/page_action_controller.cc   CHECK(extension);
extension          74 chrome/browser/extensions/page_action_controller.cc       ExtensionActionManager::Get(profile())->GetPageAction(*extension);
extension          79 chrome/browser/extensions/page_action_controller.cc       active_tab_permission_granter()->GrantIfRequested(extension);
extension          93 chrome/browser/extensions/page_action_controller.cc       return extension->ShowConfigureContextMenus() ?
extension          72 chrome/browser/extensions/page_action_controller_unittest.cc   scoped_refptr<const Extension> extension =
extension          83 chrome/browser/extensions/page_action_controller_unittest.cc   extension_service_->AddExtension(extension.get());
extension          88 chrome/browser/extensions/page_action_controller_unittest.cc       *ExtensionActionManager::Get(profile())->GetPageAction(*extension.get());
extension          91 chrome/browser/extensions/page_action_controller_unittest.cc       tab_id(), extension->GetResourceURL("popup.html"));
extension          94 chrome/browser/extensions/page_action_controller_unittest.cc   EXPECT_EQ(extension->GetResourceURL("popup.html"),
extension         101 chrome/browser/extensions/page_action_controller_unittest.cc   EXPECT_EQ(extension->GetResourceURL("popup.html"),
extension          37 chrome/browser/extensions/pending_enables.cc     const Extension* extension = service->GetExtensionById(*it, true);
extension          38 chrome/browser/extensions/pending_enables.cc     if (extension)
extension          39 chrome/browser/extensions/pending_enables.cc       sync_bundle_->SyncChangeIfNeeded(*extension);
extension          60 chrome/browser/extensions/pending_extension_info.h   bool ShouldAllowInstall(const Extension* extension) const {
extension          61 chrome/browser/extensions/pending_extension_info.h     return should_allow_install_(extension);
extension          22 chrome/browser/extensions/pending_extension_manager.cc bool AlwaysInstall(const extensions::Extension* extension) {
extension         166 chrome/browser/extensions/pending_extension_manager.cc   const Extension* extension = service_.GetInstalledExtension(id);
extension         167 chrome/browser/extensions/pending_extension_manager.cc   if (extension && location == Manifest::GetHigherPriorityLocation(
extension         168 chrome/browser/extensions/pending_extension_manager.cc                                    location, extension->location())) {
extension         175 chrome/browser/extensions/pending_extension_manager.cc     if (extension) {
extension          38 chrome/browser/extensions/permissions_updater.cc     const Extension* extension, const PermissionSet* permissions) {
extension          40 chrome/browser/extensions/permissions_updater.cc       extension->GetActivePermissions());
extension          46 chrome/browser/extensions/permissions_updater.cc   UpdateActivePermissions(extension, total.get());
extension          49 chrome/browser/extensions/permissions_updater.cc   GrantActivePermissions(extension);
extension          51 chrome/browser/extensions/permissions_updater.cc   NotifyPermissionsUpdated(ADDED, extension, added.get());
extension          55 chrome/browser/extensions/permissions_updater.cc     const Extension* extension, const PermissionSet* permissions) {
extension          57 chrome/browser/extensions/permissions_updater.cc       extension->GetActivePermissions());
extension          66 chrome/browser/extensions/permissions_updater.cc   UpdateActivePermissions(extension, total.get());
extension          68 chrome/browser/extensions/permissions_updater.cc   NotifyPermissionsUpdated(REMOVED, extension, removed.get());
extension          71 chrome/browser/extensions/permissions_updater.cc void PermissionsUpdater::GrantActivePermissions(const Extension* extension) {
extension          72 chrome/browser/extensions/permissions_updater.cc   CHECK(extension);
extension          76 chrome/browser/extensions/permissions_updater.cc   if (!Manifest::IsUnpackedLocation(extension->location()) &&
extension          77 chrome/browser/extensions/permissions_updater.cc       extension->location() != Manifest::INTERNAL)
extension          81 chrome/browser/extensions/permissions_updater.cc       extension->id(), extension->GetActivePermissions().get());
extension          85 chrome/browser/extensions/permissions_updater.cc     const Extension* extension, const PermissionSet* permissions) {
extension          87 chrome/browser/extensions/permissions_updater.cc       extension->id(), permissions);
extension          88 chrome/browser/extensions/permissions_updater.cc   PermissionsData::SetActivePermissions(extension, permissions);
extension         111 chrome/browser/extensions/permissions_updater.cc     const Extension* extension,
extension         130 chrome/browser/extensions/permissions_updater.cc       extension, changed, reason);
extension         144 chrome/browser/extensions/permissions_updater.cc       info.extension_id = extension->id();
extension         154 chrome/browser/extensions/permissions_updater.cc   DispatchEvent(extension->id(), event_name, changed);
extension          34 chrome/browser/extensions/permissions_updater.h   void AddPermissions(const Extension* extension,
extension          39 chrome/browser/extensions/permissions_updater.h   void RemovePermissions(const Extension* extension,
extension          44 chrome/browser/extensions/permissions_updater.h   void GrantActivePermissions(const Extension* extension);
extension          47 chrome/browser/extensions/permissions_updater.h   void UpdateActivePermissions(const Extension* extension,
extension          67 chrome/browser/extensions/permissions_updater.h                                 const Extension* extension,
extension          70 chrome/browser/extensions/permissions_updater_unittest.cc     extension_ = info->extension;
extension         117 chrome/browser/extensions/permissions_updater_unittest.cc   scoped_refptr<Extension> extension = LoadOurManifest();
extension         118 chrome/browser/extensions/permissions_updater_unittest.cc   ASSERT_TRUE(extension.get());
extension         132 chrome/browser/extensions/permissions_updater_unittest.cc       extension->GetActivePermissions();
extension         134 chrome/browser/extensions/permissions_updater_unittest.cc             *extension->GetActivePermissions().get());
extension         149 chrome/browser/extensions/permissions_updater_unittest.cc   updater.AddPermissions(extension.get(), delta.get());
extension         155 chrome/browser/extensions/permissions_updater_unittest.cc   ASSERT_EQ(extension, listener.extension());
extension         163 chrome/browser/extensions/permissions_updater_unittest.cc             *extension->GetActivePermissions().get());
extension         173 chrome/browser/extensions/permissions_updater_unittest.cc       prefs->GetActivePermissions(extension->id());
extension         176 chrome/browser/extensions/permissions_updater_unittest.cc   from_prefs = prefs->GetGrantedPermissions(extension->id());
extension         186 chrome/browser/extensions/permissions_updater_unittest.cc   updater.RemovePermissions(extension.get(), delta.get());
extension         191 chrome/browser/extensions/permissions_updater_unittest.cc   ASSERT_EQ(extension, listener.extension());
extension         199 chrome/browser/extensions/permissions_updater_unittest.cc             *extension->GetActivePermissions().get());
extension         203 chrome/browser/extensions/permissions_updater_unittest.cc   from_prefs = prefs->GetActivePermissions(extension->id());
extension         206 chrome/browser/extensions/permissions_updater_unittest.cc   from_prefs = prefs->GetGrantedPermissions(extension->id());
extension          68 chrome/browser/extensions/plugin_apitest.cc   const Extension* extension = LoadExtension(extension_dir);
extension          69 chrome/browser/extensions/plugin_apitest.cc   ASSERT_TRUE(extension);
extension          82 chrome/browser/extensions/plugin_apitest.cc   UnloadExtension(extension->id());
extension         148 chrome/browser/extensions/plugin_apitest.cc   const Extension* extension = LoadExtension(extension_dir);
extension         149 chrome/browser/extensions/plugin_apitest.cc   ASSERT_TRUE(extension);
extension         154 chrome/browser/extensions/plugin_apitest.cc       extension->GetResourceURL("test.html"));
extension          54 chrome/browser/extensions/plugin_manager.cc     const Extension* extension =
extension          58 chrome/browser/extensions/plugin_manager.cc     if (PluginInfo::HasPlugins(extension)) {
extension          60 chrome/browser/extensions/plugin_manager.cc           PluginInfo::GetPlugins(extension);
extension          74 chrome/browser/extensions/plugin_manager.cc               plugin->path, profile_, extension->url());
extension          80 chrome/browser/extensions/plugin_manager.cc         NaClModuleInfo::GetNaClModules(extension);
extension          94 chrome/browser/extensions/plugin_manager.cc     const Extension* extension =
extension          95 chrome/browser/extensions/plugin_manager.cc         content::Details<UnloadedExtensionInfo>(details)->extension;
extension          98 chrome/browser/extensions/plugin_manager.cc     if (PluginInfo::HasPlugins(extension)) {
extension         100 chrome/browser/extensions/plugin_manager.cc           PluginInfo::GetPlugins(extension);
extension         113 chrome/browser/extensions/plugin_manager.cc         NaClModuleInfo::GetNaClModules(extension);
extension          37 chrome/browser/extensions/process_manager_browsertest.cc   scoped_refptr<const Extension> extension =
extension          41 chrome/browser/extensions/process_manager_browsertest.cc   ASSERT_TRUE(extension.get());
extension          46 chrome/browser/extensions/process_manager_browsertest.cc   EXPECT_TRUE(pm->GetBackgroundHostForExtension(extension->id()));
extension          47 chrome/browser/extensions/process_manager_browsertest.cc   EXPECT_TRUE(pm->GetSiteInstanceForURL(extension->url()));
extension          48 chrome/browser/extensions/process_manager_browsertest.cc   EXPECT_EQ(1u, pm->GetRenderViewHostsForExtension(extension->id()).size());
extension          49 chrome/browser/extensions/process_manager_browsertest.cc   EXPECT_FALSE(pm->IsBackgroundHostClosing(extension->id()));
extension          50 chrome/browser/extensions/process_manager_browsertest.cc   EXPECT_EQ(0, pm->GetLazyKeepaliveCount(extension.get()));
extension          53 chrome/browser/extensions/process_manager_browsertest.cc   UnloadExtension(extension->id());
extension          58 chrome/browser/extensions/process_manager_browsertest.cc   EXPECT_FALSE(pm->GetBackgroundHostForExtension(extension->id()));
extension          59 chrome/browser/extensions/process_manager_browsertest.cc   EXPECT_TRUE(pm->GetSiteInstanceForURL(extension->url()));
extension          60 chrome/browser/extensions/process_manager_browsertest.cc   EXPECT_EQ(0u, pm->GetRenderViewHostsForExtension(extension->id()).size());
extension          61 chrome/browser/extensions/process_manager_browsertest.cc   EXPECT_FALSE(pm->IsBackgroundHostClosing(extension->id()));
extension          62 chrome/browser/extensions/process_manager_browsertest.cc   EXPECT_EQ(0, pm->GetLazyKeepaliveCount(extension.get()));
extension         121 chrome/browser/extensions/process_manager_browsertest.cc   scoped_refptr<const Extension> extension =
extension         127 chrome/browser/extensions/process_manager_browsertest.cc   ASSERT_TRUE(extension.get());
extension         128 chrome/browser/extensions/process_manager_browsertest.cc   const std::string aliased_host = extension->id();
extension         151 chrome/browser/extensions/process_manager_browsertest.cc   ASSERT_EQ(1u, pm->GetRenderViewHostsForExtension(extension->id()).size());
extension         154 chrome/browser/extensions/process_manager_browsertest.cc           *pm->GetRenderViewHostsForExtension(extension->id()).begin());
extension         157 chrome/browser/extensions/process_manager_browsertest.cc   EXPECT_TRUE(pm->GetSiteInstanceForURL(extension->url()) !=
extension         159 chrome/browser/extensions/process_manager_browsertest.cc   EXPECT_TRUE(pm->GetBackgroundHostForExtension(extension->id()));
extension          31 chrome/browser/extensions/requirements_checker.cc void RequirementsChecker::Check(scoped_refptr<const Extension> extension,
extension          37 chrome/browser/extensions/requirements_checker.cc       RequirementsInfo::GetRequirements(extension.get());
extension          34 chrome/browser/extensions/requirements_checker.h   void Check(scoped_refptr<const Extension> extension,
extension          38 chrome/browser/extensions/requirements_checker_browsertest.cc     scoped_refptr<const Extension> extension =
extension          42 chrome/browser/extensions/requirements_checker_browsertest.cc     return extension;
extension          77 chrome/browser/extensions/requirements_checker_browsertest.cc   scoped_refptr<const Extension> extension(
extension          79 chrome/browser/extensions/requirements_checker_browsertest.cc   ASSERT_TRUE(extension.get());
extension          80 chrome/browser/extensions/requirements_checker_browsertest.cc   checker_.Check(extension, base::Bind(
extension          87 chrome/browser/extensions/requirements_checker_browsertest.cc   scoped_refptr<const Extension> extension(
extension          89 chrome/browser/extensions/requirements_checker_browsertest.cc   ASSERT_TRUE(extension.get());
extension          98 chrome/browser/extensions/requirements_checker_browsertest.cc   checker_.Check(extension, base::Bind(
extension         106 chrome/browser/extensions/requirements_checker_browsertest.cc   scoped_refptr<const Extension> extension(
extension         108 chrome/browser/extensions/requirements_checker_browsertest.cc   ASSERT_TRUE(extension.get());
extension         116 chrome/browser/extensions/requirements_checker_browsertest.cc   checker_.Check(extension, base::Bind(
extension         123 chrome/browser/extensions/requirements_checker_browsertest.cc   scoped_refptr<const Extension> extension(
extension         125 chrome/browser/extensions/requirements_checker_browsertest.cc   ASSERT_TRUE(extension.get());
extension         137 chrome/browser/extensions/requirements_checker_browsertest.cc   checker_.Check(extension, base::Bind(
extension         144 chrome/browser/extensions/requirements_checker_browsertest.cc   scoped_refptr<const Extension> extension(
extension         146 chrome/browser/extensions/requirements_checker_browsertest.cc   ASSERT_TRUE(extension.get());
extension         158 chrome/browser/extensions/requirements_checker_browsertest.cc   checker_.Check(extension, base::Bind(
extension         165 chrome/browser/extensions/requirements_checker_browsertest.cc   scoped_refptr<const Extension> extension(
extension         167 chrome/browser/extensions/requirements_checker_browsertest.cc   ASSERT_TRUE(extension.get());
extension         182 chrome/browser/extensions/requirements_checker_browsertest.cc   checker_.Check(extension, base::Bind(
extension         189 chrome/browser/extensions/requirements_checker_browsertest.cc   scoped_refptr<const Extension> extension(
extension         191 chrome/browser/extensions/requirements_checker_browsertest.cc   ASSERT_TRUE(extension.get());
extension         202 chrome/browser/extensions/requirements_checker_browsertest.cc   checker_.Check(extension, base::Bind(
extension          45 chrome/browser/extensions/sandboxed_unpacker.h                                const Extension* extension,
extension          42 chrome/browser/extensions/sandboxed_unpacker_unittest.cc                                const Extension* extension,
extension          88 chrome/browser/extensions/settings_api_bubble_controller.cc   const extensions::Extension* extension =
extension          90 chrome/browser/extensions/settings_api_bubble_controller.cc   if (!extension)
extension         110 chrome/browser/extensions/settings_api_bubble_controller.cc   if (!override || override->id() != extension->id())
extension         154 chrome/browser/extensions/settings_api_bubble_controller.cc   const extensions::Extension* extension =
extension         157 chrome/browser/extensions/settings_api_bubble_controller.cc       extension ? SettingsOverrides::Get(extension) : NULL;
extension         158 chrome/browser/extensions/settings_api_bubble_controller.cc   if (!extension || !settings) {
extension          17 chrome/browser/extensions/settings_api_helpers.cc     const Extension** extension) {
extension          54 chrome/browser/extensions/settings_api_helpers.cc       *extension = *it;
extension          64 chrome/browser/extensions/settings_api_helpers.cc   const extensions::Extension* extension = NULL;
extension          67 chrome/browser/extensions/settings_api_helpers.cc           browser_context, BUBBLE_TYPE_HOME_PAGE, &extension);
extension          71 chrome/browser/extensions/settings_api_helpers.cc   return extension;
extension          76 chrome/browser/extensions/settings_api_helpers.cc   const extensions::Extension* extension = NULL;
extension          79 chrome/browser/extensions/settings_api_helpers.cc           browser_context, BUBBLE_TYPE_STARTUP_PAGES, &extension);
extension          87 chrome/browser/extensions/settings_api_helpers.cc   return extension;
extension          94 chrome/browser/extensions/settings_api_helpers.cc   const extensions::Extension* extension = NULL;
extension          97 chrome/browser/extensions/settings_api_helpers.cc           browser_context, BUBBLE_TYPE_SEARCH_ENGINE, &extension);
extension         100 chrome/browser/extensions/settings_api_helpers.cc   return extension;
extension          24 chrome/browser/extensions/settings_api_helpers.h     const Extension** extension);
extension          38 chrome/browser/extensions/shared_module_service.cc     const extensions::Extension* extension,
extension          41 chrome/browser/extensions/shared_module_service.cc   DCHECK(extension);
extension          48 chrome/browser/extensions/shared_module_service.cc   const ImportInfoVector& imports = SharedModuleInfo::GetImports(extension);
extension          57 chrome/browser/extensions/shared_module_service.cc       if (extension->from_webstore()) {
extension          80 chrome/browser/extensions/shared_module_service.cc     const Extension* extension) {
extension          84 chrome/browser/extensions/shared_module_service.cc       CheckImports(extension, &missing_modules, &outdated_modules);
extension         108 chrome/browser/extensions/shared_module_service.cc     const Extension* extension) {
extension         111 chrome/browser/extensions/shared_module_service.cc   if (SharedModuleInfo::IsSharedModule(extension)) {
extension         125 chrome/browser/extensions/shared_module_service.cc                                                  extension->id())) {
extension         134 chrome/browser/extensions/shared_module_service.cc     const Extension* extension) {
extension         135 chrome/browser/extensions/shared_module_service.cc   if (!SharedModuleInfo::ImportsModules(extension))
extension         142 chrome/browser/extensions/shared_module_service.cc   const ImportInfoVector& imports = SharedModuleInfo::GetImports(extension);
extension         161 chrome/browser/extensions/shared_module_service.cc void SharedModuleService::OnExtensionUninstalled(const Extension* extension) {
extension         162 chrome/browser/extensions/shared_module_service.cc   PruneSharedModulesOnUninstall(extension);
extension          44 chrome/browser/extensions/shared_module_service.h       const extensions::Extension* extension,
extension          51 chrome/browser/extensions/shared_module_service.h   ImportStatus SatisfyImports(const extensions::Extension* extension);
extension          56 chrome/browser/extensions/shared_module_service.h       const Extension* extension);
extension          59 chrome/browser/extensions/shared_module_service.h   void PruneSharedModulesOnUninstall(const Extension* extension);
extension          62 chrome/browser/extensions/shared_module_service.h   virtual void OnExtensionUninstalled(const Extension* extension) OVERRIDE;
extension          47 chrome/browser/extensions/shared_module_service_unittest.cc   testing::AssertionResult InstallExtension(const Extension* extension);
extension          57 chrome/browser/extensions/shared_module_service_unittest.cc     const Extension* extension) {
extension          59 chrome/browser/extensions/shared_module_service_unittest.cc   if (registry_->GetExtensionById(extension->id(),
extension          66 chrome/browser/extensions/shared_module_service_unittest.cc   service_->OnExtensionInstalled(extension,
extension          73 chrome/browser/extensions/shared_module_service_unittest.cc   if (!registry_->GetExtensionById(extension->id(),
extension          84 chrome/browser/extensions/shared_module_service_unittest.cc   scoped_refptr<Extension> extension =
extension          95 chrome/browser/extensions/shared_module_service_unittest.cc   service_->shared_module_service()->SatisfyImports(extension);
extension          36 chrome/browser/extensions/standard_management_policy_provider.cc     const Extension* extension,
extension          51 chrome/browser/extensions/standard_management_policy_provider.cc       blacklist, whitelist, forcelist, allowed_types, extension, error);
extension          55 chrome/browser/extensions/standard_management_policy_provider.cc     const Extension* extension,
extension          57 chrome/browser/extensions/standard_management_policy_provider.cc   return admin_policy::UserMayModifySettings(extension, error);
extension          61 chrome/browser/extensions/standard_management_policy_provider.cc     const Extension* extension,
extension          63 chrome/browser/extensions/standard_management_policy_provider.cc   return admin_policy::MustRemainEnabled(extension, error);
extension          27 chrome/browser/extensions/standard_management_policy_provider.h   virtual bool UserMayLoad(const Extension* extension,
extension          29 chrome/browser/extensions/standard_management_policy_provider.h   virtual bool UserMayModifySettings(const Extension* extension,
extension          31 chrome/browser/extensions/standard_management_policy_provider.h   virtual bool MustRemainEnabled(const Extension* extension,
extension          37 chrome/browser/extensions/standard_management_policy_provider_unittest.cc     scoped_refptr<const Extension> extension = Extension::Create(
extension          39 chrome/browser/extensions/standard_management_policy_provider_unittest.cc     CHECK(extension.get()) << error;
extension          40 chrome/browser/extensions/standard_management_policy_provider_unittest.cc     return extension;
extension          55 chrome/browser/extensions/standard_management_policy_provider_unittest.cc   scoped_refptr<const Extension> extension =
extension          59 chrome/browser/extensions/standard_management_policy_provider_unittest.cc   EXPECT_TRUE(provider_.UserMayLoad(extension.get(), &error16));
extension          64 chrome/browser/extensions/standard_management_policy_provider_unittest.cc   EXPECT_FALSE(provider_.UserMayModifySettings(extension.get(), &error16));
extension          66 chrome/browser/extensions/standard_management_policy_provider_unittest.cc   EXPECT_TRUE(provider_.MustRemainEnabled(extension.get(), &error16));
extension          73 chrome/browser/extensions/standard_management_policy_provider_unittest.cc   scoped_refptr<const Extension> extension =
extension          77 chrome/browser/extensions/standard_management_policy_provider_unittest.cc   EXPECT_TRUE(provider_.UserMayLoad(extension.get(), &error16));
extension          79 chrome/browser/extensions/standard_management_policy_provider_unittest.cc   EXPECT_TRUE(provider_.UserMayModifySettings(extension.get(), &error16));
extension          81 chrome/browser/extensions/standard_management_policy_provider_unittest.cc   EXPECT_FALSE(provider_.MustRemainEnabled(extension.get(), &error16));
extension         107 chrome/browser/extensions/startup_helper.cc                                const Extension* extension,
extension         138 chrome/browser/extensions/state_store.cc           content::Details<const InstalledExtensionInfo>(details)->extension->
extension         147 chrome/browser/extensions/subscribe_page_action_browsertest.cc   const Extension* extension = LoadExtension(
extension         149 chrome/browser/extensions/subscribe_page_action_browsertest.cc   ASSERT_TRUE(extension);
extension         150 chrome/browser/extensions/subscribe_page_action_browsertest.cc   std::string id = extension->id();
extension         162 chrome/browser/extensions/subscribe_page_action_browsertest.cc   const Extension* extension = LoadExtension(
extension         164 chrome/browser/extensions/subscribe_page_action_browsertest.cc   ASSERT_TRUE(extension);
extension         165 chrome/browser/extensions/subscribe_page_action_browsertest.cc   std::string id = extension->id();
extension         177 chrome/browser/extensions/subscribe_page_action_browsertest.cc   const Extension* extension = LoadExtension(
extension         179 chrome/browser/extensions/subscribe_page_action_browsertest.cc   ASSERT_TRUE(extension);
extension         180 chrome/browser/extensions/subscribe_page_action_browsertest.cc   std::string id = extension->id();
extension         192 chrome/browser/extensions/subscribe_page_action_browsertest.cc   const Extension* extension = LoadExtension(
extension         194 chrome/browser/extensions/subscribe_page_action_browsertest.cc   ASSERT_TRUE(extension);
extension         195 chrome/browser/extensions/subscribe_page_action_browsertest.cc   std::string id = extension->id();
extension         207 chrome/browser/extensions/subscribe_page_action_browsertest.cc   const Extension* extension = LoadExtension(
extension         209 chrome/browser/extensions/subscribe_page_action_browsertest.cc   ASSERT_TRUE(extension);
extension         210 chrome/browser/extensions/subscribe_page_action_browsertest.cc   std::string id = extension->id();
extension         224 chrome/browser/extensions/subscribe_page_action_browsertest.cc   const Extension* extension = LoadExtension(
extension         226 chrome/browser/extensions/subscribe_page_action_browsertest.cc   ASSERT_TRUE(extension);
extension         227 chrome/browser/extensions/subscribe_page_action_browsertest.cc   std::string id = extension->id();
extension         240 chrome/browser/extensions/subscribe_page_action_browsertest.cc   const Extension* extension = LoadExtension(
extension         242 chrome/browser/extensions/subscribe_page_action_browsertest.cc   ASSERT_TRUE(extension);
extension         243 chrome/browser/extensions/subscribe_page_action_browsertest.cc   std::string id = extension->id();
extension         256 chrome/browser/extensions/subscribe_page_action_browsertest.cc   const Extension* extension = LoadExtension(
extension         258 chrome/browser/extensions/subscribe_page_action_browsertest.cc   ASSERT_TRUE(extension);
extension         259 chrome/browser/extensions/subscribe_page_action_browsertest.cc   std::string id = extension->id();
extension         272 chrome/browser/extensions/subscribe_page_action_browsertest.cc   const Extension* extension = LoadExtension(
extension         274 chrome/browser/extensions/subscribe_page_action_browsertest.cc   ASSERT_TRUE(extension);
extension         275 chrome/browser/extensions/subscribe_page_action_browsertest.cc   std::string id = extension->id();
extension         288 chrome/browser/extensions/subscribe_page_action_browsertest.cc   const Extension* extension = LoadExtension(
extension         290 chrome/browser/extensions/subscribe_page_action_browsertest.cc   ASSERT_TRUE(extension);
extension         291 chrome/browser/extensions/subscribe_page_action_browsertest.cc   std::string id = extension->id();
extension         304 chrome/browser/extensions/subscribe_page_action_browsertest.cc   const Extension* extension = LoadExtension(
extension         306 chrome/browser/extensions/subscribe_page_action_browsertest.cc   ASSERT_TRUE(extension);
extension         307 chrome/browser/extensions/subscribe_page_action_browsertest.cc   std::string id = extension->id();
extension         327 chrome/browser/extensions/subscribe_page_action_browsertest.cc   const Extension* extension = LoadExtension(
extension         329 chrome/browser/extensions/subscribe_page_action_browsertest.cc   ASSERT_TRUE(extension);
extension         330 chrome/browser/extensions/subscribe_page_action_browsertest.cc   std::string id = extension->id();
extension          27 chrome/browser/extensions/suggest_permission_util.cc                                            const Extension* extension,
extension          29 chrome/browser/extensions/suggest_permission_util.cc   if (!extension || !host)
extension          41 chrome/browser/extensions/suggest_permission_util.cc       extension->is_platform_app() ?
extension          49 chrome/browser/extensions/suggest_permission_util.cc                                            const Extension* extension,
extension          55 chrome/browser/extensions/suggest_permission_util.cc       process_manager->GetRenderViewHostsForExtension(extension->id());
extension          60 chrome/browser/extensions/suggest_permission_util.cc     SuggestAPIPermissionInDevToolsConsole(permission, extension, host);
extension          66 chrome/browser/extensions/suggest_permission_util.cc     const Extension* extension,
extension          68 chrome/browser/extensions/suggest_permission_util.cc   if (extension && extension->HasAPIPermission(permission))
extension          71 chrome/browser/extensions/suggest_permission_util.cc   if (extension)
extension          72 chrome/browser/extensions/suggest_permission_util.cc     SuggestAPIPermissionInDevToolsConsole(permission, extension, host);
extension          79 chrome/browser/extensions/suggest_permission_util.cc     const Extension* extension,
extension          81 chrome/browser/extensions/suggest_permission_util.cc   if (extension && extension->HasAPIPermission(permission))
extension          84 chrome/browser/extensions/suggest_permission_util.cc   if (extension)
extension          85 chrome/browser/extensions/suggest_permission_util.cc     SuggestAPIPermissionInDevToolsConsole(permission, extension, profile);
extension          22 chrome/browser/extensions/suggest_permission_util.h                                            const Extension* extension,
extension          27 chrome/browser/extensions/suggest_permission_util.h                                            const Extension* extension,
extension          35 chrome/browser/extensions/suggest_permission_util.h     const Extension* extension,
extension          43 chrome/browser/extensions/suggest_permission_util.h     const Extension* extension,
extension          21 chrome/browser/extensions/sync_bundle.h   virtual void SyncChangeIfNeeded(const Extension& extension) = 0;
extension         178 chrome/browser/extensions/tab_helper.cc void TabHelper::SetExtensionApp(const Extension* extension) {
extension         179 chrome/browser/extensions/tab_helper.cc   DCHECK(!extension || AppLaunchInfo::GetFullLaunchURL(extension).is_valid());
extension         180 chrome/browser/extensions/tab_helper.cc   if (extension_app_ == extension)
extension         183 chrome/browser/extensions/tab_helper.cc   extension_app_ = extension;
extension         194 chrome/browser/extensions/tab_helper.cc   const Extension* extension = GetExtension(extension_app_id);
extension         195 chrome/browser/extensions/tab_helper.cc   if (extension)
extension         196 chrome/browser/extensions/tab_helper.cc     SetExtensionApp(extension);
extension         200 chrome/browser/extensions/tab_helper.cc   const Extension* extension = GetExtension(extension_app_id);
extension         201 chrome/browser/extensions/tab_helper.cc   if (extension)
extension         202 chrome/browser/extensions/tab_helper.cc     UpdateExtensionAppIcon(extension);
extension         213 chrome/browser/extensions/tab_helper.cc     const extensions::Extension* extension,
extension         218 chrome/browser/extensions/tab_helper.cc   if (!extension)
extension         222 chrome/browser/extensions/tab_helper.cc   ChromeLauncherController::instance()->PinAppWithID(extension->id());
extension         229 chrome/browser/extensions/tab_helper.cc     browser->window()->ShowBookmarkAppBubble(web_app_info, extension->id());
extension         484 chrome/browser/extensions/tab_helper.cc   const Extension* extension =
extension         486 chrome/browser/extensions/tab_helper.cc   return extension;
extension         489 chrome/browser/extensions/tab_helper.cc void TabHelper::UpdateExtensionAppIcon(const Extension* extension) {
extension         495 chrome/browser/extensions/tab_helper.cc   if (extension) {
extension         500 chrome/browser/extensions/tab_helper.cc         extension,
extension         501 chrome/browser/extensions/tab_helper.cc         IconsInfo::GetIconResource(extension,
extension         117 chrome/browser/extensions/tab_helper.h   void SetExtensionApp(const Extension* extension);
extension         170 chrome/browser/extensions/tab_helper.h   void FinishCreateBookmarkApp(const extensions::Extension* extension,
extension         214 chrome/browser/extensions/tab_helper.h   void UpdateExtensionAppIcon(const Extension* extension);
extension         157 chrome/browser/extensions/test_extension_prefs.cc   scoped_refptr<Extension> extension = Extension::Create(
extension         159 chrome/browser/extensions/test_extension_prefs.cc   EXPECT_TRUE(extension.get()) << errors;
extension         160 chrome/browser/extensions/test_extension_prefs.cc   if (!extension.get())
extension         163 chrome/browser/extensions/test_extension_prefs.cc   EXPECT_TRUE(Extension::IdIsValid(extension->id()));
extension         164 chrome/browser/extensions/test_extension_prefs.cc   prefs_->OnExtensionInstalled(extension.get(),
extension         169 chrome/browser/extensions/test_extension_prefs.cc   return extension;
extension         173 chrome/browser/extensions/test_extension_prefs.cc   scoped_refptr<Extension> extension(AddExtension(name));
extension         174 chrome/browser/extensions/test_extension_prefs.cc   return extension->id();
extension          81 chrome/browser/extensions/test_extension_service.cc void TestExtensionService::AddExtension(const Extension* extension) {
extension          85 chrome/browser/extensions/test_extension_service.cc void TestExtensionService::AddComponentExtension(const Extension* extension) {
extension          54 chrome/browser/extensions/test_extension_service.h   virtual void AddExtension(const extensions::Extension* extension) OVERRIDE;
extension          56 chrome/browser/extensions/test_extension_service.h       const extensions::Extension* extension) OVERRIDE;
extension          42 chrome/browser/extensions/unpacked_installer.cc   SimpleExtensionLoadPrompt(const Extension* extension,
extension          60 chrome/browser/extensions/unpacked_installer.cc     const Extension* extension,
extension          65 chrome/browser/extensions/unpacked_installer.cc       extension_(extension),
extension         155 chrome/browser/extensions/unpacked_installer.cc   if (!installer_.extension().get() ||
extension         158 chrome/browser/extensions/unpacked_installer.cc           installer_.extension()->manifest()->value(),
extension         166 chrome/browser/extensions/unpacked_installer.cc   *extension_id = installer_.extension()->id();
extension         178 chrome/browser/extensions/unpacked_installer.cc       PluginInfo::HasPlugins(installer_.extension().get()) &&
extension         179 chrome/browser/extensions/unpacked_installer.cc       !disabled_extensions.Contains(installer_.extension()->id())) {
extension         181 chrome/browser/extensions/unpacked_installer.cc         installer_.extension().get(),
extension         275 chrome/browser/extensions/unpacked_installer.cc   if (!installer_.extension().get() ||
extension         278 chrome/browser/extensions/unpacked_installer.cc           installer_.extension()->manifest()->value(),
extension         324 chrome/browser/extensions/unpacked_installer.cc   perms_updater.GrantActivePermissions(installer_.extension().get());
extension         327 chrome/browser/extensions/unpacked_installer.cc       installer_.extension().get(),
extension         139 chrome/browser/extensions/updater/extension_downloader.cc bool ExtensionDownloader::AddExtension(const Extension& extension,
extension         143 chrome/browser/extensions/updater/extension_downloader.cc   if (extension.converted_from_user_script() &&
extension         144 chrome/browser/extensions/updater/extension_downloader.cc       ManifestURL::GetUpdateURL(&extension).is_empty()) {
extension         152 chrome/browser/extensions/updater/extension_downloader.cc   if (!ManifestURL::UpdatesFromGallery(&extension))
extension         153 chrome/browser/extensions/updater/extension_downloader.cc     update_url_data = delegate_->GetUpdateUrlData(extension.id());
extension         155 chrome/browser/extensions/updater/extension_downloader.cc   return AddExtensionData(extension.id(), *extension.version(),
extension         156 chrome/browser/extensions/updater/extension_downloader.cc                           extension.GetType(),
extension         157 chrome/browser/extensions/updater/extension_downloader.cc                           ManifestURL::GetUpdateURL(&extension),
extension          66 chrome/browser/extensions/updater/extension_downloader.h   bool AddExtension(const Extension& extension, int request_id);
extension         310 chrome/browser/extensions/updater/extension_updater.cc     const Extension& extension = *extension_iter->get();
extension         311 chrome/browser/extensions/updater/extension_updater.cc     if (!Manifest::IsAutoUpdateableLocation(extension.location())) {
extension         312 chrome/browser/extensions/updater/extension_updater.cc       VLOG(2) << "Extension " << extension.id() << " is not auto updateable";
extension         319 chrome/browser/extensions/updater/extension_updater.cc         pending_ids.begin(), pending_ids.end(), extension.id());
extension         321 chrome/browser/extensions/updater/extension_updater.cc       if (downloader_->AddExtension(extension, request_id))
extension         322 chrome/browser/extensions/updater/extension_updater.cc         request.in_progress_ids_.push_back(extension.id());
extension         376 chrome/browser/extensions/updater/extension_updater.cc       const Extension* extension = service_->GetExtensionById(*it, true);
extension         377 chrome/browser/extensions/updater/extension_updater.cc       DCHECK(extension);
extension         378 chrome/browser/extensions/updater/extension_updater.cc       if (downloader_->AddExtension(*extension, request_id))
extension         379 chrome/browser/extensions/updater/extension_updater.cc         request.in_progress_ids_.push_back(extension->id());
extension         511 chrome/browser/extensions/updater/extension_updater.cc   return extension::GetUpdateURLData(extension_prefs_, id);
extension         522 chrome/browser/extensions/updater/extension_updater.cc   const Extension* extension = service_->GetExtensionById(id, true);
extension         523 chrome/browser/extensions/updater/extension_updater.cc   if (!extension)
extension         529 chrome/browser/extensions/updater/extension_updater.cc     *version = extension->VersionString();
extension         623 chrome/browser/extensions/updater/extension_updater.cc       const Extension* extension =
extension         624 chrome/browser/extensions/updater/extension_updater.cc           content::Details<const InstalledExtensionInfo>(details)->extension;
extension         625 chrome/browser/extensions/updater/extension_updater.cc       if (extension)
extension         626 chrome/browser/extensions/updater/extension_updater.cc         throttle_info_.erase(extension->id());
extension         310 chrome/browser/extensions/updater/extension_updater_unittest.cc bool ShouldInstallExtensionsOnly(const Extension* extension) {
extension         311 chrome/browser/extensions/updater/extension_updater_unittest.cc   return extension->GetType() == Manifest::TYPE_EXTENSION;
extension         314 chrome/browser/extensions/updater/extension_updater_unittest.cc bool ShouldInstallThemesOnly(const Extension* extension) {
extension         315 chrome/browser/extensions/updater/extension_updater_unittest.cc   return extension->is_theme();
extension         318 chrome/browser/extensions/updater/extension_updater_unittest.cc bool ShouldAlwaysInstall(const Extension* extension) {
extension        1493 chrome/browser/extensions/updater/extension_updater_unittest.cc     const Extension* extension = tmp[0].get();
extension        1494 chrome/browser/extensions/updater/extension_updater_unittest.cc     fetch_data.AddExtension(extension->id(),
extension        1495 chrome/browser/extensions/updater/extension_updater_unittest.cc                             extension->VersionString(),
extension        1504 chrome/browser/extensions/updater/extension_updater_unittest.cc         service.extension_prefs()->LastPingDay(extension->id());
extension         189 chrome/browser/extensions/user_script_listener.cc void UserScriptListener::CollectURLPatterns(const Extension* extension,
extension         194 chrome/browser/extensions/user_script_listener.cc       ContentScriptsInfo::GetContentScripts(extension);
extension         211 chrome/browser/extensions/user_script_listener.cc       const Extension* extension =
extension         213 chrome/browser/extensions/user_script_listener.cc       if (ContentScriptsInfo::GetContentScripts(extension).empty())
extension         217 chrome/browser/extensions/user_script_listener.cc       CollectURLPatterns(extension, &new_patterns);
extension         229 chrome/browser/extensions/user_script_listener.cc           content::Details<UnloadedExtensionInfo>(details)->extension;
extension          99 chrome/browser/extensions/user_script_listener.h   void CollectURLPatterns(const Extension* extension,
extension         288 chrome/browser/extensions/user_script_listener_unittest.cc   scoped_refptr<Extension> extension = LoadExtension(
extension         290 chrome/browser/extensions/user_script_listener_unittest.cc   ASSERT_TRUE(extension.get());
extension         292 chrome/browser/extensions/user_script_listener_unittest.cc   extensions::ExtensionRegistry::Get(&profile2)->AddEnabled(extension);
extension         297 chrome/browser/extensions/user_script_listener_unittest.cc       content::Details<Extension>(extension.get()));
extension         377 chrome/browser/extensions/user_script_master.cc       const Extension* extension =
extension         379 chrome/browser/extensions/user_script_master.cc       extensions_info_[extension->id()] =
extension         381 chrome/browser/extensions/user_script_master.cc               extension->path(), LocaleInfo::GetDefaultLocale(extension));
extension         383 chrome/browser/extensions/user_script_master.cc           util::IsIncognitoEnabled(extension->id(), profile_);
extension         385 chrome/browser/extensions/user_script_master.cc           ContentScriptsInfo::GetContentScripts(extension);
extension         397 chrome/browser/extensions/user_script_master.cc       const Extension* extension =
extension         398 chrome/browser/extensions/user_script_master.cc           content::Details<UnloadedExtensionInfo>(details)->extension;
extension         399 chrome/browser/extensions/user_script_master.cc       extensions_info_.erase(extension->id());
extension         403 chrome/browser/extensions/user_script_master.cc         if (iter->extension_id() != extension->id())
extension          58 chrome/browser/extensions/webstore_inline_installer_browsertest.cc       const Extension* extension,
extension         339 chrome/browser/extensions/webstore_installer.cc       const Extension* extension =
extension         342 chrome/browser/extensions/webstore_installer.cc       if (extension == NULL && download_item_ != NULL &&
extension         352 chrome/browser/extensions/webstore_installer.cc       const Extension* extension =
extension         353 chrome/browser/extensions/webstore_installer.cc           content::Details<const InstalledExtensionInfo>(details)->extension;
extension         357 chrome/browser/extensions/webstore_installer.cc       if (extension->id() != info.extension_id)
extension         362 chrome/browser/extensions/webstore_installer.cc         CHECK_EQ(extension->id(), id_);
extension         367 chrome/browser/extensions/webstore_installer.cc             extension->version()->CompareTo(version_required) < 0) {
extension         372 chrome/browser/extensions/webstore_installer.cc         } else if (!SharedModuleInfo::IsSharedModule(extension)) {
extension         235 chrome/browser/extensions/webstore_standalone_installer.cc   const Extension* extension =
extension         237 chrome/browser/extensions/webstore_standalone_installer.cc   if (extension) {
extension         247 chrome/browser/extensions/webstore_standalone_installer.cc     } else if (!extension->is_ephemeral()) {
extension          68 chrome/browser/extensions/webstore_startup_installer_browsertest.cc   const extensions::Extension* extension = browser()->profile()->
extension          70 chrome/browser/extensions/webstore_startup_installer_browsertest.cc   EXPECT_TRUE(extension);
extension         263 chrome/browser/extensions/webstore_startup_installer_browsertest.cc       const Extension* extension =
extension         265 chrome/browser/extensions/webstore_startup_installer_browsertest.cc               extension;
extension         266 chrome/browser/extensions/webstore_startup_installer_browsertest.cc       ASSERT_TRUE(extension != NULL);
extension         267 chrome/browser/extensions/webstore_startup_installer_browsertest.cc       EXPECT_EQ(extension->id(), kTestExtensionId);
extension          64 chrome/browser/extensions/window_controller.h       const extensions::Extension* extension) const = 0;
extension          67 chrome/browser/extensions/window_controller.h       const extensions::Extension* extension, int tab_index) const = 0;
extension          84 chrome/browser/extensions/window_controller.h   virtual bool IsVisibleToExtension(const Extension* extension) const = 0;
extension         313 chrome/browser/extensions/window_open_apitest.cc   const extensions::Extension* extension = LoadExtension(
extension         316 chrome/browser/extensions/window_open_apitest.cc   ASSERT_TRUE(extension);
extension         327 chrome/browser/extensions/window_open_apitest.cc   UninstallExtension(extension->id());
extension         375 chrome/browser/extensions/window_open_apitest.cc   const extensions::Extension* extension = LoadExtension(
extension         378 chrome/browser/extensions/window_open_apitest.cc   ASSERT_TRUE(extension);
extension         392 chrome/browser/extensions/window_open_apitest.cc           process_manager()->GetBackgroundHostForExtension(extension->id());
extension         396 chrome/browser/extensions/window_open_apitest.cc   WaitForExtensionCrash(extension->id());
extension         115 chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_source.cc     const extensions::Extension* extension = it->get();
extension         117 chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_source.cc       extensions_list = extension->name();
extension         119 chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_source.cc       extensions_list += ",\n" + extension->name();
extension         159 chrome/browser/geolocation/chrome_geolocation_permission_context.cc     const extensions::Extension* extension =
extension         163 chrome/browser/geolocation/chrome_geolocation_permission_context.cc                                                     extension,
extension         167 chrome/browser/geolocation/chrome_geolocation_permission_context.cc               ->Contains(extension->id(), id.render_process_id())) {
extension          48 chrome/browser/icon_loader_chromeos.cc   int Lookup(const std::string& extension, IconLoader::IconSize icon_size);
extension         133 chrome/browser/icon_loader_chromeos.cc int IconMapper::Lookup(const std::string& extension,
extension         138 chrome/browser/icon_loader_chromeos.cc   ExtensionIconMap::const_iterator it = extension_icon_map_.find(extension);
extension          50 chrome/browser/infobars/infobar_extension_api.cc   const extensions::Extension* extension = GetExtension();
extension          51 chrome/browser/infobars/infobar_extension_api.cc   GURL url(extension->GetResourceURL(extension->url(), html_path));
extension         290 chrome/browser/managed_mode/managed_user_service.cc bool ManagedUserService::UserMayLoad(const extensions::Extension* extension,
extension         293 chrome/browser/managed_mode/managed_user_service.cc   if (ExtensionManagementPolicyImpl(extension, &tmp_error))
extension         303 chrome/browser/managed_mode/managed_user_service.cc       extension_service->GetInstalledExtension(extension->id()))
extension         306 chrome/browser/managed_mode/managed_user_service.cc   bool was_installed_by_default = extension->was_installed_by_default();
extension         315 chrome/browser/managed_mode/managed_user_service.cc       extensions::Manifest::IsExternalLocation(extension->location());
extension         317 chrome/browser/managed_mode/managed_user_service.cc   if (extension->location() == extensions::Manifest::COMPONENT ||
extension         328 chrome/browser/managed_mode/managed_user_service.cc     const extensions::Extension* extension,
extension         330 chrome/browser/managed_mode/managed_user_service.cc   return ExtensionManagementPolicyImpl(extension, error);
extension         353 chrome/browser/managed_mode/managed_user_service.cc       const extensions::Extension* extension =
extension         356 chrome/browser/managed_mode/managed_user_service.cc               extension).empty()) {
extension         365 chrome/browser/managed_mode/managed_user_service.cc               extension_info->extension).empty()) {
extension         391 chrome/browser/managed_mode/managed_user_service.cc     const extensions::Extension* extension,
extension         394 chrome/browser/managed_mode/managed_user_service.cc   if (!ProfileIsManaged() || (extension && extension->is_theme()))
extension         416 chrome/browser/managed_mode/managed_user_service.cc     const extensions::Extension* extension = it->get();
extension         417 chrome/browser/managed_mode/managed_user_service.cc     if (!extension_service->IsExtensionEnabled(extension->id()))
extension         421 chrome/browser/managed_mode/managed_user_service.cc         extensions::ManagedModeInfo::GetContentPackSiteList(extension);
extension         423 chrome/browser/managed_mode/managed_user_service.cc       site_lists.push_back(new ManagedModeSiteList(extension->id(),
extension         137 chrome/browser/managed_mode/managed_user_service.h   virtual bool UserMayLoad(const extensions::Extension* extension,
extension         139 chrome/browser/managed_mode/managed_user_service.h   virtual bool UserMayModifySettings(const extensions::Extension* extension,
extension         206 chrome/browser/managed_mode/managed_user_service.h   bool ExtensionManagementPolicyImpl(const extensions::Extension* extension,
extension         196 chrome/browser/managed_mode/managed_user_service_unittest.cc     scoped_refptr<extensions::Extension> extension =
extension         198 chrome/browser/managed_mode/managed_user_service_unittest.cc     return extension;
extension         207 chrome/browser/managed_mode/managed_user_service_unittest.cc     scoped_refptr<extensions::Extension> extension =
extension         209 chrome/browser/managed_mode/managed_user_service_unittest.cc     return extension;
extension         236 chrome/browser/managed_mode/managed_user_service_unittest.cc   scoped_refptr<extensions::Extension> extension = MakeExtension();
extension         238 chrome/browser/managed_mode/managed_user_service_unittest.cc   EXPECT_TRUE(managed_user_service->UserMayLoad(extension.get(), &error_1));
extension         243 chrome/browser/managed_mode/managed_user_service_unittest.cc       managed_user_service->UserMayModifySettings(extension.get(), &error_2));
extension         266 chrome/browser/managed_mode/managed_user_service_unittest.cc   scoped_refptr<extensions::Extension> extension = MakeExtension();
extension         267 chrome/browser/managed_mode/managed_user_service_unittest.cc   EXPECT_FALSE(managed_user_service->UserMayLoad(extension.get(), &error_1));
extension         272 chrome/browser/managed_mode/managed_user_service_unittest.cc       managed_user_service->UserMayModifySettings(extension.get(), &error_2));
extension         335 chrome/browser/managed_mode/managed_user_service_unittest.cc   scoped_refptr<extensions::Extension> extension =
extension         337 chrome/browser/managed_mode/managed_user_service_unittest.cc   ASSERT_TRUE(extension.get());
extension         384 chrome/browser/managed_mode/managed_user_service_unittest.cc   service_->DisableExtension(extension->id(),
extension          84 chrome/browser/media/media_capture_devices_dispatcher.cc     const extensions::Extension* extension) {
extension          85 chrome/browser/media/media_capture_devices_dispatcher.cc   return extension->id() == "mppnpdlheglhdfmldimlhpnegondlapf" ||
extension          86 chrome/browser/media/media_capture_devices_dispatcher.cc       extension->id() == "bepbmhgboaologfdajaanbcjmnhjmhfn" ||
extension          87 chrome/browser/media/media_capture_devices_dispatcher.cc       extension->id() == "jokbpnebhdcladagohdnfgjcpejggllo" ||
extension          88 chrome/browser/media/media_capture_devices_dispatcher.cc       extension->id() == "clffjmdilanldobdnedchkdbofoimcgb" ||
extension          89 chrome/browser/media/media_capture_devices_dispatcher.cc       extension->id() == "nnckehldicaciogcbchegobnafnjkcne";
extension         150 chrome/browser/media/media_capture_devices_dispatcher.cc                                    const extensions::Extension* extension) {
extension         154 chrome/browser/media/media_capture_devices_dispatcher.cc   if (extension) {
extension         155 chrome/browser/media/media_capture_devices_dispatcher.cc     title = extension->name();
extension         339 chrome/browser/media/media_capture_devices_dispatcher.cc     const extensions::Extension* extension) {
extension         345 chrome/browser/media/media_capture_devices_dispatcher.cc         web_contents, request, callback, extension);
extension         349 chrome/browser/media/media_capture_devices_dispatcher.cc         web_contents, request, callback, extension);
extension         350 chrome/browser/media/media_capture_devices_dispatcher.cc   } else if (extension && (extension->is_platform_app() ||
extension         351 chrome/browser/media/media_capture_devices_dispatcher.cc                            IsMediaRequestWhitelistedForExtension(extension))) {
extension         354 chrome/browser/media/media_capture_devices_dispatcher.cc         web_contents, request, callback, extension);
extension         364 chrome/browser/media/media_capture_devices_dispatcher.cc     const extensions::Extension* extension) {
extension         377 chrome/browser/media/media_capture_devices_dispatcher.cc         web_contents, request, callback, extension);
extension         410 chrome/browser/media/media_capture_devices_dispatcher.cc       GetApplicationTitle(web_contents, extension),
extension         420 chrome/browser/media/media_capture_devices_dispatcher.cc     const extensions::Extension* extension) {
extension         433 chrome/browser/media/media_capture_devices_dispatcher.cc       extension && extension->location() == extensions::Manifest::COMPONENT;
extension         456 chrome/browser/media/media_capture_devices_dispatcher.cc         GetApplicationTitle(web_contents, extension);
extension         463 chrome/browser/media/media_capture_devices_dispatcher.cc           extension ? extension->name() : request.security_origin.spec());
extension         514 chrome/browser/media/media_capture_devices_dispatcher.cc     const extensions::Extension* extension) {
extension         537 chrome/browser/media/media_capture_devices_dispatcher.cc       extension->HasAPIPermission(extensions::APIPermission::kTabCapture)) {
extension         544 chrome/browser/media/media_capture_devices_dispatcher.cc       extension->HasAPIPermission(extensions::APIPermission::kTabCapture)) {
extension         566 chrome/browser/media/media_capture_devices_dispatcher.cc         const extensions::Extension* extension) {
extension         572 chrome/browser/media/media_capture_devices_dispatcher.cc       extension->HasAPIPermission(extensions::APIPermission::kAudioCapture)) {
extension         577 chrome/browser/media/media_capture_devices_dispatcher.cc       extension->HasAPIPermission(extensions::APIPermission::kVideoCapture)) {
extension          85 chrome/browser/media/media_capture_devices_dispatcher.h       const extensions::Extension* extension);
extension         175 chrome/browser/media/media_capture_devices_dispatcher.h       const extensions::Extension* extension);
extension         180 chrome/browser/media/media_capture_devices_dispatcher.h       const extensions::Extension* extension);
extension         185 chrome/browser/media/media_capture_devices_dispatcher.h       const extensions::Extension* extension);
extension         190 chrome/browser/media/media_capture_devices_dispatcher.h       const extensions::Extension* extension);
extension          86 chrome/browser/media/media_stream_capture_indicator.cc   const extensions::Extension* const extension = GetExtension(web_contents);
extension          87 chrome/browser/media/media_stream_capture_indicator.cc   if (extension)
extension          88 chrome/browser/media/media_stream_capture_indicator.cc     return base::UTF8ToUTF16(extension->name());
extension          62 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc     const extensions::Extension* extension,
extension          67 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc   registry->RegisterMediaFileSystemForExtension(rvh, extension, pref_id,
extension          87 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc     const extensions::Extension* extension =
extension          94 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc     if (extension &&
extension          95 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc         extension->id() == storage_domain &&
extension         104 chrome/browser/media_galleries/fileapi/media_file_system_backend.cc           base::Bind(&OnPreferencesInit, rvh, extension, pref_id, callback));
extension         136 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc     std::string extension = filename.substr(extension_index);
extension         140 chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc           dest_root_fs_url + "move_dest" + extension));
extension          79 chrome/browser/media_galleries/fileapi/media_path_filter.cc bool IsUnsupportedExtension(const base::FilePath::StringType& extension) {
extension          81 chrome/browser/media_galleries/fileapi/media_path_filter.cc   return !net::GetMimeTypeFromExtension(extension, &mime_type) ||
extension         209 chrome/browser/media_galleries/fileapi/media_path_filter.cc     const base::FilePath::CharType* extension,
extension         213 chrome/browser/media_galleries/fileapi/media_path_filter.cc       base::FilePath::StringType(extension);
extension          51 chrome/browser/media_galleries/fileapi/media_path_filter.h       const base::FilePath::CharType* extension,
extension          89 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc   base::FilePath::StringType extension = path.Extension();
extension          90 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc   return extension == FILE_PATH_LITERAL(".bmp") ||
extension          91 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc          extension == FILE_PATH_LITERAL(".gif") ||
extension          92 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc          extension == FILE_PATH_LITERAL(".jfif") ||
extension          93 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc          extension == FILE_PATH_LITERAL(".jpeg") ||
extension          94 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc          extension == FILE_PATH_LITERAL(".jpg") ||
extension          95 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc          extension == FILE_PATH_LITERAL(".pjp") ||
extension          96 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc          extension == FILE_PATH_LITERAL(".pjpeg") ||
extension          97 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc          extension == FILE_PATH_LITERAL(".png") ||
extension          98 chrome/browser/media_galleries/fileapi/supported_image_type_validator.cc          extension == FILE_PATH_LITERAL(".webp");
extension         494 chrome/browser/media_galleries/media_file_system_registry.cc     const extensions::Extension* extension,
extension         502 chrome/browser/media_galleries/media_file_system_registry.cc       preferences->GalleriesForExtension(*extension);
extension         510 chrome/browser/media_galleries/media_file_system_registry.cc       GetExtensionGalleryHost(profile, preferences, extension->id());
extension         522 chrome/browser/media_galleries/media_file_system_registry.cc     const extensions::Extension* extension,
extension         534 chrome/browser/media_galleries/media_file_system_registry.cc       preferences->GalleriesForExtension(*extension);
extension         545 chrome/browser/media_galleries/media_file_system_registry.cc       GetExtensionGalleryHost(profile, preferences, extension->id());
extension          81 chrome/browser/media_galleries/media_file_system_registry.h       const extensions::Extension* extension,
extension          88 chrome/browser/media_galleries/media_file_system_registry.h       const extensions::Extension* extension,
extension         227 chrome/browser/media_galleries/media_file_system_registry_unittest.cc   FSInfoMap GetGalleriesInfo(extensions::Extension* extension);
extension         313 chrome/browser/media_galleries/media_file_system_registry_unittest.cc                             extensions::Extension* extension,
extension         524 chrome/browser/media_galleries/media_file_system_registry_unittest.cc FSInfoMap ProfileState::GetGalleriesInfo(extensions::Extension* extension) {
extension         530 chrome/browser/media_galleries/media_file_system_registry_unittest.cc       rvh, extension,
extension         660 chrome/browser/media_galleries/media_file_system_registry_unittest.cc     ProfileState* profile_state, extensions::Extension* extension,
extension         667 chrome/browser/media_galleries/media_file_system_registry_unittest.cc   preferences->SetGalleryPermissionForExtension(*extension, *pref_id.begin(),
extension          87 chrome/browser/media_galleries/media_folder_finder_unittest.cc     std::string extension;
extension          92 chrome/browser/media_galleries/media_folder_finder_unittest.cc         extension = "jpg";
extension          97 chrome/browser/media_galleries/media_folder_finder_unittest.cc         extension = "wav";
extension         102 chrome/browser/media_galleries/media_folder_finder_unittest.cc         extension = "avi";
extension         107 chrome/browser/media_galleries/media_folder_finder_unittest.cc         extension = "txt";
extension         120 chrome/browser/media_galleries/media_folder_finder_unittest.cc       base::FilePath test_file(parent_dir.AppendASCII("dummy." + extension));
extension          55 chrome/browser/media_galleries/media_galleries_dialog_controller.cc     const Extension& extension,
extension          58 chrome/browser/media_galleries/media_galleries_dialog_controller.cc         extension_(&extension),
extension          92 chrome/browser/media_galleries/media_galleries_dialog_controller.cc     const extensions::Extension& extension,
extension          97 chrome/browser/media_galleries/media_galleries_dialog_controller.cc       extension_(&extension),
extension          69 chrome/browser/media_galleries/media_galleries_dialog_controller.h                                  const extensions::Extension& extension,
extension         118 chrome/browser/media_galleries/media_galleries_dialog_controller.h       const extensions::Extension& extension,
extension          20 chrome/browser/media_galleries/media_galleries_dialog_controller_mock.cc     const extensions::Extension& extension)
extension          22 chrome/browser/media_galleries/media_galleries_dialog_controller_mock.cc           extension, NULL,
extension          15 chrome/browser/media_galleries/media_galleries_dialog_controller_mock.h       const extensions::Extension& extension);
extension         202 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc   EXPECT_EQ(0U, gallery_prefs()->GalleriesForExtension(*extension()).size());
extension         216 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc   EXPECT_EQ(2U, gallery_prefs()->GalleriesForExtension(*extension()).size());
extension         224 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc   EXPECT_EQ(2U, gallery_prefs()->GalleriesForExtension(*extension()).size());
extension         232 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc   EXPECT_EQ(1U, gallery_prefs()->GalleriesForExtension(*extension()).size());
extension         246 chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc   EXPECT_EQ(1U, gallery_prefs()->GalleriesForExtension(*extension()).size());
extension         276 chrome/browser/media_galleries/media_galleries_preferences.cc bool HasAutoDetectedGalleryPermission(const extensions::Extension& extension) {
extension         280 chrome/browser/media_galleries/media_galleries_preferences.cc       &extension, extensions::APIPermission::kMediaGalleries, &param);
extension         724 chrome/browser/media_galleries/media_galleries_preferences.cc     const extensions::Extension* extension,
extension         727 chrome/browser/media_galleries/media_galleries_preferences.cc   DCHECK(extension);
extension         729 chrome/browser/media_galleries/media_galleries_preferences.cc       !ContainsKey(GalleriesForExtension(*extension), gallery_id))
extension        1010 chrome/browser/media_galleries/media_galleries_preferences.cc     const extensions::Extension& extension) const {
extension        1014 chrome/browser/media_galleries/media_galleries_preferences.cc   if (HasAutoDetectedGalleryPermission(extension)) {
extension        1023 chrome/browser/media_galleries/media_galleries_preferences.cc       GetGalleryPermissionsFromPrefs(extension.id());
extension        1043 chrome/browser/media_galleries/media_galleries_preferences.cc     const extensions::Extension& extension,
extension        1056 chrome/browser/media_galleries/media_galleries_preferences.cc     default_permission = HasAutoDetectedGalleryPermission(extension);
extension        1059 chrome/browser/media_galleries/media_galleries_preferences.cc     if (!UnsetGalleryPermissionInPrefs(extension.id(), pref_id))
extension        1063 chrome/browser/media_galleries/media_galleries_preferences.cc     if (!SetGalleryPermissionInPrefs(extension.id(), pref_id, has_permission))
extension        1069 chrome/browser/media_galleries/media_galleries_preferences.cc                       OnPermissionAdded(this, extension.id(), pref_id));
extension        1073 chrome/browser/media_galleries/media_galleries_preferences.cc                       OnPermissionRemoved(this, extension.id(), pref_id));
extension         203 chrome/browser/media_galleries/media_galleries_preferences.h       const extensions::Extension* extension,
extension         243 chrome/browser/media_galleries/media_galleries_preferences.h       const extensions::Extension& extension) const;
extension         247 chrome/browser/media_galleries/media_galleries_preferences.h   bool SetGalleryPermissionForExtension(const extensions::Extension& extension,
extension          54 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc     const extensions::Extension* extension) {
extension          56 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc   UpdateScanResultsFromPreferences(preferences, extension,
extension          64 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc     const extensions::Extension& extension,
extension          67 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc         extension_(&extension),
extension          91 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc     const extensions::Extension& extension,
extension          96 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc       extension_(&extension),
extension         234 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc     const extensions::Extension* extension,
extension         239 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.cc       preferences->GalleriesForExtension(*extension);
extension          74 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h       const extensions::Extension* extension);
extension          79 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h       const extensions::Extension& extension,
extension         116 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h       const extensions::Extension* extension,
extension         122 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller.h       const extensions::Extension& extension,
extension         240 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc   EXPECT_EQ(0U, gallery_prefs()->GalleriesForExtension(*extension()).size());
extension         246 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc   EXPECT_EQ(0U, gallery_prefs()->GalleriesForExtension(*extension()).size());
extension         254 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc   EXPECT_EQ(0U, gallery_prefs()->GalleriesForExtension(*extension()).size());
extension         262 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc       gallery_prefs()->GalleriesForExtension(*extension());
extension         272 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc   EXPECT_EQ(2U, gallery_prefs()->GalleriesForExtension(*extension()).size());
extension         280 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc   EXPECT_EQ(0U, gallery_prefs()->GalleriesForExtension(*extension()).size());
extension         286 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc   EXPECT_EQ(0U, gallery_prefs()->GalleriesForExtension(*extension()).size());
extension         303 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc   EXPECT_EQ(0U, gallery_prefs()->GalleriesForExtension(*extension()).size());
extension         332 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc   EXPECT_EQ(0U, gallery_prefs()->GalleriesForExtension(*extension()).size());
extension         344 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc   gallery_prefs()->SetGalleryPermissionForExtension(*extension(),
extension         349 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc   gallery_prefs()->SetGalleryPermissionForExtension(*extension(),
extension         399 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc   EXPECT_EQ(4U, gallery_prefs()->GalleriesForExtension(*extension()).size());
extension         409 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc   EXPECT_EQ(0U, gallery_prefs()->GalleriesForExtension(*extension()).size());
extension         416 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc   EXPECT_EQ(0U, gallery_prefs()->GalleriesForExtension(*extension()).size());
extension         426 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc   EXPECT_EQ(0U, gallery_prefs()->GalleriesForExtension(*extension()).size());
extension         434 chrome/browser/media_galleries/media_galleries_scan_result_dialog_controller_unittest.cc   EXPECT_EQ(0U, gallery_prefs()->GalleriesForExtension(*extension()).size());
extension          67 chrome/browser/media_galleries/media_galleries_test_util.cc   scoped_refptr<extensions::Extension> extension =
extension          71 chrome/browser/media_galleries/media_galleries_test_util.cc   EXPECT_TRUE(extension.get() != NULL) << errors;
extension          72 chrome/browser/media_galleries/media_galleries_test_util.cc   EXPECT_TRUE(extensions::Extension::IdIsValid(extension->id()));
extension          73 chrome/browser/media_galleries/media_galleries_test_util.cc   if (!extension.get() || !extensions::Extension::IdIsValid(extension->id()))
extension          77 chrome/browser/media_galleries/media_galleries_test_util.cc       extension.get(),
extension          84 chrome/browser/media_galleries/media_galleries_test_util.cc   extension_service->AddExtension(extension.get());
extension          85 chrome/browser/media_galleries/media_galleries_test_util.cc   extension_service->EnableExtension(extension->id());
extension          87 chrome/browser/media_galleries/media_galleries_test_util.cc   return extension;
extension         283 chrome/browser/media_galleries/media_scan_manager.cc                                  const extensions::Extension* extension,
extension         288 chrome/browser/media_galleries/media_scan_manager.cc       preferences->GalleriesForExtension(*extension);
extension         338 chrome/browser/media_galleries/media_scan_manager.cc                                  const extensions::Extension* extension,
extension         340 chrome/browser/media_galleries/media_scan_manager.cc   DCHECK(extension);
extension         350 chrome/browser/media_galleries/media_scan_manager.cc   if (scan_in_progress && ContainsKey(*scanning_extensions, extension->id()))
extension         363 chrome/browser/media_galleries/media_scan_manager.cc         CountScanResultsForExtension(preferences, extension, &file_counts);
extension         364 chrome/browser/media_galleries/media_scan_manager.cc     scans_for_profile->second.observer->OnScanStarted(extension->id());
extension         365 chrome/browser/media_galleries/media_scan_manager.cc     scans_for_profile->second.observer->OnScanFinished(extension->id(),
extension         379 chrome/browser/media_galleries/media_scan_manager.cc   scanning_extensions->insert(extension->id());
extension         380 chrome/browser/media_galleries/media_scan_manager.cc   scans_for_profile->second.observer->OnScanStarted(extension->id());
extension         398 chrome/browser/media_galleries/media_scan_manager.cc                                   const extensions::Extension* extension) {
extension         404 chrome/browser/media_galleries/media_scan_manager.cc       !scans_for_profile->second.scanning_extensions.erase(extension->id())) {
extension         408 chrome/browser/media_galleries/media_scan_manager.cc   scans_for_profile->second.observer->OnScanCancelled(extension->id());
extension         442 chrome/browser/media_galleries/media_scan_manager.cc       extensions::Extension* extension = const_cast<extensions::Extension*>(
extension         444 chrome/browser/media_galleries/media_scan_manager.cc               details)->extension);
extension         445 chrome/browser/media_galleries/media_scan_manager.cc       DCHECK(extension);
extension         446 chrome/browser/media_galleries/media_scan_manager.cc       CancelScan(profile, extension);
extension         518 chrome/browser/media_galleries/media_scan_manager.cc       const extensions::Extension* extension =
extension         520 chrome/browser/media_galleries/media_scan_manager.cc       if (extension) {
extension         522 chrome/browser/media_galleries/media_scan_manager.cc         int gallery_count = CountScanResultsForExtension(preferences, extension,
extension          49 chrome/browser/media_galleries/media_scan_manager.h   void StartScan(Profile* profile, const extensions::Extension* extension,
extension          51 chrome/browser/media_galleries/media_scan_manager.h   void CancelScan(Profile* profile, const extensions::Extension* extension);
extension         390 chrome/browser/media_galleries/media_scan_manager_unittest.cc   gallery_prefs()->SetGalleryPermissionForExtension(*extension(), granted_scan,
extension         448 chrome/browser/media_galleries/media_scan_manager_unittest.cc   gallery_prefs()->SetGalleryPermissionForExtension(*extension(), scan_id,
extension         271 chrome/browser/memory_details.cc           const Extension* extension =
extension         273 chrome/browser/memory_details.cc           if (extension && !extension->is_hosted_app()) {
extension         282 chrome/browser/memory_details.cc         const Extension* extension =
extension         284 chrome/browser/memory_details.cc         if (extension) {
extension         285 chrome/browser/memory_details.cc           base::string16 title = base::UTF8ToUTF16(extension->name());
extension          32 chrome/browser/metrics/extension_metrics_unittest.cc     scoped_refptr<const extensions::Extension> extension;
extension          33 chrome/browser/metrics/extension_metrics_unittest.cc     extension = extensions::ExtensionBuilder()
extension          40 chrome/browser/metrics/extension_metrics_unittest.cc     extensions->Insert(extension);
extension          41 chrome/browser/metrics/extension_metrics_unittest.cc     extension = extensions::ExtensionBuilder()
extension          48 chrome/browser/metrics/extension_metrics_unittest.cc     extensions->Insert(extension);
extension          49 chrome/browser/metrics/extension_metrics_unittest.cc     extension = extensions::ExtensionBuilder()
extension          56 chrome/browser/metrics/extension_metrics_unittest.cc     extensions->Insert(extension);
extension         415 chrome/browser/metrics/metrics_log.cc void MetricsLog::set_version_extension(const std::string& extension) {
extension         416 chrome/browser/metrics/metrics_log.cc   g_version_extension.Get() = extension;
extension          82 chrome/browser/metrics/metrics_log.h   static void set_version_extension(const std::string& extension);
extension          81 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc   const extensions::Extension* extension = extension_service->GetExtensionById(
extension          83 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc   if (!extension)
extension          90 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc   pm->KeepaliveImpulse(extension);
extension         209 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc   const extensions::Extension* extension =
extension         211 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc   if (!extension)
extension         221 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc       *file_path = extension->path().AppendASCII(path);
extension         241 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc     if (!SharedModuleInfo::ImportsExtensionById(extension, new_extension_id) ||
extension         249 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc     resource = extension->GetResource(path);
extension          86 chrome/browser/notifications/balloon.cc   const extensions::Extension* extension =
extension          89 chrome/browser/notifications/balloon.cc   return extension ? extension->id() : std::string();
extension         783 chrome/browser/notifications/desktop_notification_service.cc   extensions::Extension* extension =
extension         785 chrome/browser/notifications/desktop_notification_service.cc   NotifierId notifier_id(NotifierId::APPLICATION, extension->id());
extension         790 chrome/browser/notifications/desktop_notification_service.cc   if (extension->is_ephemeral())
extension         227 chrome/browser/notifications/message_center_settings_controller.cc     const extensions::Extension* extension = iter->get();
extension         228 chrome/browser/notifications/message_center_settings_controller.cc     if (!extension->HasAPIPermission(
extension         234 chrome/browser/notifications/message_center_settings_controller.cc     if (extension->is_ephemeral() &&
extension         235 chrome/browser/notifications/message_center_settings_controller.cc         extensions::util::IsExtensionIdle(extension->id(), profile)) {
extension         239 chrome/browser/notifications/message_center_settings_controller.cc     NotifierId notifier_id(NotifierId::APPLICATION, extension->id());
extension         242 chrome/browser/notifications/message_center_settings_controller.cc         base::UTF8ToUTF16(extension->name()),
extension         244 chrome/browser/notifications/message_center_settings_controller.cc     app_icon_loader_->FetchImage(extension->id());
extension         142 chrome/browser/notifications/notification_options_menu_model.cc     const extensions::Extension* extension =
extension         146 chrome/browser/notifications/notification_options_menu_model.cc     if (extension) {
extension         193 chrome/browser/notifications/notification_options_menu_model.cc       const extensions::Extension* extension =
extension         195 chrome/browser/notifications/notification_options_menu_model.cc       if (extension) {
extension         197 chrome/browser/notifications/notification_options_menu_model.cc             extension_service->IsExtensionEnabled(extension->id()) ?
extension         251 chrome/browser/notifications/notification_options_menu_model.cc       const extensions::Extension* extension =
extension         253 chrome/browser/notifications/notification_options_menu_model.cc       if (extension) {
extension         254 chrome/browser/notifications/notification_options_menu_model.cc         const std::string& id = extension->id();
extension          39 chrome/browser/notifications/notification_system_observer.cc       const extensions::Extension* extension = extension_info->extension;
extension          40 chrome/browser/notifications/notification_system_observer.cc       ui_manager_->CancelAllBySourceOrigin(extension->url());
extension         561 chrome/browser/performance_monitor/performance_monitor.cc               extension);
extension         576 chrome/browser/performance_monitor/performance_monitor.cc                           info->extension);
extension         583 chrome/browser/performance_monitor/performance_monitor.cc       const extensions::Extension* extension =
extension         588 chrome/browser/performance_monitor/performance_monitor.cc       if (extension &&
extension         590 chrome/browser/performance_monitor/performance_monitor.cc         AddExtensionEvent(EVENT_EXTENSION_UPDATE, extension);
extension         657 chrome/browser/performance_monitor/performance_monitor.cc                                               const Extension* extension) {
extension         665 chrome/browser/performance_monitor/performance_monitor.cc                                       extension->id(),
extension         666 chrome/browser/performance_monitor/performance_monitor.cc                                       extension->name(),
extension         667 chrome/browser/performance_monitor/performance_monitor.cc                                       extension->url().spec(),
extension         668 chrome/browser/performance_monitor/performance_monitor.cc                                       extension->location(),
extension         669 chrome/browser/performance_monitor/performance_monitor.cc                                       extension->VersionString(),
extension         670 chrome/browser/performance_monitor/performance_monitor.cc                                       extension->description()));
extension         179 chrome/browser/performance_monitor/performance_monitor.h                          const extensions::Extension* extension);
extension          68 chrome/browser/performance_monitor/performance_monitor_browsertest.cc   explicit ExtensionBasicInfo(const Extension* extension)
extension          69 chrome/browser/performance_monitor/performance_monitor_browsertest.cc       : description(extension->description()),
extension          70 chrome/browser/performance_monitor/performance_monitor_browsertest.cc         id(extension->id()),
extension          71 chrome/browser/performance_monitor/performance_monitor_browsertest.cc         name(extension->name()),
extension          72 chrome/browser/performance_monitor/performance_monitor_browsertest.cc         url(extension->url().spec()),
extension          73 chrome/browser/performance_monitor/performance_monitor_browsertest.cc         version(extension->VersionString()),
extension          74 chrome/browser/performance_monitor/performance_monitor_browsertest.cc         location(extension->location()) {
extension          87 chrome/browser/performance_monitor/performance_monitor_browsertest.cc void ValidateExtensionInfo(const ExtensionBasicInfo extension,
extension          98 chrome/browser/performance_monitor/performance_monitor_browsertest.cc   ASSERT_EQ(extension.description, extension_description);
extension         100 chrome/browser/performance_monitor/performance_monitor_browsertest.cc   ASSERT_EQ(extension.id, extension_id);
extension         102 chrome/browser/performance_monitor/performance_monitor_browsertest.cc   ASSERT_EQ(extension.name, extension_name);
extension         104 chrome/browser/performance_monitor/performance_monitor_browsertest.cc   ASSERT_EQ(extension.url, extension_url);
extension         106 chrome/browser/performance_monitor/performance_monitor_browsertest.cc   ASSERT_EQ(extension.version, extension_version);
extension         108 chrome/browser/performance_monitor/performance_monitor_browsertest.cc   ASSERT_EQ(extension.location, extension_location);
extension         393 chrome/browser/performance_monitor/performance_monitor_browsertest.cc   const Extension* extension = LoadExtension(extension_path);
extension         396 chrome/browser/performance_monitor/performance_monitor_browsertest.cc   extension_infos.push_back(ExtensionBasicInfo(extension));
extension         417 chrome/browser/performance_monitor/performance_monitor_browsertest.cc   const Extension* extension = LoadExtension(extension_path);
extension         419 chrome/browser/performance_monitor/performance_monitor_browsertest.cc   DisableExtension(extension->id());
extension         420 chrome/browser/performance_monitor/performance_monitor_browsertest.cc   EnableExtension(extension->id());
extension         428 chrome/browser/performance_monitor/performance_monitor_browsertest.cc     extension_infos.push_back(ExtensionBasicInfo(extension));
extension         462 chrome/browser/performance_monitor/performance_monitor_browsertest.cc   const extensions::Extension* extension = InstallExtension(path_v1_, 1);
extension         465 chrome/browser/performance_monitor/performance_monitor_browsertest.cc   extension_infos.push_back(ExtensionBasicInfo(extension));
extension         477 chrome/browser/performance_monitor/performance_monitor_browsertest.cc       UpdateExtension(extension->id(), path_v2_, true, GURL(), &crx_installer));
extension         480 chrome/browser/performance_monitor/performance_monitor_browsertest.cc   extension = extension_service->GetExtensionById(
extension         488 chrome/browser/performance_monitor/performance_monitor_browsertest.cc   extension_infos.push_back(ExtensionBasicInfo(extension));
extension         508 chrome/browser/performance_monitor/performance_monitor_browsertest.cc   const Extension* extension = LoadExtension(extension_path);
extension         515 chrome/browser/performance_monitor/performance_monitor_browsertest.cc     extension_infos.push_back(ExtensionBasicInfo(extension));
extension         517 chrome/browser/performance_monitor/performance_monitor_browsertest.cc   UninstallExtension(extension->id());
extension         155 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc     scoped_refptr<const extensions::Extension> extension(
extension         157 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc     if (!extension.get()) {
extension         161 chrome/browser/policy/cloud/component_cloud_policy_browsertest.cc     return extension;
extension        2086 chrome/browser/policy/policy_browsertest.cc   const extensions::Extension* extension =
extension        2088 chrome/browser/policy/policy_browsertest.cc   ASSERT_TRUE(extension);
extension        2094 chrome/browser/policy/policy_browsertest.cc                                   extension,
extension        3561 chrome/browser/prerender/prerender_browsertest.cc   const extensions::Extension* extension = LoadExtension(
extension        3563 chrome/browser/prerender/prerender_browsertest.cc   ASSERT_TRUE(extension);
extension        3565 chrome/browser/prerender/prerender_browsertest.cc             extension->id());
extension        3566 chrome/browser/prerender/prerender_browsertest.cc   MimeTypesHandler* handler = MimeTypesHandler::GetHandler(extension);
extension         388 chrome/browser/profile_resetter/profile_resetter_unittest.cc   scoped_refptr<Extension> extension = Extension::Create(
extension         395 chrome/browser/profile_resetter/profile_resetter_unittest.cc   EXPECT_TRUE(extension.get() != NULL) << error;
extension         396 chrome/browser/profile_resetter/profile_resetter_unittest.cc   return extension;
extension         538 chrome/browser/renderer_context_menu/render_view_context_menu.cc     const Extension* extension =
extension         542 chrome/browser/renderer_context_menu/render_view_context_menu.cc     if (extension && !extension->is_platform_app()) {
extension         573 chrome/browser/renderer_context_menu/render_view_context_menu.cc   const Extension* extension = GetExtension();
extension         574 chrome/browser/renderer_context_menu/render_view_context_menu.cc   if (extension) {
extension         578 chrome/browser/renderer_context_menu/render_view_context_menu.cc         extension->id(), WebViewGuest::GetViewInstanceId(source_web_contents_));
extension         319 chrome/browser/renderer_host/chrome_render_message_filter.cc   const extensions::Extension* extension =
extension         323 chrome/browser/renderer_host/chrome_render_message_filter.cc   if (extension) {
extension         324 chrome/browser/renderer_host/chrome_render_message_filter.cc     extension_path = extension->path();
extension         325 chrome/browser/renderer_host/chrome_render_message_filter.cc     default_locale = extensions::LocaleInfo::GetDefaultLocale(extension);
extension         161 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc bool ExtensionCanHandleMimeType(const Extension* extension,
extension         163 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc   MimeTypesHandler* handler = MimeTypesHandler::GetHandler(extension);
extension         560 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc     const Extension* extension =
extension         564 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc     if (!extension ||
extension         570 chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc     if (ExtensionCanHandleMimeType(extension, mime_type)) {
extension         112 chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.cc   const extensions::Extension* extension =
extension         114 chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.cc   if (!extension)
extension         121 chrome/browser/renderer_host/pepper/pepper_isolated_file_system_message_filter.cc                                 extension->path(),
extension          61 chrome/browser/search/hotword_service.cc     const extensions::Extension* extension) {
extension          63 chrome/browser/search/hotword_service.cc   if (extension) {
extension         162 chrome/browser/search/hotword_service.cc     const extensions::Extension* extension =
extension         164 chrome/browser/search/hotword_service.cc               ->extension;
extension         165 chrome/browser/search/hotword_service.cc     if (extension->id() == extension_misc::kHotwordExtensionId &&
extension         209 chrome/browser/search/hotword_service.cc   const extensions::Extension* extension =
extension         212 chrome/browser/search/hotword_service.cc   RecordAvailabilityMetrics(service, extension);
extension         215 chrome/browser/search/hotword_service.cc   return extension && IsHotwordAllowed();
extension         561 chrome/browser/search_engines/template_url_service_unittest.cc   TemplateURL* extension = AddKeywordWithDate(
extension         580 chrome/browser/search_engines/template_url_service_unittest.cc   EXPECT_EQ(extension,
extension         595 chrome/browser/search_engines/template_url_service_unittest.cc   EXPECT_EQ(extension,
extension         954 chrome/browser/sessions/session_restore.cc       const extensions::Extension* extension =
extension         956 chrome/browser/sessions/session_restore.cc       if (extension) {
extension         959 chrome/browser/sessions/session_restore.cc             extension->GetType());
extension          41 chrome/browser/sessions/tab_restore_service_helper.cc   const extensions::Extension* extension =
extension          43 chrome/browser/sessions/tab_restore_service_helper.cc   if (!extension)
extension          48 chrome/browser/sessions/tab_restore_service_helper.cc       extension->GetType());
extension         427 chrome/browser/sessions/tab_restore_service_helper.cc     const extensions::Extension* extension =
extension         429 chrome/browser/sessions/tab_restore_service_helper.cc     if (extension)
extension         430 chrome/browser/sessions/tab_restore_service_helper.cc       tab->extension_app_id = extension->id();
extension          36 chrome/browser/signin/easy_unlock.cc   const extensions::Extension* extension =
extension          40 chrome/browser/signin/easy_unlock.cc       profile, extension, extensions::LAUNCH_CONTAINER_WINDOW, NEW_WINDOW));
extension          76 chrome/browser/speech/extension_api/tts_engine_extension_api.cc     const Extension* extension = iter->get();
extension          79 chrome/browser/speech/extension_api/tts_engine_extension_api.cc             extension->id(), tts_engine_events::kOnSpeak) ||
extension          81 chrome/browser/speech/extension_api/tts_engine_extension_api.cc             extension->id(), tts_engine_events::kOnStop)) {
extension          86 chrome/browser/speech/extension_api/tts_engine_extension_api.cc         extensions::TtsVoice::GetTtsVoices(extension);
extension         104 chrome/browser/speech/extension_api/tts_engine_extension_api.cc       result_voice.extension_id = extension->id();
extension         226 chrome/browser/speech/extension_api/tts_engine_extension_api.cc   const Extension* extension = GetExtension();
extension         228 chrome/browser/speech/extension_api/tts_engine_extension_api.cc       extensions::TtsVoice::GetTtsVoices(extension);
extension          41 chrome/browser/sync/glue/extensions_activity_monitor.cc   const extensions::Extension* extension =
extension          50 chrome/browser/sync/glue/extensions_activity_monitor.cc     extensions_activity_->UpdateRecord(extension->id());
extension          40 chrome/browser/sync/glue/extensions_activity_monitor_unittest.cc   scoped_refptr<Extension> extension(Extension::Create(
extension          44 chrome/browser/sync/glue/extensions_activity_monitor_unittest.cc   return extension;
extension          51 chrome/browser/sync/glue/extensions_activity_monitor_unittest.cc     const scoped_refptr<Extension>& extension, int repeats) {
extension          57 chrome/browser/sync/glue/extensions_activity_monitor_unittest.cc         content::Source<Extension>(extension.get()),
extension          67 chrome/browser/sync/test/integration/sync_extension_helper.cc   scoped_refptr<Extension> extension = GetExtension(profile, name, type);
extension          68 chrome/browser/sync/test/integration/sync_extension_helper.cc   if (!extension.get()) {
extension          74 chrome/browser/sync/test/integration/sync_extension_helper.cc       ->OnExtensionInstalled(extension.get(),
extension          79 chrome/browser/sync/test/integration/sync_extension_helper.cc   return extension->id();
extension         336 chrome/browser/sync/test/integration/sync_extension_helper.cc   scoped_refptr<Extension> extension =
extension         343 chrome/browser/sync/test/integration/sync_extension_helper.cc   if (!extension.get()) {
extension         347 chrome/browser/sync/test/integration/sync_extension_helper.cc   if (extension->name() != name) {
extension         348 chrome/browser/sync/test/integration/sync_extension_helper.cc     EXPECT_EQ(name, extension->name());
extension         351 chrome/browser/sync/test/integration/sync_extension_helper.cc   if (extension->GetType() != type) {
extension         352 chrome/browser/sync/test/integration/sync_extension_helper.cc     EXPECT_EQ(type, extension->GetType());
extension         355 chrome/browser/sync/test/integration/sync_extension_helper.cc   return extension;
extension         376 chrome/browser/sync/test/integration/sync_extension_helper.cc   scoped_refptr<Extension> extension =
extension         382 chrome/browser/sync/test/integration/sync_extension_helper.cc   if (!extension.get()) {
extension         387 chrome/browser/sync/test/integration/sync_extension_helper.cc   if (extension->id() != expected_id) {
extension         388 chrome/browser/sync/test/integration/sync_extension_helper.cc     EXPECT_EQ(expected_id, extension->id());
extension         393 chrome/browser/sync/test/integration/sync_extension_helper.cc   (it->second)[name] = extension;
extension         396 chrome/browser/sync/test/integration/sync_extension_helper.cc   return extension;
extension         470 chrome/browser/sync/test/integration/two_client_apps_sync_test.cc   const extensions::Extension* extension =
extension         473 chrome/browser/sync/test/integration/two_client_apps_sync_test.cc   ASSERT_TRUE(extension);
extension         479 chrome/browser/sync/test/integration/two_client_apps_sync_test.cc       extension_sync_service->GetAppSyncData(*extension));
extension         485 chrome/browser/sync/test/integration/two_client_apps_sync_test.cc       *extension,
extension         177 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc   base::FilePath::StringType extension = title.Extension();
extension         179 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc   if (extension.empty() ||
extension         180 chrome/browser/sync_file_system/drive_backend/drive_backend_util.cc       !net::GetWellKnownMimeTypeFromExtension(extension.substr(1), &mime_type))
extension          63 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc   virtual void AddExtension(const extensions::Extension* extension) OVERRIDE {
extension          64 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc     extensions_.Insert(make_scoped_refptr(extension));
extension          86 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc     const extensions::Extension* extension = extensions_.GetByID(extension_id);
extension          87 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc     disabled_extensions_.Insert(make_scoped_refptr(extension));
extension         197 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc     scoped_refptr<const extensions::Extension> extension =
extension         205 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc     extension_service()->AddExtension(extension.get());
extension         207 chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc         extension->id());
extension         133 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc   base::FilePath::StringType extension =
extension         136 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc   if (extension.empty() ||
extension         137 chrome/browser/sync_file_system/drive_backend_v1/api_util.cc       !net::GetWellKnownMimeTypeFromExtension(extension.substr(1), &mime_type))
extension          93 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc   scoped_refptr<const Extension> extension =
extension         100 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc   extension_service->AddExtension(extension.get());
extension         101 chrome/browser/sync_file_system/drive_backend_v1/drive_file_sync_service_fake_unittest.cc   return extension;
extension         212 chrome/browser/sync_file_system/local/local_file_sync_service.cc     const extensions::Extension* extension = extension_service->GetInstalledApp(
extension         214 chrome/browser/sync_file_system/local/local_file_sync_service.cc     if (!extension) {
extension         228 chrome/browser/sync_file_system/local/local_file_sync_service.cc         extensions::util::GetSiteForExtensionId(extension->id(), profile_);
extension         639 chrome/browser/sync_file_system/sync_file_system_service.cc   const Extension* extension =
extension         641 chrome/browser/sync_file_system/sync_file_system_service.cc           extension;
extension         642 chrome/browser/sync_file_system/sync_file_system_service.cc   GURL app_origin = Extension::GetBaseURLFromExtensionId(extension->id());
extension         656 chrome/browser/sync_file_system/sync_file_system_service.cc   std::string extension_id = info->extension->id();
extension         683 chrome/browser/sync_file_system/sync_file_system_service.cc   const Extension* extension = content::Details<const Extension>(details).ptr();
extension         684 chrome/browser/sync_file_system/sync_file_system_service.cc   DCHECK(extension);
extension         691 chrome/browser/sync_file_system/sync_file_system_service.cc   if (extensions::Manifest::IsUnpackedLocation(extension->location()) &&
extension         692 chrome/browser/sync_file_system/sync_file_system_service.cc       extension->manifest()->HasKey(extensions::manifest_keys::kKey)) {
extension         696 chrome/browser/sync_file_system/sync_file_system_service.cc   GURL app_origin = Extension::GetBaseURLFromExtensionId(extension->id());
extension         161 chrome/browser/task_manager/background_information.cc         const Extension* extension = extension_service->GetExtensionById(
extension         163 chrome/browser/task_manager/background_information.cc         if (extension)
extension         164 chrome/browser/task_manager/background_information.cc           application_name = base::UTF8ToUTF16(extension->name());
extension          47 chrome/browser/task_manager/extension_information.cc   explicit ExtensionProcessResource(const Extension* extension,
extension          72 chrome/browser/task_manager/extension_information.cc     const Extension* extension,
extension          80 chrome/browser/task_manager/extension_information.cc   base::string16 extension_name = base::UTF8ToUTF16(extension->name());
extension          85 chrome/browser/task_manager/extension_information.cc   int message_id = util::GetMessagePrefixID(extension->is_app(),
extension         171 chrome/browser/task_manager/extension_information.cc   const Extension* extension = GetExtensionForWebContents(web_contents);
extension         172 chrome/browser/task_manager/extension_information.cc   if (!extension) {
extension         177 chrome/browser/task_manager/extension_information.cc       extension, web_contents->GetRenderViewHost()));
extension         412 chrome/browser/task_manager/task_manager_browsertest.cc   const extensions::Extension* extension =
extension         421 chrome/browser/task_manager/task_manager_browsertest.cc   GURL url(extension->GetResourceURL("main.html"));
extension         457 chrome/browser/task_manager/task_manager_browsertest.cc   const extensions::Extension* extension =
extension         461 chrome/browser/task_manager/task_manager_browsertest.cc   GURL url(extension->GetResourceURL("main.html"));
extension         635 chrome/browser/themes/browser_theme_pack.cc     const Extension* extension) {
extension         637 chrome/browser/themes/browser_theme_pack.cc   DCHECK(extension);
extension         638 chrome/browser/themes/browser_theme_pack.cc   DCHECK(extension->is_theme());
extension         641 chrome/browser/themes/browser_theme_pack.cc   pack->BuildHeader(extension);
extension         642 chrome/browser/themes/browser_theme_pack.cc   pack->BuildTintsFromJSON(extensions::ThemeInfo::GetTints(extension));
extension         643 chrome/browser/themes/browser_theme_pack.cc   pack->BuildColorsFromJSON(extensions::ThemeInfo::GetColors(extension));
extension         645 chrome/browser/themes/browser_theme_pack.cc       extensions::ThemeInfo::GetDisplayProperties(extension));
extension         650 chrome/browser/themes/browser_theme_pack.cc       extensions::ThemeInfo::GetImages(extension),
extension         651 chrome/browser/themes/browser_theme_pack.cc       extension->path(),
extension         931 chrome/browser/themes/browser_theme_pack.cc void BrowserThemePack::BuildHeader(const Extension* extension) {
extension         947 chrome/browser/themes/browser_theme_pack.cc   const std::string& id = extension->id();
extension          62 chrome/browser/themes/browser_theme_pack.h       const extensions::Extension* extension);
extension         114 chrome/browser/themes/browser_theme_pack.h   void BuildHeader(const extensions::Extension* extension);
extension         163 chrome/browser/themes/browser_theme_pack_unittest.cc     scoped_refptr<Extension> extension(
extension         170 chrome/browser/themes/browser_theme_pack_unittest.cc     ASSERT_TRUE(extension.get());
extension         172 chrome/browser/themes/browser_theme_pack_unittest.cc     pack = BrowserThemePack::BuildFromExtension(extension.get());
extension         255 chrome/browser/themes/theme_service.cc       if (installed_details->extension->is_theme())
extension         256 chrome/browser/themes/theme_service.cc         installed_pending_load_id_ = installed_details->extension->id();
extension         261 chrome/browser/themes/theme_service.cc       const Extension* extension = Details<const Extension>(details).ptr();
extension         262 chrome/browser/themes/theme_service.cc       if (extension->is_theme() &&
extension         264 chrome/browser/themes/theme_service.cc           installed_pending_load_id_ == extension->id()) {
extension         265 chrome/browser/themes/theme_service.cc         SetTheme(extension);
extension         272 chrome/browser/themes/theme_service.cc       const Extension* extension = Details<const Extension>(details).ptr();
extension         273 chrome/browser/themes/theme_service.cc       if (extension->is_theme())
extension         274 chrome/browser/themes/theme_service.cc         SetTheme(extension);
extension         281 chrome/browser/themes/theme_service.cc           unloaded_details->extension->is_theme() &&
extension         282 chrome/browser/themes/theme_service.cc           unloaded_details->extension->id() == GetThemeID()) {
extension         290 chrome/browser/themes/theme_service.cc void ThemeService::SetTheme(const Extension* extension) {
extension         291 chrome/browser/themes/theme_service.cc   DCHECK(extension->is_theme());
extension         294 chrome/browser/themes/theme_service.cc   if (!service->IsExtensionEnabled(extension->id())) {
extension         297 chrome/browser/themes/theme_service.cc     service->EnableExtension(extension->id());
extension         307 chrome/browser/themes/theme_service.cc   BuildFromExtension(extension);
extension         308 chrome/browser/themes/theme_service.cc   SaveThemeID(extension->id());
extension         314 chrome/browser/themes/theme_service.cc       previous_theme_id != extension->id()) {
extension         353 chrome/browser/themes/theme_service.cc     const extensions::Extension* extension = *it;
extension         354 chrome/browser/themes/theme_service.cc     if (extension->is_theme() &&
extension         355 chrome/browser/themes/theme_service.cc         extension->id() != current_theme) {
extension         359 chrome/browser/themes/theme_service.cc       int disable_reason = prefs->GetDisableReasons(extension->id());
extension         360 chrome/browser/themes/theme_service.cc       if (!prefs->IsExtensionDisabled(extension->id()) ||
extension         528 chrome/browser/themes/theme_service.cc   const Extension* extension = service ?
extension         530 chrome/browser/themes/theme_service.cc   if (extension) {
extension         532 chrome/browser/themes/theme_service.cc     BuildFromExtension(extension);
extension         559 chrome/browser/themes/theme_service.cc void ThemeService::BuildFromExtension(const Extension* extension) {
extension         561 chrome/browser/themes/theme_service.cc       BrowserThemePack::BuildFromExtension(extension));
extension         576 chrome/browser/themes/theme_service.cc       extension->path().Append(chrome::kThemePackFilename);
extension         110 chrome/browser/themes/theme_service.h   virtual void SetTheme(const extensions::Extension* extension);
extension         211 chrome/browser/themes/theme_service.h   void BuildFromExtension(const extensions::Extension* extension);
extension          23 chrome/browser/themes/theme_syncable_service.cc bool IsTheme(const extensions::Extension* extension) {
extension          24 chrome/browser/themes/theme_syncable_service.cc   return extension->is_theme();
extension         215 chrome/browser/themes/theme_syncable_service.cc     const extensions::Extension* extension =
extension         217 chrome/browser/themes/theme_syncable_service.cc     if (extension) {
extension         218 chrome/browser/themes/theme_syncable_service.cc       if (!extension->is_theme()) {
extension         232 chrome/browser/themes/theme_syncable_service.cc       theme_service_->SetTheme(extension);
extension          62 chrome/browser/themes/theme_syncable_service_unittest.cc   virtual void SetTheme(const extensions::Extension* extension) OVERRIDE {
extension          64 chrome/browser/themes/theme_syncable_service_unittest.cc     theme_extension_ = extension;
extension         132 chrome/browser/themes/theme_syncable_service_unittest.cc   scoped_refptr<extensions::Extension> extension =
extension         136 chrome/browser/themes/theme_syncable_service_unittest.cc   EXPECT_TRUE(extension.get());
extension         138 chrome/browser/themes/theme_syncable_service_unittest.cc   return extension;
extension          10 chrome/browser/ui/android/extensions/extension_install_ui_android.cc     const extensions::Extension* extension,
extension          18 chrome/browser/ui/android/extensions/extension_install_ui_android.h   virtual void OnInstallSuccess(const extensions::Extension* extension,
extension         132 chrome/browser/ui/app_list/app_list_controller_browsertest.cc   const extensions::Extension* extension =
extension         135 chrome/browser/ui/app_list/app_list_controller_browsertest.cc   ASSERT_TRUE(extension);
extension         143 chrome/browser/ui/app_list/app_list_controller_browsertest.cc   WatchResultsLookingForItem(model->results(), extension->name());
extension         155 chrome/browser/ui/app_list/app_list_controller_browsertest.cc   UninstallExtension(extension->id());
extension          39 chrome/browser/ui/app_list/app_list_controller_delegate.cc   const extensions::Extension* extension =
extension          41 chrome/browser/ui/app_list/app_list_controller_delegate.cc   return extension;
extension          72 chrome/browser/ui/app_list/app_list_controller_delegate.cc   const extensions::Extension* extension = GetExtension(profile, app_id);
extension          75 chrome/browser/ui/app_list/app_list_controller_delegate.cc   return extension &&
extension          76 chrome/browser/ui/app_list/app_list_controller_delegate.cc          policy->UserMayModifySettings(extension, NULL);
extension          90 chrome/browser/ui/app_list/app_list_controller_delegate.cc   const extensions::Extension* extension = service->GetInstalledExtension(
extension          92 chrome/browser/ui/app_list/app_list_controller_delegate.cc   DCHECK(extension);
extension         102 chrome/browser/ui/app_list/app_list_controller_delegate.cc       extension,
extension         118 chrome/browser/ui/app_list/app_list_controller_delegate.cc   const extensions::Extension* extension = GetExtension(profile, app_id);
extension         119 chrome/browser/ui/app_list/app_list_controller_delegate.cc   return extension && extension->from_webstore();
extension         126 chrome/browser/ui/app_list/app_list_controller_delegate.cc   const extensions::Extension* extension = GetExtension(profile, app_id);
extension         127 chrome/browser/ui/app_list/app_list_controller_delegate.cc   if (!extension)
extension         130 chrome/browser/ui/app_list/app_list_controller_delegate.cc   const GURL url = extensions::ManifestURL::GetDetailsURL(extension);
extension         149 chrome/browser/ui/app_list/app_list_controller_delegate.cc   const extensions::Extension* extension = GetExtension(profile, app_id);
extension         151 chrome/browser/ui/app_list/app_list_controller_delegate.cc          extension &&
extension         152 chrome/browser/ui/app_list/app_list_controller_delegate.cc          !extensions::ManifestURL::GetOptionsPage(extension).is_empty();
extension         158 chrome/browser/ui/app_list/app_list_controller_delegate.cc   const extensions::Extension* extension = GetExtension(profile, app_id);
extension         159 chrome/browser/ui/app_list/app_list_controller_delegate.cc   if (!extension)
extension         164 chrome/browser/ui/app_list/app_list_controller_delegate.cc       extensions::ManifestURL::GetOptionsPage(extension),
extension          98 chrome/browser/ui/app_list/app_list_controller_delegate.h                            const extensions::Extension* extension,
extension         104 chrome/browser/ui/app_list/app_list_controller_delegate.h                          const extensions::Extension* extension,
extension          67 chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc   const extensions::Extension* extension = service->GetInstalledExtension(
extension          69 chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc   DCHECK(extension);
extension          76 chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc       parent_window, profile, extension,
extension          90 chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc     const extensions::Extension* extension,
extension          93 chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc   LaunchApp(profile, extension, source, event_flags);
extension          98 chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc     const extensions::Extension* extension,
extension         103 chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc   AppLaunchParams params(profile, extension, NEW_FOREGROUND_TAB);
extension         106 chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc       extension->id() == extension_misc::kWebStoreAppId) {
extension         108 chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc     GURL extension_url = extensions::AppLaunchInfo::GetFullLaunchURL(extension);
extension          43 chrome/browser/ui/app_list/app_list_controller_delegate_impl.h                            const extensions::Extension* extension,
extension          47 chrome/browser/ui/app_list/app_list_controller_delegate_impl.h                          const extensions::Extension* extension,
extension         780 chrome/browser/ui/app_list/app_list_syncable_service.cc   const extensions::Extension* extension =
extension         782 chrome/browser/ui/app_list/app_list_syncable_service.cc   return extension && extension->was_installed_by_oem();
extension         234 chrome/browser/ui/app_list/app_list_view_delegate.cc   const extensions::Extension* extension =
extension         236 chrome/browser/ui/app_list/app_list_view_delegate.cc   if (!extension) {
extension         243 chrome/browser/ui/app_list/app_list_view_delegate.cc                                       extension->id(),
extension         247 chrome/browser/ui/app_list/app_list_view_delegate.cc       extension,
extension         317 chrome/browser/ui/app_list/app_list_view_delegate.cc   const extensions::Extension* extension = service->GetInstalledExtension(
extension         319 chrome/browser/ui/app_list/app_list_view_delegate.cc   DCHECK(extension);
extension         321 chrome/browser/ui/app_list/app_list_view_delegate.cc                            extension,
extension          72 chrome/browser/ui/app_list/chrome_signin_delegate.cc   const extensions::Extension* extension = service->GetInstalledExtension(
extension          74 chrome/browser/ui/app_list/chrome_signin_delegate.cc   if (!extension)
extension          77 chrome/browser/ui/app_list/chrome_signin_delegate.cc   OpenApplication(AppLaunchParams(profile_, extension, NEW_FOREGROUND_TAB));
extension         169 chrome/browser/ui/app_list/extension_app_item.cc   const Extension* extension = GetExtension();
extension         170 chrome/browser/ui/app_list/extension_app_item.cc   bool is_installing = !extension;
extension         177 chrome/browser/ui/app_list/extension_app_item.cc   SetNameAndShortName(extension->name(), extension->short_name());
extension         178 chrome/browser/ui/app_list/extension_app_item.cc   LoadImage(extension);
extension         238 chrome/browser/ui/app_list/extension_app_item.cc   const Extension* extension = service->GetInstalledExtension(extension_id_);
extension         239 chrome/browser/ui/app_list/extension_app_item.cc   return extension;
extension         242 chrome/browser/ui/app_list/extension_app_item.cc void ExtensionAppItem::LoadImage(const Extension* extension) {
extension         245 chrome/browser/ui/app_list/extension_app_item.cc       extension,
extension         246 chrome/browser/ui/app_list/extension_app_item.cc       extensions::IconsInfo::GetIcons(extension),
extension         271 chrome/browser/ui/app_list/extension_app_item.cc   const Extension* extension = GetExtension();
extension         272 chrome/browser/ui/app_list/extension_app_item.cc   if (!extension)
extension         279 chrome/browser/ui/app_list/extension_app_item.cc                              extension,
extension         307 chrome/browser/ui/app_list/extension_app_item.cc   const Extension* extension = GetExtension();
extension         308 chrome/browser/ui/app_list/extension_app_item.cc   if (!extension)
extension         315 chrome/browser/ui/app_list/extension_app_item.cc   CoreAppLauncherHandler::RecordAppListMainLaunch(extension);
extension         317 chrome/browser/ui/app_list/extension_app_item.cc                                extension,
extension          68 chrome/browser/ui/app_list/extension_app_item.h   void LoadImage(const extensions::Extension* extension);
extension         143 chrome/browser/ui/app_list/extension_app_model_builder.cc void ExtensionAppModelBuilder::OnExtensionLoaded(const Extension* extension) {
extension         144 chrome/browser/ui/app_list/extension_app_model_builder.cc   if (!extension->ShouldDisplayInAppLauncher())
extension         148 chrome/browser/ui/app_list/extension_app_model_builder.cc            << extension->id().substr(0, 8);
extension         149 chrome/browser/ui/app_list/extension_app_model_builder.cc   ExtensionAppItem* existing_item = GetExtensionAppItem(extension->id());
extension         157 chrome/browser/ui/app_list/extension_app_model_builder.cc   InsertApp(CreateAppItem(extension->id(),
extension         160 chrome/browser/ui/app_list/extension_app_model_builder.cc                           extension->is_platform_app()));
extension         164 chrome/browser/ui/app_list/extension_app_model_builder.cc void ExtensionAppModelBuilder::OnExtensionUnloaded(const Extension* extension) {
extension         165 chrome/browser/ui/app_list/extension_app_model_builder.cc   ExtensionAppItem* item = GetExtensionAppItem(extension->id());
extension         172 chrome/browser/ui/app_list/extension_app_model_builder.cc     const Extension* extension) {
extension         175 chrome/browser/ui/app_list/extension_app_model_builder.cc              << extension->id().substr(0, 8);
extension         176 chrome/browser/ui/app_list/extension_app_model_builder.cc     service_->RemoveItem(extension->id());
extension         179 chrome/browser/ui/app_list/extension_app_model_builder.cc   model_->DeleteItem(extension->id());
extension         183 chrome/browser/ui/app_list/extension_app_model_builder.cc     const Extension* extension) {
extension         184 chrome/browser/ui/app_list/extension_app_model_builder.cc   if (!extension->ShouldDisplayInAppLauncher())
extension         187 chrome/browser/ui/app_list/extension_app_model_builder.cc   ExtensionAppItem* existing_item = GetExtensionAppItem(extension->id());
extension          63 chrome/browser/ui/app_list/extension_app_model_builder.h       const extensions::Extension* extension) OVERRIDE;
extension          65 chrome/browser/ui/app_list/extension_app_model_builder.h       const extensions::Extension* extension) OVERRIDE;
extension          67 chrome/browser/ui/app_list/extension_app_model_builder.h       const extensions::Extension* extension) OVERRIDE;
extension          69 chrome/browser/ui/app_list/extension_app_model_builder.h       const extensions::Extension* extension) OVERRIDE;
extension          89 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc                            const extensions::Extension* extension,
extension          93 chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc                          const extensions::Extension* extension,
extension          26 chrome/browser/ui/app_list/extension_uninstaller.cc   const extensions::Extension* extension =
extension          29 chrome/browser/ui/app_list/extension_uninstaller.cc   if (!extension) {
extension          35 chrome/browser/ui/app_list/extension_uninstaller.cc   dialog_->ConfirmUninstall(extension);
extension          41 chrome/browser/ui/app_list/extension_uninstaller.cc   const extensions::Extension* extension =
extension          43 chrome/browser/ui/app_list/extension_uninstaller.cc   if (extension) {
extension         102 chrome/browser/ui/app_list/recommended_apps.cc     const extensions::Extension* extension) {
extension         107 chrome/browser/ui/app_list/recommended_apps.cc     const extensions::Extension* extension) {
extension         112 chrome/browser/ui/app_list/recommended_apps.cc     const extensions::Extension* extension) {
extension         117 chrome/browser/ui/app_list/recommended_apps.cc     const extensions::Extension* extension) {
extension          41 chrome/browser/ui/app_list/recommended_apps.h       const extensions::Extension* extension) OVERRIDE;
extension          43 chrome/browser/ui/app_list/recommended_apps.h       const extensions::Extension* extension) OVERRIDE;
extension          45 chrome/browser/ui/app_list/recommended_apps.h       const extensions::Extension* extension) OVERRIDE;
extension          47 chrome/browser/ui/app_list/recommended_apps.h       const extensions::Extension* extension) OVERRIDE;
extension          39 chrome/browser/ui/app_list/search/app_result.cc   const extensions::Extension* extension =
extension          42 chrome/browser/ui/app_list/search/app_result.cc   DCHECK(extension);
extension          44 chrome/browser/ui/app_list/search/app_result.cc   is_platform_app_ = extension->is_platform_app();
extension          48 chrome/browser/ui/app_list/search/app_result.cc       extension,
extension          49 chrome/browser/ui/app_list/search/app_result.cc       extensions::IconsInfo::GetIcons(extension),
extension          76 chrome/browser/ui/app_list/search/app_result.cc   const extensions::Extension* extension =
extension          79 chrome/browser/ui/app_list/search/app_result.cc   if (!extension)
extension          86 chrome/browser/ui/app_list/search/app_result.cc   CoreAppLauncherHandler::RecordAppListSearchLaunch(extension);
extension          92 chrome/browser/ui/app_list/search/app_result.cc       extension,
extension         185 chrome/browser/ui/app_list/search/app_result.cc void AppResult::OnExtensionLoaded(const extensions::Extension* extension) {
extension         189 chrome/browser/ui/app_list/search/app_result.cc void AppResult::OnExtensionUninstalled(const extensions::Extension* extension) {
extension         190 chrome/browser/ui/app_list/search/app_result.cc   if (extension->id() != app_id_)
extension          77 chrome/browser/ui/app_list/search/app_result.h       const extensions::Extension* extension) OVERRIDE;
extension          79 chrome/browser/ui/app_list/search/app_result.h       const extensions::Extension* extension) OVERRIDE;
extension          30 chrome/browser/ui/app_list/search/app_search_provider.cc   explicit App(const extensions::Extension* extension)
extension          31 chrome/browser/ui/app_list/search/app_search_provider.cc       : app_id_(extension->id()),
extension          32 chrome/browser/ui/app_list/search/app_search_provider.cc         indexed_name_(base::UTF8ToUTF16(extension->name())) {
extension         236 chrome/browser/ui/app_list/search/webstore/webstore_result.cc     const extensions::Extension* extension) {
extension         237 chrome/browser/ui/app_list/search/webstore/webstore_result.cc   if (extension->id() != app_id_)
extension          56 chrome/browser/ui/app_list/search/webstore/webstore_result.h       const extensions::Extension* extension) OVERRIDE;
extension          59 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc void IncrementLazyKeepaliveCount(const Extension* extension,
extension          61 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc   DCHECK(extension);
extension          65 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc     pm->IncrementLazyKeepaliveCount(extension);
extension          70 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc void DecrementLazyKeepaliveCount(const Extension* extension,
extension          72 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc   DCHECK(extension);
extension          76 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc     pm->DecrementLazyKeepaliveCount(extension);
extension         184 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc   const Extension* extension = GetExtensionForWebContents(web_contents);
extension         185 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc   if (extension)
extension         186 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc     IncrementLazyKeepaliveCount(extension, web_contents);
extension         215 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc   const Extension* extension = GetExtensionForWebContents(web_contents);
extension         216 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc   if (extension)
extension         217 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc     IncrementLazyKeepaliveCount(extension, web_contents);
extension         273 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc   const Extension* extension = GetExtensionForWebContents(web_contents);
extension         274 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc   if (extension)
extension         275 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc     return base::UTF8ToUTF16(extension->name());
extension         307 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc   const Extension* extension = GetExtensionForWebContents(web_contents);
extension         308 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc   if (extension)
extension         309 chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc     DecrementLazyKeepaliveCount(extension, web_contents);
extension         222 chrome/browser/ui/apps/chrome_app_window_delegate.cc     const extensions::Extension* extension) {
extension         224 chrome/browser/ui/apps/chrome_app_window_delegate.cc       web_contents, request, callback, extension);
extension          53 chrome/browser/ui/apps/chrome_app_window_delegate.h       const extensions::Extension* extension) OVERRIDE;
extension         290 chrome/browser/ui/ash/accelerator_commands_browsertest.cc   const extensions::Extension* extension = LoadAndLaunchPlatformApp("minimal");
extension         298 chrome/browser/ui/ash/accelerator_commands_browsertest.cc     apps::AppWindow* app_window = CreateAppWindowFromParams(extension, params);
extension         322 chrome/browser/ui/ash/accelerator_commands_browsertest.cc     apps::AppWindow* app_window = CreateAppWindowFromParams(extension, params);
extension          69 chrome/browser/ui/ash/app_list/app_list_controller_ash.cc     const extensions::Extension* extension,
extension          73 chrome/browser/ui/ash/app_list/app_list_controller_ash.cc       extension->id(),
extension          82 chrome/browser/ui/ash/app_list/app_list_controller_ash.cc     const extensions::Extension* extension,
extension          86 chrome/browser/ui/ash/app_list/app_list_controller_ash.cc       extension->id(),
extension          32 chrome/browser/ui/ash/app_list/app_list_controller_ash.h                            const extensions::Extension* extension,
extension          36 chrome/browser/ui/ash/app_list/app_list_controller_ash.h                          const extensions::Extension* extension,
extension          98 chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc   const extensions::Extension* extension = NULL;
extension         104 chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc     extension = extensions_service->extensions()->GetByID(origin.host());
extension         105 chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc     DCHECK(extension);
extension         109 chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc       web_contents, request, callback, extension);
extension          39 chrome/browser/ui/ash/chrome_new_window_delegate_chromeos.cc   const extensions::Extension* const extension =
extension          44 chrome/browser/ui/ash/chrome_new_window_delegate_chromeos.cc                                   extension,
extension          70 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc   const Extension* extension =
extension          73 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc   if (extension) {
extension          75 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc         extensions::AppLaunchInfo::GetLaunchWebURL(extension).spec() + "*"));
extension         170 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc   const Extension* extension =
extension         174 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc   if (!extension)
extension         188 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc               extension, refocus_pattern, web_contents, browser))
extension         238 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc   const Extension* extension =
extension         242 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc   if (!extension)
extension         260 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc               extension, refocus_pattern, web_contents, browser))
extension         276 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc               extension, refocus_pattern, web_contents, browser))
extension         284 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc     const extensions::Extension* extension,
extension         297 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc     return browser_extension == extension;
extension         308 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc           (extension->OverlapsWithOrigin(tab_url) &&
extension         309 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc            extension->web_extent().MatchesURL(tab_url)) ||
extension         358 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc   const Extension* extension =
extension         360 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc   return extension && extension->is_platform_app();
extension          70 chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h   bool WebContentMatchesApp(const extensions::Extension* extension,
extension          28 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc   return app_window->extension()->id();
extension         149 chrome/browser/ui/ash/launcher/app_window_launcher_controller.cc   std::string app_id = app_window->extension()->id();
extension         628 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc   const Extension* extension = GetExtensionForAppID(app_id);
extension         631 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc   return extension ? extension->is_platform_app() : false;
extension         638 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc   const Extension* extension = GetExtensionForAppID(app_id);
extension         639 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc   if (!extension)
extension         658 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc                          extension,
extension         667 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc     GURL extension_url = extensions::AppLaunchInfo::GetFullLaunchURL(extension);
extension         700 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc   const Extension* extension = GetExtensionForAppID(
extension         704 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc   if (!extension)
extension         708 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc                                    extension);
extension        1121 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc       const Extension* extension =
extension        1123 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc       if (IsAppPinned(extension->id())) {
extension        1125 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc         app_icon_loader_->ClearImage(extension->id());
extension        1126 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc         app_icon_loader_->FetchImage(extension->id());
extension        1134 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc       const Extension* extension = unload_info->extension;
extension        1135 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc       const std::string& id = extension->id();
extension        1305 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc     const extensions::Extension* extension = GetExtensionForAppID(app_id);
extension        1306 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc     if (extension)
extension        1307 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc       return base::UTF8ToUTF16(extension->name());
extension         218 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc     const Extension* extension =
extension         220 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc     EXPECT_TRUE(extension);
extension         223 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc                                     extension,
extension         226 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc     return extension;
extension         235 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc     const Extension* extension =
extension         237 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc     const std::string app_id = extension->id();
extension         347 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   const Extension* extension = LoadAndLaunchPlatformApp("launch");
extension         348 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   AppWindow* window = CreateAppWindow(extension);
extension         364 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   const Extension* extension = LoadAndLaunchPlatformApp("launch");
extension         365 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   const std::string app_id = extension->id();
extension         376 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   AppWindow* window = CreateAppWindow(extension);
extension         394 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   const Extension* extension = LoadAndLaunchPlatformApp("launch");
extension         395 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   AppWindow* window = CreateAppWindow(extension);
extension         433 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   const Extension* extension = LoadAndLaunchPlatformApp("launch");
extension         434 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   const std::string app_id = extension->id();
extension         453 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   AppWindow* window = CreateAppWindow(extension);
extension         481 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   const Extension* extension = LoadAndLaunchPlatformApp("launch");
extension         482 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   AppWindow* window1 = CreateAppWindow(extension);
extension         492 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   AppWindow* window2 = CreateAppWindow(extension);
extension         908 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   const Extension* extension =
extension         911 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   ChromeLauncherController::instance()->ActivateApp(extension->id(),
extension         915 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   ChromeLauncherController::instance()->ActivateApp(extension->id(),
extension         925 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   const Extension* extension =
extension         928 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   ChromeLauncherController::instance()->LaunchApp(extension->id(),
extension         932 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   ChromeLauncherController::instance()->LaunchApp(extension->id(),
extension        1366 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   const Extension* extension = LoadAndLaunchPlatformApp("launch");
extension        1370 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   AppWindow* window = CreateAppWindowFromParams(extension, params);
extension        1384 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   const Extension* extension = LoadAndLaunchPlatformApp("launch");
extension        1388 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc   AppWindow* panel = CreateAppWindowFromParams(extension, params);
extension         767 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc   V2App(Profile* profile, const extensions::Extension* extension) {
extension         769 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc         new apps::AppWindow(profile, new ChromeAppWindowDelegate(), extension);
extension          89 chrome/browser/ui/ash/launcher/launcher_app_tab_helper.cc         const extensions::Extension* extension = GetExtensionForTab(*it, tab);
extension          90 chrome/browser/ui/ash/launcher/launcher_app_tab_helper.cc         if (extension)
extension          91 chrome/browser/ui/ash/launcher/launcher_app_tab_helper.cc           return extension->id();
extension          97 chrome/browser/ui/ash/launcher/launcher_app_tab_helper.cc   const extensions::Extension* extension = GetExtensionForTab(profile_, tab);
extension          98 chrome/browser/ui/ash/launcher/launcher_app_tab_helper.cc   return extension ? extension->id() : std::string();
extension          36 chrome/browser/ui/ash/launcher/launcher_item_controller.cc   const extensions::Extension* extension =
extension          39 chrome/browser/ui/ash/launcher/launcher_item_controller.cc   return extension ? base::UTF8ToUTF16(extension->name()) : base::string16();
extension        1850 chrome/browser/ui/browser.cc         const Extension* extension = extension_info->extension;
extension        1861 chrome/browser/ui/browser.cc                web_contents->GetURL().host() == extension->id()) ||
extension        1863 chrome/browser/ui/browser.cc                    web_contents)->extension_app() == extension)) {
extension        2210 chrome/browser/ui/browser.cc   const extensions::Extension* extension =
extension        2214 chrome/browser/ui/browser.cc   return (!extension || !extension->is_legacy_packaged_app());
extension        2310 chrome/browser/ui/browser.cc   const Extension* extension =
extension        2312 chrome/browser/ui/browser.cc   if (!extension)
extension        2326 chrome/browser/ui/browser.cc           extension->id(), opener_site_instance->GetProcess()->GetID())) {
extension        2331 chrome/browser/ui/browser.cc   bool allow_js_access = extensions::BackgroundInfo::AllowJSAccess(extension);
extension        2333 chrome/browser/ui/browser.cc       service->GetAppBackgroundContents(base::ASCIIToUTF16(extension->id()));
extension        2357 chrome/browser/ui/browser.cc                                         base::ASCIIToUTF16(extension->id()),
extension         129 chrome/browser/ui/browser_commands.cc     const extensions::Extension** extension,
extension         132 chrome/browser/ui/browser_commands.cc   DCHECK(extension);
extension         158 chrome/browser/ui/browser_commands.cc       *extension = i->get();
extension         472 chrome/browser/ui/browser_commands.cc     const extensions::Extension* extension =
extension         475 chrome/browser/ui/browser_commands.cc     if (!extension)
extension         478 chrome/browser/ui/browser_commands.cc     url = extensions::AppLaunchInfo::GetLaunchWebURL(extension);
extension         528 chrome/browser/ui/browser_commands.cc   const extensions::Extension* extension =
extension         530 chrome/browser/ui/browser_commands.cc   if (extension) {
extension         533 chrome/browser/ui/browser_commands.cc         extension->GetType());
extension         731 chrome/browser/ui/browser_commands.cc   const extensions::Extension* extension = NULL;
extension         735 chrome/browser/ui/browser_commands.cc                                  &extension,
extension         740 chrome/browser/ui/browser_commands.cc         browser->window()->ExecuteExtensionCommand(extension, command);
extension         746 chrome/browser/ui/browser_commands.cc         browser->window()->ShowBrowserActionPopup(extension);
extension         750 chrome/browser/ui/browser_commands.cc         browser->window()->ShowPageActionPopup(extension);
extension          63 chrome/browser/ui/browser_dialogs.h void ShowExtensionInstalledBubble(const extensions::Extension* extension,
extension         489 chrome/browser/ui/browser_navigator.cc   const extensions::Extension* extension =
extension         493 chrome/browser/ui/browser_navigator.cc   if (extension && extension->is_platform_app())
extension         397 chrome/browser/ui/browser_window.h   virtual void ExecuteExtensionCommand(const extensions::Extension* extension,
extension         401 chrome/browser/ui/browser_window.h   virtual void ShowPageActionPopup(const extensions::Extension* extension) = 0;
extension         407 chrome/browser/ui/browser_window.h       const extensions::Extension* extension) = 0;
extension          82 chrome/browser/ui/chrome_pages.cc     const extensions::Extension* extension =
extension          85 chrome/browser/ui/chrome_pages.cc     OpenApplication(AppLaunchParams(profile, extension, 0, host_desktop_type));
extension         162 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h   const extensions::Extension* extension() const {
extension         163 chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h     return app_window_->extension();
extension         158 chrome/browser/ui/cocoa/browser_window_cocoa.h       const extensions::Extension* extension,
extension         161 chrome/browser/ui/cocoa/browser_window_cocoa.h       const extensions::Extension* extension) OVERRIDE;
extension         163 chrome/browser/ui/cocoa/browser_window_cocoa.h       const extensions::Extension* extension) OVERRIDE;
extension          60 chrome/browser/ui/cocoa/extensions/browser_action_button.h           extension:(const extensions::Extension*)extension
extension          75 chrome/browser/ui/cocoa/extensions/browser_action_button.h @property(readonly, nonatomic) const extensions::Extension* extension;
extension          90 chrome/browser/ui/cocoa/extensions/browser_actions_controller.h     const extensions::Extension*)extension;
extension         100 chrome/browser/ui/cocoa/extensions/browser_actions_controller.h - (NSPoint)popupPointForBrowserAction:(const extensions::Extension*)extension;
extension          41 chrome/browser/ui/cocoa/extensions/extension_action_context_menu_controller.h - (id)initWithExtension:(const extensions::Extension*)extension
extension          46 chrome/browser/ui/cocoa/extensions/extension_install_prompt_test_utils.h     extensions::Extension* extension);
extension          49 chrome/browser/ui/cocoa/extensions/extension_install_prompt_test_utils.h     extensions::Extension* extension);
extension         102 chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.h @property(nonatomic, readonly) const extensions::Extension* extension;
extension         109 chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.h                  extension:(const extensions::Extension*)extension
extension          56 chrome/browser/ui/cocoa/extensions/extension_keybinding_registry_cocoa.h       const extensions::Extension* extension,
extension         103 chrome/browser/ui/extensions/application_launch.cc     const Extension* extension =
extension         105 chrome/browser/ui/extensions/application_launch.cc     if (!extension)
extension         138 chrome/browser/ui/extensions/application_launch.cc GURL UrlForExtension(const Extension* extension,
extension         140 chrome/browser/ui/extensions/application_launch.cc   if (!extension)
extension         145 chrome/browser/ui/extensions/application_launch.cc     DCHECK(extension->web_extent().MatchesURL(override_url) ||
extension         146 chrome/browser/ui/extensions/application_launch.cc            override_url.GetOrigin() == extension->url());
extension         149 chrome/browser/ui/extensions/application_launch.cc     url = extensions::AppLaunchInfo::GetFullLaunchURL(extension);
extension         154 chrome/browser/ui/extensions/application_launch.cc     url = extensions::ManifestURL::GetOptionsPage(extension);
extension         165 chrome/browser/ui/extensions/application_launch.cc     const Extension* extension) {
extension         166 chrome/browser/ui/extensions/application_launch.cc   if (!extension || container != extensions::LAUNCH_CONTAINER_WINDOW)
extension         176 chrome/browser/ui/extensions/application_launch.cc       extensions::GetLaunchType(ExtensionPrefs::Get(profile), extension);
extension         188 chrome/browser/ui/extensions/application_launch.cc   const Extension* const extension = GetExtension(params);
extension         191 chrome/browser/ui/extensions/application_launch.cc   DCHECK(!url_input.is_empty() || extension);
extension         192 chrome/browser/ui/extensions/application_launch.cc   GURL url = UrlForExtension(extension, url_input);
extension         196 chrome/browser/ui/extensions/application_launch.cc   browser_params.app_name = extension ?
extension         197 chrome/browser/ui/extensions/application_launch.cc       web_app::GenerateApplicationNameFromExtensionId(extension->id()) :
extension         202 chrome/browser/ui/extensions/application_launch.cc   } else if (extension) {
extension         204 chrome/browser/ui/extensions/application_launch.cc         extensions::AppLaunchInfo::GetLaunchWidth(extension));
extension         206 chrome/browser/ui/extensions/application_launch.cc         extensions::AppLaunchInfo::GetLaunchHeight(extension));
extension         211 chrome/browser/ui/extensions/application_launch.cc                                                                extension);
extension         239 chrome/browser/ui/extensions/application_launch.cc   const Extension* extension = GetExtension(launch_params);
extension         240 chrome/browser/ui/extensions/application_launch.cc   CHECK(extension);
extension         263 chrome/browser/ui/extensions/application_launch.cc       extensions::GetLaunchType(ExtensionPrefs::Get(profile), extension);
extension         270 chrome/browser/ui/extensions/application_launch.cc   GURL extension_url = UrlForExtension(extension, launch_params.override_url);
extension         328 chrome/browser/ui/extensions/application_launch.cc   const Extension* extension = GetExtension(params);
extension         329 chrome/browser/ui/extensions/application_launch.cc   if (!extension)
extension         335 chrome/browser/ui/extensions/application_launch.cc   prefs->SetActiveBit(extension->id(), true);
extension         340 chrome/browser/ui/extensions/application_launch.cc   if (extension->is_platform_app()) {
extension         344 chrome/browser/ui/extensions/application_launch.cc         SetDesktopLastLaunchedFrom(extension->id(), params.desktop_type);
extension         348 chrome/browser/ui/extensions/application_launch.cc     if (extension->id() != extension_misc::kSettingsAppId &&
extension         359 chrome/browser/ui/extensions/application_launch.cc             base::UTF8ToUTF16(extension->id())));
extension         370 chrome/browser/ui/extensions/application_launch.cc         profile, extension, params.command_line, params.current_directory);
extension         376 chrome/browser/ui/extensions/application_launch.cc   prefs->SetLastLaunchTime(extension->id(), base::Time::Now());
extension         401 chrome/browser/ui/extensions/application_launch.cc                                  const extensions::Extension* extension,
extension         405 chrome/browser/ui/extensions/application_launch.cc       extension_id(extension ? extension->id() : std::string()),
extension         414 chrome/browser/ui/extensions/application_launch.cc                                  const extensions::Extension* extension,
extension         417 chrome/browser/ui/extensions/application_launch.cc       extension_id(extension ? extension->id() : std::string()),
extension         427 chrome/browser/ui/extensions/application_launch.cc       extensions::GetLaunchContainer(ExtensionPrefs::Get(profile), extension);
extension         431 chrome/browser/ui/extensions/application_launch.cc                                  const extensions::Extension* extension,
extension         435 chrome/browser/ui/extensions/application_launch.cc       extension_id(extension ? extension->id() : std::string()),
extension         450 chrome/browser/ui/extensions/application_launch.cc         extensions::GetLaunchContainer(ExtensionPrefs::Get(profile), extension);
extension         463 chrome/browser/ui/extensions/application_launch.cc   const Extension* extension = GetExtension(params);
extension         464 chrome/browser/ui/extensions/application_launch.cc   if (!extension)
extension         470 chrome/browser/ui/extensions/application_launch.cc   if (!service->IsExtensionEnabled(extension->id()) ||
extension         472 chrome/browser/ui/extensions/application_launch.cc           extension->id(), extensions::ExtensionRegistry::TERMINATED)) {
extension         474 chrome/browser/ui/extensions/application_launch.cc         service, profile, params.desktop_type, extension->id(),
extension          33 chrome/browser/ui/extensions/application_launch.h                   const extensions::Extension* extension,
extension          40 chrome/browser/ui/extensions/application_launch.h                   const extensions::Extension* extension,
extension          48 chrome/browser/ui/extensions/application_launch.h                   const extensions::Extension* extension,
extension          56 chrome/browser/ui/extensions/extension_enable_flow.cc   const Extension* extension = service->GetExtensionById(extension_id_, true);
extension          57 chrome/browser/ui/extensions/extension_enable_flow.cc   if (!extension) {
extension          58 chrome/browser/ui/extensions/extension_enable_flow.cc     extension = extensions::ExtensionRegistry::Get(profile_)->GetExtensionById(
extension          62 chrome/browser/ui/extensions/extension_enable_flow.cc     if (!extension)
extension          68 chrome/browser/ui/extensions/extension_enable_flow.cc     extension = service->GetExtensionById(extension_id_, true);
extension          72 chrome/browser/ui/extensions/extension_enable_flow.cc     if (!extension) {
extension          84 chrome/browser/ui/extensions/extension_enable_flow.cc   const Extension* extension = service->GetExtensionById(extension_id_, true);
extension          85 chrome/browser/ui/extensions/extension_enable_flow.cc   if (!extension) {
extension         101 chrome/browser/ui/extensions/extension_enable_flow.cc   prompt_->ConfirmReEnable(this, extension);
extension         130 chrome/browser/ui/extensions/extension_enable_flow.cc       const Extension* extension =
extension         132 chrome/browser/ui/extensions/extension_enable_flow.cc       if (extension->id() == extension_id_) {
extension         145 chrome/browser/ui/extensions/extension_enable_flow.cc       const Extension* extension =
extension         147 chrome/browser/ui/extensions/extension_enable_flow.cc       if (extension->id() == extension_id_) {
extension         165 chrome/browser/ui/extensions/extension_enable_flow.cc   const Extension* extension = service->GetExtensionById(extension_id_, true);
extension         166 chrome/browser/ui/extensions/extension_enable_flow.cc   if (!extension) {
extension         171 chrome/browser/ui/extensions/extension_enable_flow.cc   service->GrantPermissionsAndEnableExtension(extension);
extension          70 chrome/browser/ui/extensions/extension_install_ui_default.cc void ShowExtensionInstalledBubble(const extensions::Extension* extension,
extension          75 chrome/browser/ui/extensions/extension_install_ui_default.cc     chrome::ShowExtensionInstalledBubble(extension, browser, icon);
extension         222 chrome/browser/ui/extensions/extension_install_ui_default.cc void ExtensionInstallUIDefault::OnInstallSuccess(const Extension* extension,
extension         234 chrome/browser/ui/extensions/extension_install_ui_default.cc   if (extension->is_theme()) {
extension         236 chrome/browser/ui/extensions/extension_install_ui_default.cc         extension, profile(), previous_theme_id_, previous_using_native_theme_);
extension         243 chrome/browser/ui/extensions/extension_install_ui_default.cc   if (extension->is_app()) {
extension         261 chrome/browser/ui/extensions/extension_install_ui_default.cc           content::Details<const std::string>(&extension->id()));
extension         266 chrome/browser/ui/extensions/extension_install_ui_default.cc       ShowExtensionInstalledBubble(extension, current_profile, *icon);
extension         270 chrome/browser/ui/extensions/extension_install_ui_default.cc     ExtensionInstallUI::OpenAppInstalledUI(current_profile, extension->id());
extension         274 chrome/browser/ui/extensions/extension_install_ui_default.cc   ShowExtensionInstalledBubble(extension, current_profile, *icon);
extension          20 chrome/browser/ui/extensions/extension_install_ui_default.h   virtual void OnInstallSuccess(const extensions::Extension* extension,
extension          33 chrome/browser/ui/extensions/extension_installed_bubble.cc                                                    const Extension* extension,
extension          37 chrome/browser/ui/extensions/extension_installed_bubble.cc       extension_(extension),
extension          42 chrome/browser/ui/extensions/extension_installed_bubble.cc   if (!extensions::OmniboxInfo::GetKeyword(extension).empty())
extension          44 chrome/browser/ui/extensions/extension_installed_bubble.cc   else if (extensions::ActionInfo::GetBrowserActionInfo(extension))
extension          46 chrome/browser/ui/extensions/extension_installed_bubble.cc   else if (extensions::ActionInfo::GetPageActionInfo(extension) &&
extension          47 chrome/browser/ui/extensions/extension_installed_bubble.cc            extensions::ActionInfo::IsVerboseInstallMessage(extension))
extension          90 chrome/browser/ui/extensions/extension_installed_bubble.cc       const Extension* extension = Details<const Extension>(details).ptr();
extension          91 chrome/browser/ui/extensions/extension_installed_bubble.cc       if (extension == extension_) {
extension         102 chrome/browser/ui/extensions/extension_installed_bubble.cc       const Extension* extension =
extension         103 chrome/browser/ui/extensions/extension_installed_bubble.cc           Details<extensions::UnloadedExtensionInfo>(details)->extension;
extension         104 chrome/browser/ui/extensions/extension_installed_bubble.cc       if (extension == extension_) {
extension          52 chrome/browser/ui/extensions/extension_installed_bubble.h                            const extensions::Extension* extension,
extension          58 chrome/browser/ui/extensions/extension_installed_bubble.h   const extensions::Extension* extension() const { return extension_; }
extension          26 chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc     const extensions::Extension* extension =
extension          28 chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc     if (extension) {
extension          29 chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.cc       host = base::UTF8ToUTF16(extension->name());
extension         115 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc   gtk_window_set_title(window_, extension()->name().c_str());
extension         118 chrome/browser/ui/gtk/apps/native_app_window_gtk.cc       extension()->id());
extension         106 chrome/browser/ui/gtk/apps/native_app_window_gtk.h   const extensions::Extension* extension() const {
extension         107 chrome/browser/ui/gtk/apps/native_app_window_gtk.h     return app_window_->extension();
extension         127 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc   const extensions::Extension* extension =
extension         129 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc   if (!extension)
extension         134 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc       extension->GetType());
extension         100 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc                       const Extension* extension,
extension         103 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc         extension_(extension),
extension         105 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc         icon_factory_(toolbar->browser()->profile(), extension,
extension         263 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc     const Extension* extension = extension_;
extension         268 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc         extension, browser, &popup_url, should_grant)) {
extension         641 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc     const Extension* extension, int index) {
extension         642 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc   if (!ShouldDisplayBrowserAction(extension))
extension         648 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc   RemoveButtonForExtension(extension);
extension         650 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc       new BrowserActionButton(this, extension, theme_service_));
extension         654 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc   extension_button_map_[extension->id()] = button;
extension         678 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc     const Extension* extension) {
extension         680 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc       extension->id());
extension         685 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc     const Extension* extension) {
extension         686 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc   BrowserActionButton* button = GetBrowserActionButton(extension);
extension         691 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc     const Extension* extension) {
extension         692 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc   if (extension_button_map_.erase(extension->id()))
extension         702 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc     const Extension* extension) {
extension         705 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc           extensions::util::IsIncognitoEnabled(extension->id(), profile_));
extension         725 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc void BrowserActionsToolbarGtk::BrowserActionAdded(const Extension* extension,
extension         729 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc   CreateButtonForExtension(extension, index);
extension         743 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc     const Extension* extension) {
extension         751 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc   RemoveButtonForExtension(extension);
extension         759 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc void BrowserActionsToolbarGtk::BrowserActionMoved(const Extension* extension,
extension         765 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc   GtkWidget* button_widget = GetBrowserActionWidget(extension);
extension         767 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc     if (ShouldDisplayBrowserAction(extension))
extension         779 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc     const Extension* extension) {
extension         786 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc   BrowserActionButton* button = GetBrowserActionButton(extension);
extension         820 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc   const Extension* extension = model_->toolbar_items()[command_id].get();
extension         821 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc   return ExtensionActionManager::Get(profile_)->GetBrowserAction(*extension)
extension         832 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc   const Extension* extension = model_->toolbar_items()[command_id].get();
extension         836 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc       extension, browser(), &popup_url, true)) {
extension         937 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc     model_->MoveBrowserAction(drag_button_->extension(), drop_index_);
extension        1065 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc     const Extension* extension = model_->toolbar_items()[model_index].get();
extension        1066 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc     BrowserActionButton* button = extension_button_map_[extension->id()].get();
extension        1069 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc                                   base::UTF8ToUTF16(extension->name()));
extension        1106 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc   const Extension* extension = model_->toolbar_items()[item_index].get();
extension        1107 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc   BrowserActionButton* button = GetBrowserActionButton(extension);
extension          55 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.h   GtkWidget* GetBrowserActionWidget(const extensions::Extension* extension);
extension          57 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.h       const extensions::Extension* extension);
extension          95 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.h   void CreateButtonForExtension(const extensions::Extension* extension,
extension          99 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.h   void RemoveButtonForExtension(const extensions::Extension* extension);
extension         115 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.h   bool ShouldDisplayBrowserAction(const extensions::Extension* extension);
extension         118 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.h   virtual void BrowserActionAdded(const extensions::Extension* extension,
extension         121 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.h       const extensions::Extension* extension) OVERRIDE;
extension         122 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.h   virtual void BrowserActionMoved(const extensions::Extension* extension,
extension         125 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.h       const extensions::Extension* extension) OVERRIDE;
extension        1260 chrome/browser/ui/gtk/browser_window_gtk.cc     const extensions::Extension* extension,
extension        1266 chrome/browser/ui/gtk/browser_window_gtk.cc     const extensions::Extension* extension) {
extension        1271 chrome/browser/ui/gtk/browser_window_gtk.cc     const extensions::Extension* extension) {
extension         190 chrome/browser/ui/gtk/browser_window_gtk.h       const extensions::Extension* extension,
extension         193 chrome/browser/ui/gtk/browser_window_gtk.h       const extensions::Extension* extension) OVERRIDE;
extension         195 chrome/browser/ui/gtk/browser_window_gtk.h       const extensions::Extension* extension) OVERRIDE;
extension         126 chrome/browser/ui/gtk/extensions/extension_install_dialog_gtk.cc     extension_id_ = prompt.extension()->id();
extension          52 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc void ShowExtensionInstalledBubble(const Extension* extension,
extension          55 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc   ExtensionInstalledBubbleGtk::Show(extension, browser, icon);
extension          60 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc void ExtensionInstalledBubbleGtk::Show(const Extension* extension,
extension          63 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc   new ExtensionInstalledBubbleGtk(extension, browser, icon);
extension          67 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc     const Extension* extension, Browser *browser, const SkBitmap& icon)
extension          68 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc     : bubble_(this, extension, browser, icon) {
extension          91 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc     reference_widget = toolbar->GetBrowserActionWidget(bubble_.extension());
extension         108 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc         GetPageAction(*bubble_.extension());
extension         173 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc       base::UTF8ToUTF16(bubble_.extension()->name());
extension         194 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc             bubble_.extension()->id(),
extension         217 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc             bubble_.extension()->id(),
extension         238 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc             bubble_.extension()))).c_str());
extension         323 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc   if (bubble_.extension() && bubble_.type() == bubble_.PAGE_ACTION) {
extension         332 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.cc         GetPageAction(*bubble_.extension()),
extension          42 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.h   static void Show(const extensions::Extension* extension,
extension          47 chrome/browser/ui/gtk/extensions/extension_installed_bubble_gtk.h   ExtensionInstalledBubbleGtk(const extensions::Extension* extension,
extension          58 chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc     const extensions::Extension* extension,
extension          64 chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc           extension->id(),
extension          75 chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc     AddEventTarget(accelerator, extension->id(), iter->second.command_name());
extension          95 chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc           extension->id(),
extension         100 chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc                    extension->id(),
extension         107 chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc           extension->id(),
extension         112 chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.cc         page_action.accelerator(), extension->id(), page_action.command_name());
extension          59 chrome/browser/ui/gtk/extensions/extension_keybinding_registry_gtk.h       const extensions::Extension* extension,
extension         349 chrome/browser/ui/gtk/gtk_theme_service.cc void GtkThemeService::SetTheme(const extensions::Extension* extension) {
extension         353 chrome/browser/ui/gtk/gtk_theme_service.cc   ThemeService::SetTheme(extension);
extension          78 chrome/browser/ui/gtk/gtk_theme_service.h   virtual void SetTheme(const extensions::Extension* extension) OVERRIDE;
extension          73 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc   const extensions::Extension* extension = extension_view_host->extension();
extension          75 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc   if (extension->ShowConfigureContextMenus()) {
extension          90 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc           extension,
extension          96 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc   loader->LoadImageAsync(extension, icon_resource,
extension         197 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc   const extensions::Extension* extension = GetDelegate()->extension();
extension         198 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc   if (!extension->ShowConfigureContextMenus())
extension         205 chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc   return new ExtensionContextMenuModel(extension, browser);
extension        1739 chrome/browser/ui/gtk/location_bar_view_gtk.cc   const Extension* extension =
extension        1742 chrome/browser/ui/gtk/location_bar_view_gtk.cc   DCHECK(extension);
extension        1745 chrome/browser/ui/gtk/location_bar_view_gtk.cc       owner->profile(), extension, page_action, this));
extension        1835 chrome/browser/ui/gtk/location_bar_view_gtk.cc   const Extension* extension =
extension        1844 chrome/browser/ui/gtk/location_bar_view_gtk.cc           extension->id(),
extension        1905 chrome/browser/ui/gtk/location_bar_view_gtk.cc   const Extension* extension =
extension        1907 chrome/browser/ui/gtk/location_bar_view_gtk.cc   if (!extension)
extension        1914 chrome/browser/ui/gtk/location_bar_view_gtk.cc   switch (controller->OnClicked(extension->id(), event->button)) {
extension        1928 chrome/browser/ui/gtk/location_bar_view_gtk.cc           new ExtensionContextMenuModel(extension, owner_->browser_, this);
extension          24 chrome/browser/ui/media_utils.cc   const extensions::Extension* extension = NULL;
extension          29 chrome/browser/ui/media_utils.cc     extension = extensions_service->extensions()->GetByID(origin.host());
extension          30 chrome/browser/ui/media_utils.cc     DCHECK(extension);
extension          34 chrome/browser/ui/media_utils.cc       web_contents, request, callback, extension);
extension         567 chrome/browser/ui/panels/base_panel_browser_test.cc   scoped_refptr<Extension> extension = Extension::Create(
extension         569 chrome/browser/ui/panels/base_panel_browser_test.cc   EXPECT_TRUE(extension.get());
extension         572 chrome/browser/ui/panels/base_panel_browser_test.cc       OnExtensionInstalled(extension.get(),
extension         577 chrome/browser/ui/panels/base_panel_browser_test.cc   return extension;
extension          57 chrome/browser/ui/panels/panel.cc       const extensions::Extension* extension) const OVERRIDE;
extension          59 chrome/browser/ui/panels/panel.cc       const extensions::Extension* extension, int tab_index) const OVERRIDE;
extension          64 chrome/browser/ui/panels/panel.cc       const extensions::Extension* extension) const OVERRIDE;
extension          92 chrome/browser/ui/panels/panel.cc     const extensions::Extension* extension) const {
extension          95 chrome/browser/ui/panels/panel.cc   DCHECK(IsVisibleToExtension(extension));
extension          96 chrome/browser/ui/panels/panel.cc   base::DictionaryValue* tab_value = CreateTabValue(extension, 0);
extension         106 chrome/browser/ui/panels/panel.cc     const extensions::Extension* extension, int tab_index) const {
extension         114 chrome/browser/ui/panels/panel.cc   DCHECK(IsVisibleToExtension(extension));
extension         149 chrome/browser/ui/panels/panel.cc     const extensions::Extension* extension) const {
extension         150 chrome/browser/ui/panels/panel.cc   return extension->id() == panel_->extension_id();
extension         443 chrome/browser/ui/panels/panel.cc               details)->extension->id() == extension_id())
extension         876 chrome/browser/ui/panels/panel.cc   const extensions::Extension* extension = GetExtension();
extension         877 chrome/browser/ui/panels/panel.cc   if (!extension)
extension         882 chrome/browser/ui/panels/panel.cc       extension,
extension         884 chrome/browser/ui/panels/panel.cc           extension,
extension        1382 chrome/browser/ui/panels/panel_browsertest.cc   scoped_refptr<extensions::Extension> extension =
extension        1386 chrome/browser/ui/panels/panel_browsertest.cc       web_app::GenerateApplicationNameFromExtensionId(extension->id());
extension        1395 chrome/browser/ui/panels/panel_browsertest.cc   extension_domain_url += extension->id();
extension        1424 chrome/browser/ui/panels/panel_browsertest.cc       extension.get(), extensions::UnloadedExtensionInfo::REASON_UNINSTALL);
extension          43 chrome/browser/ui/panels/panel_extension_browsertest.cc   Panel* CreatePanelFromExtension(const Extension* extension) const {
extension          55 chrome/browser/ui/panels/panel_extension_browsertest.cc         web_app::GenerateApplicationNameFromExtensionId(extension->id()),
extension          82 chrome/browser/ui/panels/panel_extension_browsertest.cc   const Extension* extension =
extension          84 chrome/browser/ui/panels/panel_extension_browsertest.cc   Panel* panel = CreatePanelFromExtension(extension);
extension         107 chrome/browser/ui/panels/panel_extension_browsertest.cc   const Extension* extension =
extension         109 chrome/browser/ui/panels/panel_extension_browsertest.cc   Panel* panel = CreatePanelFromExtension(extension);
extension         147 chrome/browser/ui/panels/stacked_panel_collection.cc   const extensions::Extension* extension = panel->GetExtension();
extension         148 chrome/browser/ui/panels/stacked_panel_collection.cc   return base::UTF8ToUTF16(extension && !extension->name().empty() ?
extension         149 chrome/browser/ui/panels/stacked_panel_collection.cc       extension->name() : panel->app_name());
extension         194 chrome/browser/ui/startup/startup_browser_creator_impl.cc   const Extension* extension =
extension         197 chrome/browser/ui/startup/startup_browser_creator_impl.cc   if (!extension)
extension         201 chrome/browser/ui/startup/startup_browser_creator_impl.cc   if (profile->IsOffTheRecord() && extension->is_platform_app())
extension         207 chrome/browser/ui/startup/startup_browser_creator_impl.cc       extensions::ExtensionPrefs::Get(profile), extension);
extension         212 chrome/browser/ui/startup/startup_browser_creator_impl.cc            extensions::ExtensionPrefs::Get(profile), extension)) {
extension         216 chrome/browser/ui/startup/startup_browser_creator_impl.cc   *out_extension = extension;
extension         233 chrome/browser/ui/startup/startup_browser_creator_impl.cc     const extensions::Extension* extension =
extension         235 chrome/browser/ui/startup/startup_browser_creator_impl.cc     if (extension) {
extension         238 chrome/browser/ui/startup/startup_browser_creator_impl.cc           extension->GetType());
extension         242 chrome/browser/ui/startup/startup_browser_creator_impl.cc     const extensions::Extension* extension =
extension         244 chrome/browser/ui/startup/startup_browser_creator_impl.cc     if (extension) {
extension         247 chrome/browser/ui/startup/startup_browser_creator_impl.cc           extension->GetType());
extension         292 chrome/browser/ui/startup/startup_browser_creator_impl.cc   const Extension* extension =
extension         295 chrome/browser/ui/startup/startup_browser_creator_impl.cc   return extension && extension->is_platform_app() ? extension : NULL;
extension         352 chrome/browser/ui/startup/startup_browser_creator_impl.cc     const Extension* extension = GetPlatformApp(profile, app_id);
extension         355 chrome/browser/ui/startup/startup_browser_creator_impl.cc     if (extension) {
extension         357 chrome/browser/ui/startup/startup_browser_creator_impl.cc       AppLaunchParams params(profile, extension,
extension         437 chrome/browser/ui/startup/startup_browser_creator_impl.cc   const Extension* extension;
extension         438 chrome/browser/ui/startup/startup_browser_creator_impl.cc   if (!GetAppLaunchContainer(profile, app_id, &extension, &launch_container))
extension         445 chrome/browser/ui/startup/startup_browser_creator_impl.cc   RecordCmdLineAppHistogram(extension->GetType());
extension         448 chrome/browser/ui/startup/startup_browser_creator_impl.cc       profile, extension, extensions::LAUNCH_CONTAINER_TAB,
extension         470 chrome/browser/ui/startup/startup_browser_creator_impl.cc     const Extension* extension;
extension         471 chrome/browser/ui/startup/startup_browser_creator_impl.cc     if (!GetAppLaunchContainer(profile, app_id, &extension, &launch_container))
extension         481 chrome/browser/ui/startup/startup_browser_creator_impl.cc     RecordCmdLineAppHistogram(extension->GetType());
extension         483 chrome/browser/ui/startup/startup_browser_creator_impl.cc     AppLaunchParams params(profile, extension, launch_container, NEW_WINDOW);
extension         492 chrome/browser/ui/startup/startup_browser_creator_impl.cc     return (tab_in_app_window != NULL || extension->is_platform_app());
extension         509 chrome/browser/ui/startup/startup_browser_creator_impl.cc       const extensions::Extension* extension =
extension         511 chrome/browser/ui/startup/startup_browser_creator_impl.cc       if (extension) {
extension         512 chrome/browser/ui/startup/startup_browser_creator_impl.cc         RecordCmdLineAppHistogram(extension->GetType());
extension         104 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc   scoped_refptr<extensions::Extension> extension =
extension         112 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc   return extension;
extension         211 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc   scoped_refptr<extensions::Extension> extension =
extension         214 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc       extension->id(), make_scoped_refptr(new extensions::PermissionSet).get());
extension         215 chrome/browser/ui/sync/profile_signin_confirmation_helper_unittest.cc   extensions->AddExtension(extension.get());
extension          59 chrome/browser/ui/tabs/pinned_tab_codec.cc     const extensions::Extension* extension =
extension          61 chrome/browser/ui/tabs/pinned_tab_codec.cc     DCHECK(extension);
extension          62 chrome/browser/ui/tabs/pinned_tab_codec.cc     value->SetString(kAppID, extension->id());
extension          67 chrome/browser/ui/tabs/pinned_tab_codec.cc         kURL, extensions::AppLaunchInfo::GetFullLaunchURL(extension).spec());
extension         116 chrome/browser/ui/toolbar/origin_chip_info.cc     const extensions::Extension* extension =
extension         121 chrome/browser/ui/toolbar/origin_chip_info.cc                                   extension,
extension         122 chrome/browser/ui/toolbar/origin_chip_info.cc                                   extensions::IconsInfo::GetIcons(extension),
extension         184 chrome/browser/ui/toolbar/origin_chip_info.cc     const extensions::Extension* extension =
extension         186 chrome/browser/ui/toolbar/origin_chip_info.cc     return extension ?
extension         187 chrome/browser/ui/toolbar/origin_chip_info.cc         base::UTF8ToUTF16(extension->name()) : base::UTF8ToUTF16(url.host());
extension         209 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc           app_window()->extension()->id());
extension         119 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc   const extensions::Extension* extension = app_window()->extension();
extension         124 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc           ->GetCurrentAppWindowForApp(extension->id());
extension         132 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc     if (settings->HasDesktopLastLaunchedFrom(extension->id())) {
extension         133 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc       desktop_type = settings->GetDesktopLastLaunchedFrom(extension->id());
extension         150 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc   const extensions::Extension* extension = app_window()->extension();
extension         152 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc       web_app::GenerateApplicationNameFromExtensionId(extension->id());
extension         163 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc       extension,
extension         202 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc   const extensions::Extension* extension = app_window()->extension();
extension         203 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc   DCHECK(extension);
extension         204 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc   if (extension->is_ephemeral()) {
extension         212 chrome/browser/ui/views/apps/chrome_native_app_window_views_win.cc                                               extension->id());
extension         315 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc   const extensions::Extension* extension =
extension         317 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc   if (!extension)
extension         322 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc       extension->GetType());
extension         157 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc   const extensions::Extension* extension =
extension         167 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc   title_tf_->SetText(extension ? base::UTF8ToUTF16(extension->name())
extension         252 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc   const extensions::Extension* extension =
extension         254 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc   if (extension && base::UTF8ToUTF16(extension->name()) == title_tf_->text())
extension          84 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc         base::UTF8ToUTF16(view->button()->extension()->name()),
extension          90 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc         GetBrowserAction(*view->button()->extension())->
extension         146 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc   const extensions::Extension* extension =
extension         147 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc       (*views_)[start_index_ + id - 1]->button()->extension();
extension         148 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc   if (!extension->ShowConfigureContextMenus())
extension         152 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc       new ExtensionContextMenuModel(extension, browser_, owner_);
extension         248 chrome/browser/ui/views/extensions/browser_action_overflow_menu_controller.cc   std::string id = view->button()->extension()->id();
extension        1033 chrome/browser/ui/views/extensions/extension_install_dialog_view.cc                    prompt_.extension()->id());
extension          75 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc void ShowExtensionInstalledBubble(const Extension* extension,
extension          78 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc   ExtensionInstalledBubbleView::Show(extension, browser, icon);
extension          91 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc                          const Extension* extension,
extension          96 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc         extension_id_(extension->id()),
extension         127 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc     if (extensions::sync_helper::IsSyncableExtension(extension) &&
extension         149 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc         key = base::UTF8ToUTF16(extensions::OmniboxInfo::GetKeyword(extension));
extension         178 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc     base::string16 extension_name = base::UTF8ToUTF16(extension->name());
extension         519 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc void ExtensionInstalledBubbleView::Show(const Extension* extension,
extension         522 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc   new ExtensionInstalledBubbleView(extension, browser, icon);
extension         526 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc     const Extension* extension, Browser *browser, const SkBitmap& icon)
extension         527 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc     : bubble_(this, extension, browser, icon) {
extension         546 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc         extension_action_manager->GetBrowserAction(*bubble_.extension()));
extension         558 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc         extension_action_manager->GetPageAction(*bubble_.extension());
extension         579 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc       bubble_.browser(), bubble_.extension(), bubble_.type(),
extension         605 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc   if (bubble_.extension() && bubble_.type() == bubble_.PAGE_ACTION) {
extension         610 chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc         GetPageAction(*bubble_.extension()),
extension          35 chrome/browser/ui/views/extensions/extension_installed_bubble_view.h   static void Show(const extensions::Extension* extension,
extension          40 chrome/browser/ui/views/extensions/extension_installed_bubble_view.h   ExtensionInstalledBubbleView(const extensions::Extension* extension,
extension          36 chrome/browser/ui/views/extensions/extension_keybinding_registry_views.cc     const extensions::Extension* extension,
extension          48 chrome/browser/ui/views/extensions/extension_keybinding_registry_views.cc           extension->id(),
extension          64 chrome/browser/ui/views/extensions/extension_keybinding_registry_views.cc                    extension->id(),
extension          47 chrome/browser/ui/views/extensions/extension_keybinding_registry_views.h       const extensions::Extension* extension,
extension         344 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc   const Extension* extension = OverridesStartupPages(profile_, NULL);
extension         345 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc   if (!extension)
extension         351 chrome/browser/ui/views/extensions/extension_message_bubble_view.cc   if (!settings_api_bubble->ShouldShow(extension->id()))
extension          73 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc       const extensions::Extension* extension,
extension         158 chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc     const extensions::Extension* extension,
extension          45 chrome/browser/ui/views/extensions/extension_view_views.h   const extensions::Extension* extension() const { return host_->extension(); }
extension        2503 chrome/browser/ui/views/frame/browser_view.cc     const extensions::Extension* extension,
extension        2505 chrome/browser/ui/views/frame/browser_view.cc   toolbar_->ExecuteExtensionCommand(extension, command);
extension        2509 chrome/browser/ui/views/frame/browser_view.cc     const extensions::Extension* extension) {
extension        2510 chrome/browser/ui/views/frame/browser_view.cc   toolbar_->ShowPageActionPopup(extension);
extension        2514 chrome/browser/ui/views/frame/browser_view.cc     const extensions::Extension* extension) {
extension        2515 chrome/browser/ui/views/frame/browser_view.cc   toolbar_->ShowBrowserActionPopup(extension);
extension         386 chrome/browser/ui/views/frame/browser_view.h       const extensions::Extension* extension,
extension         389 chrome/browser/ui/views/frame/browser_view.h       const extensions::Extension* extension) OVERRIDE;
extension         391 chrome/browser/ui/views/frame/browser_view.h       const extensions::Extension* extension) OVERRIDE;
extension         129 chrome/browser/ui/views/infobars/extension_infobar.cc   if (extension_view_host->extension()->ShowConfigureContextMenus()) {
extension         156 chrome/browser/ui/views/infobars/extension_infobar.cc   const extensions::Extension* extension = extension_view_host->extension();
extension         161 chrome/browser/ui/views/infobars/extension_infobar.cc           extension, image_size, ExtensionIconSet::MATCH_EXACTLY);
extension         165 chrome/browser/ui/views/infobars/extension_infobar.cc       extension,
extension         181 chrome/browser/ui/views/infobars/extension_infobar.cc   const extensions::Extension* extension =
extension         182 chrome/browser/ui/views/infobars/extension_infobar.cc       GetDelegate()->extension_view_host()->extension();
extension         186 chrome/browser/ui/views/infobars/extension_infobar.cc       new ExtensionContextMenuModel(extension, browser_);
extension          53 chrome/browser/ui/views/location_bar/origin_chip_view.cc                           const extensions::Extension* extension);
extension          70 chrome/browser/ui/views/location_bar/origin_chip_view.cc     const extensions::Extension* extension)
extension          74 chrome/browser/ui/views/location_bar/origin_chip_view.cc           extension,
extension          75 chrome/browser/ui/views/location_bar/origin_chip_view.cc           extensions::IconsInfo::GetIcons(extension),
extension         241 chrome/browser/ui/views/location_bar/origin_chip_view.cc     const extensions::Extension* extension =
extension         244 chrome/browser/ui/views/location_bar/origin_chip_view.cc         new OriginChipExtensionIcon(location_icon_view_, profile_, extension));
extension          45 chrome/browser/ui/views/location_bar/page_action_image_view.cc   const Extension* extension = owner_->profile()->GetExtensionService()->
extension          47 chrome/browser/ui/views/location_bar/page_action_image_view.cc   DCHECK(extension);
extension          51 chrome/browser/ui/views/location_bar/page_action_image_view.cc           owner_->profile(), extension, page_action, this));
extension          60 chrome/browser/ui/views/location_bar/page_action_image_view.cc           extension->id(),
extension         153 chrome/browser/ui/views/location_bar/page_action_image_view.cc   const Extension* extension = owner_->profile()->GetExtensionService()->
extension         155 chrome/browser/ui/views/location_bar/page_action_image_view.cc   if (!extension->ShowConfigureContextMenus())
extension         159 chrome/browser/ui/views/location_bar/page_action_image_view.cc       new ExtensionContextMenuModel(extension, browser_, this));
extension         216 chrome/browser/ui/views/select_file_dialog_extension.cc   std::string extension_id = dialog->host()->extension()->id();
extension          50 chrome/browser/ui/views/settings_api_bubble_helper_views.cc   const Extension* extension = OverridesHomepage(browser->profile(), NULL);
extension          51 chrome/browser/ui/views/settings_api_bubble_helper_views.cc   if (extension) {
extension          56 chrome/browser/ui/views/settings_api_bubble_helper_views.cc                           extension->id(),
extension          73 chrome/browser/ui/views/settings_api_bubble_helper_views.cc     const extensions::Extension* extension =
extension          75 chrome/browser/ui/views/settings_api_bubble_helper_views.cc     if (extension) {
extension          80 chrome/browser/ui/views/settings_api_bubble_helper_views.cc                             extension->id(),
extension          41 chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc                        button()->extension());
extension          62 chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc   return button->extension()->id();
extension          46 chrome/browser/ui/views/toolbar/browser_action_view.cc BrowserActionView::BrowserActionView(const Extension* extension,
extension          52 chrome/browser/ui/views/toolbar/browser_action_view.cc       extension_(extension) {
extension          94 chrome/browser/ui/views/toolbar/browser_action_view.cc BrowserActionButton::BrowserActionButton(const Extension* extension,
extension         101 chrome/browser/ui/views/toolbar/browser_action_view.cc           GetBrowserAction(*extension)),
extension         102 chrome/browser/ui/views/toolbar/browser_action_view.cc       extension_(extension),
extension         103 chrome/browser/ui/views/toolbar/browser_action_view.cc       icon_factory_(browser->profile(), extension, browser_action_, this),
extension         176 chrome/browser/ui/views/toolbar/browser_action_view.cc   if (!extension()->ShowConfigureContextMenus())
extension         183 chrome/browser/ui/views/toolbar/browser_action_view.cc       new ExtensionContextMenuModel(extension(), browser_, delegate_));
extension         239 chrome/browser/ui/views/toolbar/browser_action_view.cc       base::UTF8ToUTF16(title.empty() ? extension()->name() : title);
extension          64 chrome/browser/ui/views/toolbar/browser_action_view.h   BrowserActionView(const extensions::Extension* extension,
extension         121 chrome/browser/ui/views/toolbar/browser_action_view.h   BrowserActionButton(const extensions::Extension* extension,
extension         129 chrome/browser/ui/views/toolbar/browser_action_view.h   const extensions::Extension* extension() { return extension_; }
extension         191 chrome/browser/ui/views/toolbar/browser_actions_container.cc     const extensions::Extension* extension,
extension         196 chrome/browser/ui/views/toolbar/browser_actions_container.cc   extension_keybinding_registry_->ExecuteCommand(extension->id(),
extension         358 chrome/browser/ui/views/toolbar/browser_actions_container.cc   DCHECK_EQ(browser_action_views_[data.index()]->button()->extension()->id(),
extension         386 chrome/browser/ui/views/toolbar/browser_actions_container.cc       browser_action_views_[data.index()]->button()->extension(), i);
extension         425 chrome/browser/ui/views/toolbar/browser_actions_container.cc           browser_action_views_[i]->button()->extension()->id(), i);
extension         538 chrome/browser/ui/views/toolbar/browser_actions_container.cc     const Extension* extension = service->GetExtensionById(extension_id, false);
extension         539 chrome/browser/ui/views/toolbar/browser_actions_container.cc     model_->MoveBrowserAction(extension, new_index);
extension         544 chrome/browser/ui/views/toolbar/browser_actions_container.cc bool BrowserActionsContainer::ShowPopup(const extensions::Extension* extension,
extension         559 chrome/browser/ui/views/toolbar/browser_actions_container.cc     if (button && button->extension() == extension)
extension         660 chrome/browser/ui/views/toolbar/browser_actions_container.cc void BrowserActionsContainer::BrowserActionAdded(const Extension* extension,
extension         664 chrome/browser/ui/views/toolbar/browser_actions_container.cc     DCHECK(browser_action_views_[i]->button()->extension() != extension) <<
extension         671 chrome/browser/ui/views/toolbar/browser_actions_container.cc   if (!ShouldDisplayBrowserAction(extension))
extension         679 chrome/browser/ui/views/toolbar/browser_actions_container.cc   BrowserActionView* view = new BrowserActionView(extension, browser_, this);
extension         691 chrome/browser/ui/views/toolbar/browser_actions_container.cc           IsBeingUpgraded(extension)) {
extension         700 chrome/browser/ui/views/toolbar/browser_actions_container.cc void BrowserActionsContainer::BrowserActionRemoved(const Extension* extension) {
extension         703 chrome/browser/ui/views/toolbar/browser_actions_container.cc   if (popup_ && popup_->host()->extension() == extension)
extension         709 chrome/browser/ui/views/toolbar/browser_actions_container.cc     if ((*i)->button()->extension() == extension) {
extension         716 chrome/browser/ui/views/toolbar/browser_actions_container.cc               IsBeingUpgraded(extension))
extension         737 chrome/browser/ui/views/toolbar/browser_actions_container.cc void BrowserActionsContainer::BrowserActionMoved(const Extension* extension,
extension         739 chrome/browser/ui/views/toolbar/browser_actions_container.cc   if (!ShouldDisplayBrowserAction(extension))
extension         754 chrome/browser/ui/views/toolbar/browser_actions_container.cc     const extensions::Extension* extension) {
extension         755 chrome/browser/ui/views/toolbar/browser_actions_container.cc   return ShowPopup(extension, false);
extension         889 chrome/browser/ui/views/toolbar/browser_actions_container.cc     const Extension* extension) {
extension         892 chrome/browser/ui/views/toolbar/browser_actions_container.cc       extensions::util::IsIncognitoEnabled(extension->id(), profile_);
extension         899 chrome/browser/ui/views/toolbar/browser_actions_container.cc   const Extension* extension = button->extension();
extension         902 chrome/browser/ui/views/toolbar/browser_actions_container.cc           extension, browser_, &popup_url, should_grant) !=
extension         167 chrome/browser/ui/views/toolbar/browser_actions_container.h   void ExecuteExtensionCommand(const extensions::Extension* extension,
extension         232 chrome/browser/ui/views/toolbar/browser_actions_container.h   bool ShowPopup(const extensions::Extension* extension,
extension         274 chrome/browser/ui/views/toolbar/browser_actions_container.h   virtual void BrowserActionAdded(const extensions::Extension* extension,
extension         277 chrome/browser/ui/views/toolbar/browser_actions_container.h       const extensions::Extension* extension) OVERRIDE;
extension         278 chrome/browser/ui/views/toolbar/browser_actions_container.h   virtual void BrowserActionMoved(const extensions::Extension* extension,
extension         281 chrome/browser/ui/views/toolbar/browser_actions_container.h       const extensions::Extension* extension) OVERRIDE;
extension         331 chrome/browser/ui/views/toolbar/browser_actions_container.h   bool ShouldDisplayBrowserAction(const extensions::Extension* extension);
extension          55 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc                                  const extensions::Extension* extension);
extension          72 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc     const extensions::Extension* extension)
extension          76 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc           extension,
extension          77 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc           extensions::IconsInfo::GetIcons(extension),
extension         243 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc     const extensions::Extension* extension =
extension         248 chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.cc                                            extension));
extension         358 chrome/browser/ui/views/toolbar/toolbar_view.cc     const extensions::Extension* extension,
extension         360 chrome/browser/ui/views/toolbar/toolbar_view.cc   browser_actions_->ExecuteExtensionCommand(extension, command);
extension         363 chrome/browser/ui/views/toolbar/toolbar_view.cc void ToolbarView::ShowPageActionPopup(const extensions::Extension* extension) {
extension         367 chrome/browser/ui/views/toolbar/toolbar_view.cc       extension_manager->GetPageAction(*extension);
extension         375 chrome/browser/ui/views/toolbar/toolbar_view.cc     const extensions::Extension* extension) {
extension         376 chrome/browser/ui/views/toolbar/toolbar_view.cc   browser_actions_->ShowPopup(extension, true);
extension          92 chrome/browser/ui/views/toolbar/toolbar_view.h   void ExecuteExtensionCommand(const extensions::Extension* extension,
extension          96 chrome/browser/ui/views/toolbar/toolbar_view.h   void ShowPageActionPopup(const extensions::Extension* extension);
extension          99 chrome/browser/ui/views/toolbar/toolbar_view.h   void ShowBrowserActionPopup(const extensions::Extension* extension);
extension          96 chrome/browser/ui/webui/app_list/start_page_handler.cc       extensions::Extension* extension =
extension          98 chrome/browser/ui/webui/app_list/start_page_handler.cc       if (extension->id() == extension_misc::kHotwordExtensionId)
extension         105 chrome/browser/ui/webui/app_list/start_page_handler.cc       if (info->extension->id() == extension_misc::kHotwordExtensionId)
extension          51 chrome/browser/ui/webui/app_list/start_page_ui.cc   const extensions::Extension* extension =
extension          53 chrome/browser/ui/webui/app_list/start_page_ui.cc   if (!extension)
extension          61 chrome/browser/ui/webui/app_list/start_page_ui.cc           base::Bind(&LoadModelData, extension->path(), path, callback));
extension         218 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc   const extensions::Extension* extension =
extension         222 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc   return extension &&
extension         223 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc       (!extension->is_hosted_app() ||
extension         224 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc        extension->location() == extensions::Manifest::COMPONENT);
extension         178 chrome/browser/ui/webui/chromeos/login/error_screen_handler.cc   const extensions::Extension* extension = extension_service->
extension         180 chrome/browser/ui/webui/chromeos/login/error_screen_handler.cc   OpenApplication(AppLaunchParams(profile, extension,
extension         146 chrome/browser/ui/webui/downloads_dom_handler.cc     const extensions::Extension* extension = extensions::ExtensionSystem::Get(
extension         149 chrome/browser/ui/webui/downloads_dom_handler.cc     if (extension)
extension         150 chrome/browser/ui/webui/downloads_dom_handler.cc       file_value->SetString("by_ext_name", extension->name());
extension         145 chrome/browser/ui/webui/extensions/command_handler.cc   for (ExtensionSet::const_iterator extension = extensions->begin();
extension         146 chrome/browser/ui/webui/extensions/command_handler.cc        extension != extensions->end(); ++extension) {
extension         148 chrome/browser/ui/webui/extensions/command_handler.cc     extension_dict->SetString("name", (*extension)->name());
extension         149 chrome/browser/ui/webui/extensions/command_handler.cc     extension_dict->SetString("id", (*extension)->id());
extension         157 chrome/browser/ui/webui/extensions/command_handler.cc     if (command_service->GetBrowserActionCommand((*extension)->id(),
extension         162 chrome/browser/ui/webui/extensions/command_handler.cc           browser_action.ToValue((extension->get()), active));
extension         166 chrome/browser/ui/webui/extensions/command_handler.cc     if (command_service->GetPageActionCommand((*extension)->id(),
extension         170 chrome/browser/ui/webui/extensions/command_handler.cc       extensions_list->Append(page_action.ToValue((extension->get()), active));
extension         174 chrome/browser/ui/webui/extensions/command_handler.cc     if (command_service->GetNamedCommands((*extension)->id(),
extension         181 chrome/browser/ui/webui/extensions/command_handler.cc                 (*extension)->id(), iter->second.command_name());
extension         187 chrome/browser/ui/webui/extensions/command_handler.cc             iter->second.ToValue((extension->get()), active));
extension          33 chrome/browser/ui/webui/extensions/extension_basic_info.cc void GetExtensionBasicInfo(const Extension* extension,
extension          36 chrome/browser/ui/webui/extensions/extension_basic_info.cc   info->SetString(kIdKey, extension->id());
extension          37 chrome/browser/ui/webui/extensions/extension_basic_info.cc   info->SetString(kNameKey, extension->name());
extension          40 chrome/browser/ui/webui/extensions/extension_basic_info.cc                    KioskModeInfo::IsKioskEnabled(extension));
extension          42 chrome/browser/ui/webui/extensions/extension_basic_info.cc                    KioskModeInfo::IsKioskOnly(extension));
extension          44 chrome/browser/ui/webui/extensions/extension_basic_info.cc                    OfflineEnabledInfo::IsOfflineEnabled(extension));
extension          45 chrome/browser/ui/webui/extensions/extension_basic_info.cc   info->SetString(kVersionKey, extension->VersionString());
extension          46 chrome/browser/ui/webui/extensions/extension_basic_info.cc   info->SetString(kDescriptionKey, extension->description());
extension          49 chrome/browser/ui/webui/extensions/extension_basic_info.cc       ManifestURL::GetOptionsPage(extension).possibly_invalid_spec());
extension          52 chrome/browser/ui/webui/extensions/extension_basic_info.cc       ManifestURL::GetHomepageURL(extension).possibly_invalid_spec());
extension          55 chrome/browser/ui/webui/extensions/extension_basic_info.cc       ManifestURL::GetDetailsURL(extension).possibly_invalid_spec());
extension          56 chrome/browser/ui/webui/extensions/extension_basic_info.cc   info->SetBoolean(kPackagedAppKey, extension->is_platform_app());
extension          18 chrome/browser/ui/webui/extensions/extension_basic_info.h void GetExtensionBasicInfo(const Extension* extension,
extension          88 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc   const Extension* extension = extension_service->GetExtensionById(
extension          97 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc   base::FilePath path = extension->path().Append(path_suffix);
extension         102 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc                      base::UTF8ToUTF16(extension->name()) +
extension          69 chrome/browser/ui/webui/extensions/extension_icon_source.cc   scoped_refptr<const Extension> extension;
extension          76 chrome/browser/ui/webui/extensions/extension_icon_source.cc GURL ExtensionIconSource::GetIconURL(const Extension* extension,
extension          83 chrome/browser/ui/webui/extensions/extension_icon_source.cc         IconsInfo::GetIconURL(extension, icon_size, match) != GURL::EmptyGURL();
extension          88 chrome/browser/ui/webui/extensions/extension_icon_source.cc                                    extension->id().c_str(),
extension         137 chrome/browser/ui/webui/extensions/extension_icon_source.cc       request->extension, request->size, request->match);
extension         184 chrome/browser/ui/webui/extensions/extension_icon_source.cc   if (request->extension->is_app())
extension         206 chrome/browser/ui/webui/extensions/extension_icon_source.cc       request->extension, icon,
extension         221 chrome/browser/ui/webui/extensions/extension_icon_source.cc       AppLaunchInfo::GetFullLaunchURL(GetData(request_id)->extension);
extension         264 chrome/browser/ui/webui/extensions/extension_icon_source.cc       request->extension, request->size, request->match);
extension         305 chrome/browser/ui/webui/extensions/extension_icon_source.cc   const Extension* extension = ExtensionSystem::Get(profile_)->
extension         307 chrome/browser/ui/webui/extensions/extension_icon_source.cc   if (!extension)
extension         312 chrome/browser/ui/webui/extensions/extension_icon_source.cc   SetData(request_id, callback, extension, grayscale, size, match_type);
extension         320 chrome/browser/ui/webui/extensions/extension_icon_source.cc     const Extension* extension,
extension         326 chrome/browser/ui/webui/extensions/extension_icon_source.cc   request->extension = extension;
extension          62 chrome/browser/ui/webui/extensions/extension_icon_source.h   static GURL GetIconURL(const Extension* extension,
extension         136 chrome/browser/ui/webui/extensions/extension_icon_source.h                const Extension* extension,
extension          63 chrome/browser/ui/webui/extensions/extension_info_ui.cc   const Extension* extension =
extension          65 chrome/browser/ui/webui/extensions/extension_info_ui.cc   if (!extension)
extension          69 chrome/browser/ui/webui/extensions/extension_info_ui.cc   GetExtensionBasicInfo(extension, true, &extension_data);
extension          74 chrome/browser/ui/webui/extensions/extension_info_ui.cc       ExtensionIconSource::GetIconURL(extension,
extension          68 chrome/browser/ui/webui/extensions/extension_settings_browsertest.cc       const Extension* extension,
extension         197 chrome/browser/ui/webui/extensions/extension_settings_handler.cc     const Extension* extension,
extension         201 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   bool enabled = extension_service_->IsExtensionEnabled(extension->id());
extension         202 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   GetExtensionBasicInfo(extension, enabled, extension_data);
extension         205 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   int disable_reasons = prefs->GetDisableReasons(extension->id());
extension         214 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       !management_policy_->UserMayModifySettings(extension, NULL);
extension         221 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       ExtensionIconSource::GetIconURL(extension,
extension         225 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   if (Manifest::IsUnpackedLocation(extension->location()))
extension         226 chrome/browser/ui/webui/extensions/extension_settings_handler.cc     extension_data->SetString("path", extension->path().value());
extension         229 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       Manifest::IsUnpackedLocation(extension->location()));
extension         234 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       registry->terminated_extensions().Contains(extension->id()));
extension         236 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       util::IsIncognitoEnabled(extension->id(), extension_service_->profile()));
extension         238 chrome/browser/ui/webui/extensions/extension_settings_handler.cc                              extension->can_be_incognito_enabled());
extension         239 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   extension_data->SetBoolean("wantsFileAccess", extension->wants_file_access());
extension         241 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       util::AllowFileAccess(extension->id(), extension_service_->profile()));
extension         243 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       Manifest::IsUnpackedLocation(extension->location()));
extension         244 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   extension_data->SetBoolean("is_hosted_app", extension->is_hosted_app());
extension         245 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   extension_data->SetBoolean("is_platform_app", extension->is_platform_app());
extension         247 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       ManifestURL::GetHomepageURL(extension).is_valid());
extension         250 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   if (Manifest::IsPolicyLocation(extension->location())) {
extension         253 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   } else if (extension->location() == Manifest::INTERNAL &&
extension         254 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       !ManifestURL::UpdatesFromGallery(extension)) {
extension         257 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   } else if (extension->location() == Manifest::EXTERNAL_REGISTRY) {
extension         264 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   switch (prefs->GetExtensionBlacklistState(extension->id())) {
extension         286 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   if (Manifest::IsUnpackedLocation(extension->location()))
extension         291 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   if (!ExtensionActionAPI::GetBrowserActionVisibility(prefs, extension->id())) {
extension         319 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       extension_action_manager->GetBrowserAction(*extension) ||
extension         320 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       extension_action_manager->GetPageAction(*extension));
extension         325 chrome/browser/ui/webui/extensions/extension_settings_handler.cc         warning_service->GetWarningMessagesForExtension(extension->id());
extension         344 chrome/browser/ui/webui/extensions/extension_settings_handler.cc         error_console->GetErrorsForExtension(extension->id());
extension         369 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   } else if (Manifest::IsUnpackedLocation(extension->location())) {
extension         371 chrome/browser/ui/webui/extensions/extension_settings_handler.cc         extension->install_warnings();
extension         699 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   const Extension* extension =
extension         701 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   if (!extension) {
extension         702 chrome/browser/ui/webui/extensions/extension_settings_handler.cc     extension =
extension         707 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   if (!extension)
extension         749 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   for (ExtensionSet::const_iterator extension = extensions->begin();
extension         750 chrome/browser/ui/webui/extensions/extension_settings_handler.cc        extension != extensions->end(); ++extension) {
extension         751 chrome/browser/ui/webui/extensions/extension_settings_handler.cc     if (Manifest::IsUnpackedLocation((*extension)->location()))
extension         752 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       unpacked_extensions.push_back(extension->get());
extension         776 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   for (ExtensionSet::const_iterator extension = enabled_set.begin();
extension         777 chrome/browser/ui/webui/extensions/extension_settings_handler.cc        extension != enabled_set.end(); ++extension) {
extension         778 chrome/browser/ui/webui/extensions/extension_settings_handler.cc     if ((*extension)->ShouldDisplayInExtensionSettings()) {
extension         780 chrome/browser/ui/webui/extensions/extension_settings_handler.cc           extension->get(),
extension         781 chrome/browser/ui/webui/extensions/extension_settings_handler.cc           GetInspectablePagesForExtension(extension->get(), true),
extension         786 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   for (ExtensionSet::const_iterator extension = disabled_set.begin();
extension         787 chrome/browser/ui/webui/extensions/extension_settings_handler.cc        extension != disabled_set.end(); ++extension) {
extension         788 chrome/browser/ui/webui/extensions/extension_settings_handler.cc     if ((*extension)->ShouldDisplayInExtensionSettings()) {
extension         790 chrome/browser/ui/webui/extensions/extension_settings_handler.cc           extension->get(),
extension         791 chrome/browser/ui/webui/extensions/extension_settings_handler.cc           GetInspectablePagesForExtension(extension->get(), false),
extension         797 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   for (ExtensionSet::const_iterator extension = terminated_set.begin();
extension         798 chrome/browser/ui/webui/extensions/extension_settings_handler.cc        extension != terminated_set.end(); ++extension) {
extension         799 chrome/browser/ui/webui/extensions/extension_settings_handler.cc     if ((*extension)->ShouldDisplayInExtensionSettings()) {
extension         801 chrome/browser/ui/webui/extensions/extension_settings_handler.cc           extension->get(),
extension         863 chrome/browser/ui/webui/extensions/extension_settings_handler.cc     const Extension* extension =
extension         865 chrome/browser/ui/webui/extensions/extension_settings_handler.cc     DCHECK(extension);
extension         869 chrome/browser/ui/webui/extensions/extension_settings_handler.cc     devtools_util::InspectBackgroundPage(extension, profile);
extension         888 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   const Extension* extension =
extension         890 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   OpenApplication(AppLaunchParams(extension_service_->profile(), extension,
extension         899 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   const Extension* extension =
extension         901 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   if (extension)
extension         902 chrome/browser/ui/webui/extensions/extension_settings_handler.cc     AddLoadingPath(extension->path());
extension         913 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   const Extension* extension =
extension         915 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   if (!extension)
extension         918 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   if (!management_policy_->UserMayModifySettings(extension, NULL)) {
extension         920 chrome/browser/ui/webui/extensions/extension_settings_handler.cc                << "non-usermanagable. Extension id: " << extension->id();
extension         928 chrome/browser/ui/webui/extensions/extension_settings_handler.cc           extension_service_, web_ui()->GetWebContents(), extension);
extension         933 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       scoped_refptr<const Extension> extension =
extension         938 chrome/browser/ui/webui/extensions/extension_settings_handler.cc           extension,
extension         956 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   const Extension* extension =
extension         958 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   if (!extension)
extension         974 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   util::SetIsIncognitoEnabled(extension->id(),
extension         985 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   const Extension* extension =
extension         987 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   if (!extension)
extension         990 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   if (!management_policy_->UserMayModifySettings(extension, NULL)) {
extension         993 chrome/browser/ui/webui/extensions/extension_settings_handler.cc                << extension->id();
extension        1006 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   const Extension* extension =
extension        1008 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   if (!extension)
extension        1011 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   if (!management_policy_->UserMayModifySettings(extension, NULL)) {
extension        1013 chrome/browser/ui/webui/extensions/extension_settings_handler.cc                << "non-usermanagable. Extension id : " << extension->id();
extension        1022 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   GetExtensionUninstallDialog()->ConfirmUninstall(extension);
extension        1027 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   const Extension* extension = GetActiveExtension(args);
extension        1028 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   if (!extension || ManifestURL::GetOptionsPage(extension).is_empty())
extension        1030 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   ExtensionTabUtil::OpenOptionsPage(extension,
extension        1038 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   const Extension* extension =
extension        1041 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   if (!extension)
extension        1047 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   extension_id_prompting_ = extension->id();
extension        1050 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   if (extension->HasAPIPermission(APIPermission::kFileSystem)) {
extension        1060 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       new BrokerDelegate(AsWeakPtr()), extension, retained_file_paths);
extension        1065 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   const Extension* extension = GetActiveExtension(args);
extension        1066 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   if (!extension)
extension        1070 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       extension->id(),
extension        1182 chrome/browser/ui/webui/extensions/extension_settings_handler.cc     const Extension* extension, bool extension_is_enabled) {
extension        1189 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       extension,
extension        1190 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       process_manager->GetRenderViewHostsForExtension(extension->id()),
extension        1195 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       extension, extension_service_->profile(), &result);
extension        1198 chrome/browser/ui/webui/extensions/extension_settings_handler.cc   if (BackgroundInfo::HasLazyBackgroundPage(extension) &&
extension        1200 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       !process_manager->GetBackgroundHostForExtension(extension->id())) {
extension        1202 chrome/browser/ui/webui/extensions/extension_settings_handler.cc         BackgroundInfo::GetBackgroundURL(extension),
extension        1206 chrome/browser/ui/webui/extensions/extension_settings_handler.cc         BackgroundInfo::HasGeneratedBackgroundPage(extension)));
extension        1212 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       IncognitoInfo::IsSplitMode(extension) &&
extension        1213 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       util::IsIncognitoEnabled(extension->id(),
extension        1219 chrome/browser/ui/webui/extensions/extension_settings_handler.cc         extension,
extension        1220 chrome/browser/ui/webui/extensions/extension_settings_handler.cc         process_manager->GetRenderViewHostsForExtension(extension->id()),
extension        1223 chrome/browser/ui/webui/extensions/extension_settings_handler.cc     if (BackgroundInfo::HasLazyBackgroundPage(extension) &&
extension        1225 chrome/browser/ui/webui/extensions/extension_settings_handler.cc         !process_manager->GetBackgroundHostForExtension(extension->id())) {
extension        1227 chrome/browser/ui/webui/extensions/extension_settings_handler.cc           BackgroundInfo::GetBackgroundURL(extension),
extension        1231 chrome/browser/ui/webui/extensions/extension_settings_handler.cc           BackgroundInfo::HasGeneratedBackgroundPage(extension)));
extension        1239 chrome/browser/ui/webui/extensions/extension_settings_handler.cc     const Extension* extension,
extension        1243 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       BackgroundInfo::HasGeneratedBackgroundPage(extension);
extension        1257 chrome/browser/ui/webui/extensions/extension_settings_handler.cc         (url == BackgroundInfo::GetBackgroundURL(extension));
extension        1268 chrome/browser/ui/webui/extensions/extension_settings_handler.cc     const Extension* extension,
extension        1275 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       registry->GetAppWindowsForApp(extension->id());
extension        1278 chrome/browser/ui/webui/extensions/extension_settings_handler.cc       BackgroundInfo::HasGeneratedBackgroundPage(extension);
extension        1287 chrome/browser/ui/webui/extensions/extension_settings_handler.cc         (web_contents->GetURL() == BackgroundInfo::GetBackgroundURL(extension));
extension          88 chrome/browser/ui/webui/extensions/extension_settings_handler.h       const Extension* extension,
extension         219 chrome/browser/ui/webui/extensions/extension_settings_handler.h       const Extension* extension, bool extension_is_enabled);
extension         221 chrome/browser/ui/webui/extensions/extension_settings_handler.h       const Extension* extension,
extension         224 chrome/browser/ui/webui/extensions/extension_settings_handler.h   void GetAppWindowPagesForExtensionProfile(const Extension* extension,
extension         166 chrome/browser/ui/webui/identity_internals_ui.cc   const extensions::Extension* extension =
extension         168 chrome/browser/ui/webui/identity_internals_ui.cc   if (!extension)
extension         170 chrome/browser/ui/webui/identity_internals_ui.cc   return extension->name();
extension         115 chrome/browser/ui/webui/ntp/app_launcher_handler.cc     const Extension* extension,
extension         122 chrome/browser/ui/webui/ntp/app_launcher_handler.cc   base::string16 short_name = base::UTF8ToUTF16(extension->short_name());
extension         127 chrome/browser/ui/webui/ntp/app_launcher_handler.cc       extensions::AppLaunchInfo::GetFullLaunchURL(extension));
extension         129 chrome/browser/ui/webui/ntp/app_launcher_handler.cc   base::string16 name = base::UTF8ToUTF16(extension->name());
extension         134 chrome/browser/ui/webui/ntp/app_launcher_handler.cc       service->IsExtensionEnabled(extension->id()) &&
extension         136 chrome/browser/ui/webui/ntp/app_launcher_handler.cc            ->GetExtensionById(extension->id(),
extension         138 chrome/browser/ui/webui/ntp/app_launcher_handler.cc   extensions::GetExtensionBasicInfo(extension, enabled, value);
extension         142 chrome/browser/ui/webui/ntp/app_launcher_handler.cc       extension, NULL));
extension         147 chrome/browser/ui/webui/ntp/app_launcher_handler.cc       extension,
extension         156 chrome/browser/ui/webui/ntp/app_launcher_handler.cc       extension,
extension         164 chrome/browser/ui/webui/ntp/app_launcher_handler.cc                     extensions::AppLaunchInfo::GetLaunchContainer(extension));
extension         166 chrome/browser/ui/webui/ntp/app_launcher_handler.cc   value->SetInteger("launch_type", extensions::GetLaunchType(prefs, extension));
extension         168 chrome/browser/ui/webui/ntp/app_launcher_handler.cc                     extension->location() == extensions::Manifest::COMPONENT);
extension         170 chrome/browser/ui/webui/ntp/app_launcher_handler.cc       extension->id() == extension_misc::kWebStoreAppId);
extension         173 chrome/browser/ui/webui/ntp/app_launcher_handler.cc   syncer::StringOrdinal page_ordinal = sorting->GetPageOrdinal(extension->id());
extension         177 chrome/browser/ui/webui/ntp/app_launcher_handler.cc     page_ordinal = extension->id() == extension_misc::kWebStoreAppId ?
extension         180 chrome/browser/ui/webui/ntp/app_launcher_handler.cc     sorting->SetPageOrdinal(extension->id(), page_ordinal);
extension         186 chrome/browser/ui/webui/ntp/app_launcher_handler.cc       sorting->GetAppLaunchOrdinal(extension->id());
extension         191 chrome/browser/ui/webui/ntp/app_launcher_handler.cc     app_launch_ordinal = extension->id() == extension_misc::kWebStoreAppId ?
extension         194 chrome/browser/ui/webui/ntp/app_launcher_handler.cc     sorting->SetAppLaunchOrdinal(extension->id(), app_launch_ordinal);
extension         264 chrome/browser/ui/webui/ntp/app_launcher_handler.cc       const Extension* extension =
extension         266 chrome/browser/ui/webui/ntp/app_launcher_handler.cc       if (!extension->is_app())
extension         270 chrome/browser/ui/webui/ntp/app_launcher_handler.cc       if (!ShouldDisplayInNewTabPage(extension, prefs))
extension         273 chrome/browser/ui/webui/ntp/app_launcher_handler.cc       scoped_ptr<base::DictionaryValue> app_info(GetAppInfo(extension));
extension         275 chrome/browser/ui/webui/ntp/app_launcher_handler.cc         visible_apps_.insert(extension->id());
extension         281 chrome/browser/ui/webui/ntp/app_launcher_handler.cc                 prefs->IsFromBookmark(extension->id()) &&
extension         292 chrome/browser/ui/webui/ntp/app_launcher_handler.cc       const Extension* extension = NULL;
extension         295 chrome/browser/ui/webui/ntp/app_launcher_handler.cc         extension = content::Details<const Extension>(details).ptr();
extension         303 chrome/browser/ui/webui/ntp/app_launcher_handler.cc         extension = content::Details<extensions::UnloadedExtensionInfo>(
extension         304 chrome/browser/ui/webui/ntp/app_launcher_handler.cc             details)->extension;
extension         307 chrome/browser/ui/webui/ntp/app_launcher_handler.cc       if (!extension->is_app())
extension         311 chrome/browser/ui/webui/ntp/app_launcher_handler.cc       if (!ShouldDisplayInNewTabPage(extension, prefs))
extension         314 chrome/browser/ui/webui/ntp/app_launcher_handler.cc       scoped_ptr<base::DictionaryValue> app_info(GetAppInfo(extension));
extension         317 chrome/browser/ui/webui/ntp/app_launcher_handler.cc           visible_apps_.erase(extension->id());
extension         332 chrome/browser/ui/webui/ntp/app_launcher_handler.cc         const Extension* extension =
extension         334 chrome/browser/ui/webui/ntp/app_launcher_handler.cc         if (!extension) {
extension         340 chrome/browser/ui/webui/ntp/app_launcher_handler.cc         CreateAppInfo(extension,
extension         375 chrome/browser/ui/webui/ntp/app_launcher_handler.cc     const Extension* extension = extension_service_->GetInstalledExtension(*it);
extension         376 chrome/browser/ui/webui/ntp/app_launcher_handler.cc     if (extension && ShouldDisplayInNewTabPage(extension, prefs)) {
extension         377 chrome/browser/ui/webui/ntp/app_launcher_handler.cc       base::DictionaryValue* app_info = GetAppInfo(extension);
extension         414 chrome/browser/ui/webui/ntp/app_launcher_handler.cc     const Extension* extension) {
extension         418 chrome/browser/ui/webui/ntp/app_launcher_handler.cc   CreateAppInfo(extension,
extension         510 chrome/browser/ui/webui/ntp/app_launcher_handler.cc   const Extension* extension =
extension         514 chrome/browser/ui/webui/ntp/app_launcher_handler.cc   if (!extension) {
extension         526 chrome/browser/ui/webui/ntp/app_launcher_handler.cc                                                 extension->GetType());
extension         534 chrome/browser/ui/webui/ntp/app_launcher_handler.cc     AppLaunchParams params(profile, extension,
extension         550 chrome/browser/ui/webui/ntp/app_launcher_handler.cc     AppLaunchParams params(profile, extension,
extension         569 chrome/browser/ui/webui/ntp/app_launcher_handler.cc   const Extension* extension =
extension         571 chrome/browser/ui/webui/ntp/app_launcher_handler.cc   if (!extension)
extension         587 chrome/browser/ui/webui/ntp/app_launcher_handler.cc   const Extension* extension = extension_service_->GetInstalledExtension(
extension         589 chrome/browser/ui/webui/ntp/app_launcher_handler.cc   if (!extension)
extension         593 chrome/browser/ui/webui/ntp/app_launcher_handler.cc           management_policy()->UserMayModifySettings(extension, NULL)) {
extension         595 chrome/browser/ui/webui/ntp/app_launcher_handler.cc                << "was made. Extension id : " << extension->id();
extension         608 chrome/browser/ui/webui/ntp/app_launcher_handler.cc     GetExtensionUninstallDialog()->ConfirmUninstall(extension);
extension         616 chrome/browser/ui/webui/ntp/app_launcher_handler.cc   const Extension* extension =
extension         618 chrome/browser/ui/webui/ntp/app_launcher_handler.cc   if (!extension)
extension         624 chrome/browser/ui/webui/ntp/app_launcher_handler.cc       browser->window()->GetNativeWindow(), browser->profile(), extension,
extension         806 chrome/browser/ui/webui/ntp/app_launcher_handler.cc   const Extension* extension =
extension         808 chrome/browser/ui/webui/ntp/app_launcher_handler.cc   if (!extension)
extension         839 chrome/browser/ui/webui/ntp/app_launcher_handler.cc   const Extension* extension =
extension         845 chrome/browser/ui/webui/ntp/app_launcher_handler.cc       extension, histogram_name.c_str());
extension          45 chrome/browser/ui/webui/ntp/app_launcher_handler.h       const extensions::Extension* extension,
extension          63 chrome/browser/ui/webui/ntp/app_launcher_handler.h   base::DictionaryValue* GetAppInfo(const extensions::Extension* extension);
extension          45 chrome/browser/ui/webui/ntp/core_app_launcher_handler.cc     const extensions::Extension* extension) {
extension          48 chrome/browser/ui/webui/ntp/core_app_launcher_handler.cc   if (extension->id() == extension_misc::kWebStoreAppId)
extension          50 chrome/browser/ui/webui/ntp/core_app_launcher_handler.cc   else if (extension->id() == extension_misc::kChromeAppId)
extension          52 chrome/browser/ui/webui/ntp/core_app_launcher_handler.cc   RecordAppLaunchType(bucket, extension->GetType());
extension          57 chrome/browser/ui/webui/ntp/core_app_launcher_handler.cc     const extensions::Extension* extension) {
extension          60 chrome/browser/ui/webui/ntp/core_app_launcher_handler.cc   if (extension->id() == extension_misc::kWebStoreAppId)
extension          62 chrome/browser/ui/webui/ntp/core_app_launcher_handler.cc   else if (extension->id() == extension_misc::kChromeAppId)
extension          64 chrome/browser/ui/webui/ntp/core_app_launcher_handler.cc   RecordAppLaunchType(bucket, extension->GetType());
extension          40 chrome/browser/ui/webui/ntp/core_app_launcher_handler.h   static void RecordAppListSearchLaunch(const extensions::Extension* extension);
extension          43 chrome/browser/ui/webui/ntp/core_app_launcher_handler.h   static void RecordAppListMainLaunch(const extensions::Extension* extension);
extension         149 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc   const extensions::Extension* extension = extension_service->GetExtensionById(
extension         151 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc   if (!extension)
extension         153 chrome/browser/ui/webui/ntp/favicon_webui_handler.cc   app_icon_color_manager_->LoadIcon(extension_service->profile(), extension);
extension         213 chrome/browser/ui/webui/options/content_settings_handler.cc     const extensions::Extension& extension, Profile* /*profile*/) {
extension         214 chrome/browser/ui/webui/options/content_settings_handler.cc     return extension.is_hosted_app() && extension.HasAPIPermission(permission);
extension         240 chrome/browser/ui/webui/options/content_settings_handler.cc   for (extensions::ExtensionSet::const_iterator extension = extensions->begin();
extension         241 chrome/browser/ui/webui/options/content_settings_handler.cc        extension != extensions->end(); ++extension) {
extension         242 chrome/browser/ui/webui/options/content_settings_handler.cc     if (!app_filter(*extension->get(), profile))
extension         245 chrome/browser/ui/webui/options/content_settings_handler.cc     extensions::URLPatternSet web_extent = (*extension)->web_extent();
extension         250 chrome/browser/ui/webui/options/content_settings_handler.cc       AddExceptionForHostedApp(url_pattern, *extension->get(), exceptions);
extension         254 chrome/browser/ui/webui/options/content_settings_handler.cc         extensions::AppLaunchInfo::GetLaunchWebURL(extension->get());
extension         258 chrome/browser/ui/webui/options/content_settings_handler.cc     AddExceptionForHostedApp(launch_url.spec(), *extension->get(), exceptions);
extension         374 chrome/browser/ui/webui/options/core_options_handler.cc     const extensions::Extension* extension =
extension         377 chrome/browser/ui/webui/options/core_options_handler.cc     if (extension) {
extension         379 chrome/browser/ui/webui/options/core_options_handler.cc                 extensions::util::GetExtensionInfo(extension).release());
extension         304 chrome/browser/ui/webui/options/font_settings_handler.cc   const extensions::Extension* extension = GetAdvancedFontSettingsExtension();
extension         305 chrome/browser/ui/webui/options/font_settings_handler.cc   if (!extension)
extension         307 chrome/browser/ui/webui/options/font_settings_handler.cc   extensions::ExtensionTabUtil::OpenOptionsPage(extension,
extension         194 chrome/browser/ui/webui/options/search_engine_manager_handler.cc     const extensions::Extension* extension =
extension         198 chrome/browser/ui/webui/options/search_engine_manager_handler.cc     if (extension) {
extension         200 chrome/browser/ui/webui/options/search_engine_manager_handler.cc                 extensions::util::GetExtensionInfo(extension).release());
extension          80 chrome/browser/ui/webui/options/search_engine_manager_handler.h       const extensions::Extension& extension);
extension         640 chrome/browser/ui/webui/policy_ui.cc     const extensions::Extension* extension = it->get();
extension         642 chrome/browser/ui/webui/policy_ui.cc     if (!extension->manifest()->HasPath(
extension         646 chrome/browser/ui/webui/policy_ui.cc     extension_value->SetString("name", extension->name());
extension         649 chrome/browser/ui/webui/policy_ui.cc             policy::POLICY_DOMAIN_EXTENSIONS, extension->id()));
extension         660 chrome/browser/ui/webui/policy_ui.cc     extension_policy_names->Set(extension->id(), extension_value);
extension         686 chrome/browser/ui/webui/policy_ui.cc     const extensions::Extension* extension = it->get();
extension         688 chrome/browser/ui/webui/policy_ui.cc     if (!extension->manifest()->HasPath(
extension         693 chrome/browser/ui/webui/policy_ui.cc         policy::POLICY_DOMAIN_EXTENSIONS, extension->id());
extension         697 chrome/browser/ui/webui/policy_ui.cc     extension_values->Set(extension->id(), extension_policies);
extension          60 chrome/browser/ui/webui/sync_file_system_internals/extension_statuses_handler.cc     const extensions::Extension* extension =
extension          62 chrome/browser/ui/webui/sync_file_system_internals/extension_statuses_handler.cc     if (!extension)
extension          67 chrome/browser/ui/webui/sync_file_system_internals/extension_statuses_handler.cc     dict->SetString("extensionName", extension->name());
extension         183 chrome/browser/web_applications/web_app.cc     const extensions::Extension* extension,
extension         187 chrome/browser/web_applications/web_app.cc       ShortcutInfoForExtensionAndProfile(extension, profile);
extension         194 chrome/browser/web_applications/web_app.cc             extension, size, ExtensionIconSet::MATCH_EXACTLY);
extension         213 chrome/browser/web_applications/web_app.cc             extension, size, ExtensionIconSet::MATCH_BIGGER);
extension         216 chrome/browser/web_applications/web_app.cc           extension, size, ExtensionIconSet::MATCH_SMALLER);
extension         229 chrome/browser/web_applications/web_app.cc       extension,
extension         262 chrome/browser/web_applications/web_app.cc                                       const extensions::Extension& extension) {
extension         265 chrome/browser/web_applications/web_app.cc       extension.id(),
extension         266 chrome/browser/web_applications/web_app.cc       GURL(extensions::AppLaunchInfo::GetLaunchWebURL(&extension)));
extension          62 chrome/browser/web_applications/web_app.h     const extensions::Extension* extension,
extension          76 chrome/browser/web_applications/web_app.h                                       const extensions::Extension& extension);
extension          21 chrome/common/extensions/api/bluetooth/bluetooth_manifest_data.cc BluetoothManifestData* BluetoothManifestData::Get(const Extension* extension) {
extension          23 chrome/common/extensions/api/bluetooth/bluetooth_manifest_data.cc       extension->GetManifestData(manifest_keys::kBluetooth));
extension          28 chrome/common/extensions/api/bluetooth/bluetooth_manifest_data.cc     const Extension* extension,
extension          30 chrome/common/extensions/api/bluetooth/bluetooth_manifest_data.cc   const BluetoothManifestData* data = BluetoothManifestData::Get(extension);
extension          31 chrome/common/extensions/api/bluetooth/bluetooth_manifest_data.cc   return data && data->permission()->CheckRequest(extension, request);
extension          30 chrome/common/extensions/api/bluetooth/bluetooth_manifest_data.h   static BluetoothManifestData* Get(const Extension* extension);
extension          32 chrome/common/extensions/api/bluetooth/bluetooth_manifest_data.h   static bool CheckRequest(const Extension* extension,
extension          18 chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.cc bool BluetoothManifestHandler::Parse(Extension* extension,
extension          21 chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.cc   CHECK(extension->manifest()->Get(manifest_keys::kBluetooth, &bluetooth));
extension          27 chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.cc   extension->SetManifestData(manifest_keys::kBluetooth, data.release());
extension          36 chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.cc     const Extension* extension) {
extension          37 chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.cc   BluetoothManifestData* data = BluetoothManifestData::Get(extension);
extension          27 chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          30 chrome/common/extensions/api/bluetooth/bluetooth_manifest_handler.h       const Extension* extension) OVERRIDE;
extension          83 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.cc     const Extension* extension,
extension          36 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.h   bool CheckRequest(const Extension* extension,
extension          32 chrome/common/extensions/api/commands/commands_handler.cc    const Extension* extension) {
extension          34 chrome/common/extensions/api/commands/commands_handler.cc       extension->GetManifestData(keys::kCommands));
extension          39 chrome/common/extensions/api/commands/commands_handler.cc const Command* CommandsInfo::GetPageActionCommand(const Extension* extension) {
extension          41 chrome/common/extensions/api/commands/commands_handler.cc       extension->GetManifestData(keys::kCommands));
extension          46 chrome/common/extensions/api/commands/commands_handler.cc const CommandMap* CommandsInfo::GetNamedCommands(const Extension* extension) {
extension          48 chrome/common/extensions/api/commands/commands_handler.cc       extension->GetManifestData(keys::kCommands));
extension          58 chrome/common/extensions/api/commands/commands_handler.cc bool CommandsHandler::Parse(Extension* extension, base::string16* error) {
extension          59 chrome/common/extensions/api/commands/commands_handler.cc   if (!extension->manifest()->HasKey(keys::kCommands)) {
extension          61 chrome/common/extensions/api/commands/commands_handler.cc     MaybeSetBrowserActionDefault(extension, commands_info.get());
extension          62 chrome/common/extensions/api/commands/commands_handler.cc     extension->SetManifestData(keys::kCommands,
extension          68 chrome/common/extensions/api/commands/commands_handler.cc   if (!extension->manifest()->GetDictionary(keys::kCommands, &dict)) {
extension         120 chrome/common/extensions/api/commands/commands_handler.cc   MaybeSetBrowserActionDefault(extension, commands_info.get());
extension         122 chrome/common/extensions/api/commands/commands_handler.cc   extension->SetManifestData(keys::kCommands,
extension         133 chrome/common/extensions/api/commands/commands_handler.cc void CommandsHandler::MaybeSetBrowserActionDefault(const Extension* extension,
extension         135 chrome/common/extensions/api/commands/commands_handler.cc   if (extension->manifest()->HasKey(keys::kBrowserAction) &&
extension          30 chrome/common/extensions/api/commands/commands_handler.h   static const Command* GetBrowserActionCommand(const Extension* extension);
extension          31 chrome/common/extensions/api/commands/commands_handler.h   static const Command* GetPageActionCommand(const Extension* extension);
extension          32 chrome/common/extensions/api/commands/commands_handler.h   static const CommandMap* GetNamedCommands(const Extension* extension);
extension          41 chrome/common/extensions/api/commands/commands_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          48 chrome/common/extensions/api/commands/commands_handler.h   void MaybeSetBrowserActionDefault(const Extension* extension,
extension          36 chrome/common/extensions/api/commands/commands_manifest_unittest.cc   scoped_refptr<Extension> extension =
extension          38 chrome/common/extensions/api/commands/commands_manifest_unittest.cc   ASSERT_TRUE(extension.get());
extension          40 chrome/common/extensions/api/commands/commands_manifest_unittest.cc   const CommandMap* commands = CommandsInfo::GetNamedCommands(extension.get());
extension          52 chrome/common/extensions/api/commands/commands_manifest_unittest.cc       CommandsInfo::GetBrowserActionCommand(extension.get());
extension          60 chrome/common/extensions/api/commands/commands_manifest_unittest.cc       CommandsInfo::GetPageActionCommand(extension.get());
extension          74 chrome/common/extensions/api/commands/commands_manifest_unittest.cc   scoped_refptr<Extension> extension =
extension          79 chrome/common/extensions/api/commands/commands_manifest_unittest.cc   scoped_refptr<Extension> extension =
extension          89 chrome/common/extensions/api/commands/commands_manifest_unittest.cc   scoped_refptr<Extension> extension =
extension          94 chrome/common/extensions/api/commands/commands_manifest_unittest.cc       CommandsInfo::GetBrowserActionCommand(extension.get());
extension         138 chrome/common/extensions/api/commands/commands_manifest_unittest.cc   scoped_refptr<Extension> extension =
extension          39 chrome/common/extensions/api/extension_action/action_info.cc static const ActionInfo* GetActionInfo(const Extension* extension,
extension          42 chrome/common/extensions/api/extension_action/action_info.cc       extension->GetManifestData(key));
extension          55 chrome/common/extensions/api/extension_action/action_info.cc scoped_ptr<ActionInfo> ActionInfo::Load(const Extension* extension,
extension          60 chrome/common/extensions/api/extension_action/action_info.cc   if (extension->manifest_version() == 1) {
extension         121 chrome/common/extensions/api/extension_action/action_info.cc   } else if (extension->manifest_version() == 1 && dict->HasKey(keys::kName)) {
extension         133 chrome/common/extensions/api/extension_action/action_info.cc   if (extension->manifest_version() == 1 &&
extension         151 chrome/common/extensions/api/extension_action/action_info.cc     } else if (extension->manifest_version() == 1 &&
extension         165 chrome/common/extensions/api/extension_action/action_info.cc       result->default_popup_url = Extension::GetResourceURL(extension->url(),
extension         182 chrome/common/extensions/api/extension_action/action_info.cc const ActionInfo* ActionInfo::GetBrowserActionInfo(const Extension* extension) {
extension         183 chrome/common/extensions/api/extension_action/action_info.cc   return GetActionInfo(extension, keys::kBrowserAction);
extension         186 chrome/common/extensions/api/extension_action/action_info.cc const ActionInfo* ActionInfo::GetPageActionInfo(const Extension* extension) {
extension         187 chrome/common/extensions/api/extension_action/action_info.cc   return GetActionInfo(extension, keys::kPageAction);
extension         192 chrome/common/extensions/api/extension_action/action_info.cc     const Extension* extension) {
extension         193 chrome/common/extensions/api/extension_action/action_info.cc   return GetActionInfo(extension, keys::kSystemIndicator);
extension         197 chrome/common/extensions/api/extension_action/action_info.cc void ActionInfo::SetBrowserActionInfo(Extension* extension, ActionInfo* info) {
extension         198 chrome/common/extensions/api/extension_action/action_info.cc   extension->SetManifestData(keys::kBrowserAction,
extension         203 chrome/common/extensions/api/extension_action/action_info.cc void ActionInfo::SetPageActionInfo(Extension* extension, ActionInfo* info) {
extension         204 chrome/common/extensions/api/extension_action/action_info.cc   extension->SetManifestData(keys::kPageAction,
extension         209 chrome/common/extensions/api/extension_action/action_info.cc void ActionInfo::SetSystemIndicatorInfo(Extension* extension,
extension         211 chrome/common/extensions/api/extension_action/action_info.cc   extension->SetManifestData(keys::kSystemIndicator, new ActionInfoData(info));
extension         215 chrome/common/extensions/api/extension_action/action_info.cc bool ActionInfo::IsVerboseInstallMessage(const Extension* extension) {
extension         216 chrome/common/extensions/api/extension_action/action_info.cc   const ActionInfo* page_action_info = GetPageActionInfo(extension);
extension         218 chrome/common/extensions/api/extension_action/action_info.cc       (CommandsInfo::GetPageActionCommand(extension) ||
extension          35 chrome/common/extensions/api/extension_action/action_info.h   static scoped_ptr<ActionInfo> Load(const Extension* extension,
extension          40 chrome/common/extensions/api/extension_action/action_info.h   static const ActionInfo* GetBrowserActionInfo(const Extension* extension);
extension          43 chrome/common/extensions/api/extension_action/action_info.h   static const ActionInfo* GetPageActionInfo(const Extension* extension);
extension          46 chrome/common/extensions/api/extension_action/action_info.h   static const ActionInfo* GetSystemIndicatorInfo(const Extension* extension);
extension          49 chrome/common/extensions/api/extension_action/action_info.h   static void SetBrowserActionInfo(Extension* extension, ActionInfo* info);
extension          52 chrome/common/extensions/api/extension_action/action_info.h   static void SetPageActionInfo(Extension* extension, ActionInfo* info);
extension          56 chrome/common/extensions/api/extension_action/action_info.h   static void SetSystemIndicatorInfo(Extension* extension, ActionInfo* info);
extension          60 chrome/common/extensions/api/extension_action/action_info.h   static bool IsVerboseInstallMessage(const Extension* extension);
extension          26 chrome/common/extensions/api/extension_action/browser_action_handler.cc bool BrowserActionHandler::Parse(Extension* extension,
extension          29 chrome/common/extensions/api/extension_action/browser_action_handler.cc   if (!extension->manifest()->GetDictionary(
extension          35 chrome/common/extensions/api/extension_action/browser_action_handler.cc   scoped_ptr<ActionInfo> action_info = ActionInfo::Load(extension, dict, error);
extension          39 chrome/common/extensions/api/extension_action/browser_action_handler.cc   ActionInfo::SetBrowserActionInfo(extension, action_info.release());
extension          45 chrome/common/extensions/api/extension_action/browser_action_handler.cc     const Extension* extension,
extension          48 chrome/common/extensions/api/extension_action/browser_action_handler.cc   const ActionInfo* action = ActionInfo::GetBrowserActionInfo(extension);
extension          52 chrome/common/extensions/api/extension_action/browser_action_handler.cc           extension,
extension          22 chrome/common/extensions/api/extension_action/browser_action_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          23 chrome/common/extensions/api/extension_action/browser_action_handler.h   virtual bool Validate(const Extension* extension,
extension          25 chrome/common/extensions/api/extension_action/browser_action_manifest_unittest.cc   scoped_refptr<const Extension> extension =
extension          35 chrome/common/extensions/api/extension_action/browser_action_manifest_unittest.cc   ASSERT_TRUE(extension.get());
extension          37 chrome/common/extensions/api/extension_action/browser_action_manifest_unittest.cc       ActionInfo::GetBrowserActionInfo(extension.get());
extension          44 chrome/common/extensions/api/extension_action/browser_action_manifest_unittest.cc   scoped_refptr<const Extension> extension =
extension          54 chrome/common/extensions/api/extension_action/browser_action_manifest_unittest.cc   ASSERT_TRUE(extension.get());
extension          56 chrome/common/extensions/api/extension_action/browser_action_manifest_unittest.cc       ActionInfo::GetBrowserActionInfo(extension.get());
extension          68 chrome/common/extensions/api/extension_action/browser_action_manifest_unittest.cc   scoped_refptr<const Extension> extension =
extension          81 chrome/common/extensions/api/extension_action/browser_action_manifest_unittest.cc   ASSERT_TRUE(extension.get());
extension          83 chrome/common/extensions/api/extension_action/browser_action_manifest_unittest.cc       ActionInfo::GetBrowserActionInfo(extension.get());
extension          26 chrome/common/extensions/api/extension_action/page_action_handler.cc bool PageActionHandler::Parse(Extension* extension, base::string16* error) {
extension          30 chrome/common/extensions/api/extension_action/page_action_handler.cc   if (extension->manifest()->HasKey(keys::kPageActions)) {
extension          32 chrome/common/extensions/api/extension_action/page_action_handler.cc     if (!extension->manifest()->GetList(keys::kPageActions, &list_value)) {
extension          51 chrome/common/extensions/api/extension_action/page_action_handler.cc   } else if (extension->manifest()->HasKey(keys::kPageAction)) {
extension          52 chrome/common/extensions/api/extension_action/page_action_handler.cc     if (!extension->manifest()->GetDictionary(keys::kPageAction,
extension          60 chrome/common/extensions/api/extension_action/page_action_handler.cc   if (extension->manifest()->HasKey(keys::kBrowserAction)) {
extension          67 chrome/common/extensions/api/extension_action/page_action_handler.cc     page_action_info = ActionInfo::Load(extension, page_action_value, error);
extension          71 chrome/common/extensions/api/extension_action/page_action_handler.cc   ActionInfo::SetPageActionInfo(extension, page_action_info.release());
extension          76 chrome/common/extensions/api/extension_action/page_action_handler.cc bool PageActionHandler::Validate(const Extension* extension,
extension          80 chrome/common/extensions/api/extension_action/page_action_handler.cc       extensions::ActionInfo::GetPageActionInfo(extension);
extension          84 chrome/common/extensions/api/extension_action/page_action_handler.cc           extension,
extension          22 chrome/common/extensions/api/extension_action/page_action_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          23 chrome/common/extensions/api/extension_action/page_action_handler.h   virtual bool Validate(const Extension* extension,
extension          29 chrome/common/extensions/api/extension_action/page_action_manifest_unittest.cc   scoped_refptr<Extension> extension = LoadAndExpectSuccess(
extension          32 chrome/common/extensions/api/extension_action/page_action_manifest_unittest.cc       ActionInfo::GetPageActionInfo(extension.get());
extension          43 chrome/common/extensions/api/extension_action/page_action_manifest_unittest.cc   scoped_refptr<Extension> extension(
extension          45 chrome/common/extensions/api/extension_action/page_action_manifest_unittest.cc   ASSERT_TRUE(extension.get());
extension          47 chrome/common/extensions/api/extension_action/page_action_manifest_unittest.cc       ActionInfo::GetPageActionInfo(extension.get());
extension         125 chrome/common/extensions/api/extension_action/page_action_manifest_unittest.cc   scoped_refptr<Extension> extension =
extension         128 chrome/common/extensions/api/extension_action/page_action_manifest_unittest.cc       ActionInfo::GetPageActionInfo(extension.get());
extension         131 chrome/common/extensions/api/extension_action/page_action_manifest_unittest.cc       extension->url().Resolve(kPopupHtmlFile).spec().c_str(),
extension         142 chrome/common/extensions/api/extension_action/page_action_manifest_unittest.cc   extension = LoadAndExpectSuccess("page_action_popup.json");
extension         143 chrome/common/extensions/api/extension_action/page_action_manifest_unittest.cc   extension_action = ActionInfo::GetPageActionInfo(extension.get());
extension         146 chrome/common/extensions/api/extension_action/page_action_manifest_unittest.cc       extension->url().Resolve(kPopupHtmlFile).spec().c_str(),
extension         264 chrome/common/extensions/api/extension_api_unittest.cc   scoped_refptr<const Extension> extension = ExtensionBuilder()
extension         274 chrome/common/extensions/api/extension_api_unittest.cc     const Extension* extension;
extension         280 chrome/common/extensions/api/extension_api_unittest.cc     { "test1", true, Feature::UNBLESSED_EXTENSION_CONTEXT, extension.get(),
extension         324 chrome/common/extensions/api/extension_api_unittest.cc                                                  test_data[i].extension,
extension         369 chrome/common/extensions/api/extension_api_unittest.cc   scoped_refptr<Extension> extension(Extension::Create(
extension         372 chrome/common/extensions/api/extension_api_unittest.cc   CHECK(extension.get());
extension         375 chrome/common/extensions/api/extension_api_unittest.cc   return extension;
extension         386 chrome/common/extensions/api/extension_api_unittest.cc   scoped_refptr<Extension> extension;
extension         391 chrome/common/extensions/api/extension_api_unittest.cc     extension = CreateExtensionWithPermissions(permissions);
extension         464 chrome/common/extensions/api/extension_api_unittest.cc   scoped_refptr<Extension> extension(Extension::Create(
extension         467 chrome/common/extensions/api/extension_api_unittest.cc   CHECK(extension.get());
extension         468 chrome/common/extensions/api/extension_api_unittest.cc   return extension;
extension         496 chrome/common/extensions/api/extension_api_unittest.cc   scoped_refptr<Extension> extension(Extension::Create(
extension         499 chrome/common/extensions/api/extension_api_unittest.cc   CHECK(extension.get()) << error;
extension         500 chrome/common/extensions/api/extension_api_unittest.cc   return extension;
extension         504 chrome/common/extensions/api/extension_api_unittest.cc   scoped_refptr<Extension> extension = CreateHostedApp();
extension         511 chrome/common/extensions/api/extension_api_unittest.cc                                           extension.get(),
extension         515 chrome/common/extensions/api/extension_api_unittest.cc                                           extension.get(),
extension         519 chrome/common/extensions/api/extension_api_unittest.cc                                           extension.get(),
extension         523 chrome/common/extensions/api/extension_api_unittest.cc                                           extension.get(),
extension         527 chrome/common/extensions/api/extension_api_unittest.cc                                           extension.get(),
extension         543 chrome/common/extensions/api/extension_api_unittest.cc     scoped_refptr<Extension> extension =
extension         547 chrome/common/extensions/api/extension_api_unittest.cc         extension.get(),
extension         552 chrome/common/extensions/api/extension_api_unittest.cc         extension.get(),
extension         557 chrome/common/extensions/api/extension_api_unittest.cc         extension.get(),
extension         565 chrome/common/extensions/api/extension_api_unittest.cc     scoped_refptr<Extension> extension =
extension         569 chrome/common/extensions/api/extension_api_unittest.cc         extension.get(),
extension         574 chrome/common/extensions/api/extension_api_unittest.cc         extension.get(),
extension         579 chrome/common/extensions/api/extension_api_unittest.cc         extension.get(),
extension         589 chrome/common/extensions/api/extension_api_unittest.cc     scoped_refptr<Extension> extension =
extension         594 chrome/common/extensions/api/extension_api_unittest.cc                                  extension.get(),
extension         598 chrome/common/extensions/api/extension_api_unittest.cc                                   extension.get(),
extension         606 chrome/common/extensions/api/extension_api_unittest.cc     scoped_refptr<Extension> extension =
extension         611 chrome/common/extensions/api/extension_api_unittest.cc                                   extension.get(),
extension         615 chrome/common/extensions/api/extension_api_unittest.cc                                  extension.get(),
extension         864 chrome/common/extensions/api/extension_api_unittest.cc   scoped_refptr<Extension> extension =
extension         870 chrome/common/extensions/api/extension_api_unittest.cc                                          extension.get(),
extension         883 chrome/common/extensions/api/extension_api_unittest.cc   scoped_refptr<Extension> extension =
extension         890 chrome/common/extensions/api/extension_api_unittest.cc                                          extension.get(),
extension         894 chrome/common/extensions/api/extension_api_unittest.cc                                           extension.get(),
extension         117 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc FileBrowserHandler::GetHandlers(const extensions::Extension* extension) {
extension         119 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc       extension->GetManifestData(keys::kFileBrowserHandlers));
extension         269 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc bool FileBrowserHandlerParser::Parse(extensions::Extension* extension,
extension         272 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc   if (!extension->manifest()->GetList(keys::kFileBrowserHandlers,
extension         278 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc   if (!LoadFileBrowserHandlers(extension->id(),
extension         285 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.cc   extension->SetManifestData(keys::kFileBrowserHandlers, info.release());
extension          72 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h   static List* GetHandlers(const extensions::Extension* extension);
extension          94 chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h   virtual bool Parse(extensions::Extension* extension,
extension          57 chrome/common/extensions/api/file_browser_handlers/file_browser_handler_manifest_unittest.cc   scoped_refptr<const Extension> extension =
extension          72 chrome/common/extensions/api/file_browser_handlers/file_browser_handler_manifest_unittest.cc   ASSERT_TRUE(extension.get());
extension          74 chrome/common/extensions/api/file_browser_handlers/file_browser_handler_manifest_unittest.cc       FileBrowserHandler::GetHandlers(extension.get());
extension          92 chrome/common/extensions/api/file_browser_handlers/file_browser_handler_manifest_unittest.cc   scoped_refptr<const Extension> extension =
extension         108 chrome/common/extensions/api/file_browser_handlers/file_browser_handler_manifest_unittest.cc   ASSERT_TRUE(extension.get());
extension         110 chrome/common/extensions/api/file_browser_handlers/file_browser_handler_manifest_unittest.cc       FileBrowserHandler::GetHandlers(extension.get());
extension         122 chrome/common/extensions/api/file_browser_handlers/file_browser_handler_manifest_unittest.cc   scoped_refptr<const Extension> extension =
extension         139 chrome/common/extensions/api/file_browser_handlers/file_browser_handler_manifest_unittest.cc   ASSERT_TRUE(extension.get());
extension         141 chrome/common/extensions/api/file_browser_handlers/file_browser_handler_manifest_unittest.cc       FileBrowserHandler::GetHandlers(extension.get());
extension          44 chrome/common/extensions/api/file_handlers/file_handlers_manifest_unittest.cc   scoped_refptr<const Extension> extension =
extension          47 chrome/common/extensions/api/file_handlers/file_handlers_manifest_unittest.cc   ASSERT_TRUE(extension.get());
extension          49 chrome/common/extensions/api/file_handlers/file_handlers_manifest_unittest.cc       FileHandlers::GetFileHandlers(extension.get());
extension          72 chrome/common/extensions/api/file_handlers/file_handlers_manifest_unittest.cc   scoped_refptr<const Extension> extension =
extension          75 chrome/common/extensions/api/file_handlers/file_handlers_manifest_unittest.cc   ASSERT_TRUE(extension.get());
extension          77 chrome/common/extensions/api/file_handlers/file_handlers_manifest_unittest.cc       FileHandlers::GetFileHandlers(extension.get());
extension          30 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc     const Extension* extension) {
extension          32 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc       extension->GetManifestData(keys::kFileHandlers));
extension         113 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc bool FileHandlersParser::Parse(Extension* extension, base::string16* error) {
extension         116 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc   if (!extension->manifest()->GetDictionary(keys::kFileHandlers,
extension         122 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc   DCHECK(extension->is_platform_app());
extension         152 chrome/common/extensions/api/file_handlers/file_handlers_parser.cc   extension->SetManifestData(keys::kFileHandlers, info.release());
extension          38 chrome/common/extensions/api/file_handlers/file_handlers_parser.h       const Extension* extension);
extension          47 chrome/common/extensions/api/file_handlers/file_handlers_parser.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          27 chrome/common/extensions/api/i18n/default_locale_handler.cc const std::string& LocaleInfo::GetDefaultLocale(const Extension* extension) {
extension          29 chrome/common/extensions/api/i18n/default_locale_handler.cc       extension->GetManifestData(keys::kDefaultLocale));
extension          39 chrome/common/extensions/api/i18n/default_locale_handler.cc bool DefaultLocaleHandler::Parse(Extension* extension, base::string16* error) {
extension          41 chrome/common/extensions/api/i18n/default_locale_handler.cc   if (!extension->manifest()->GetString(keys::kDefaultLocale,
extension          47 chrome/common/extensions/api/i18n/default_locale_handler.cc   extension->SetManifestData(keys::kDefaultLocale, info.release());
extension          52 chrome/common/extensions/api/i18n/default_locale_handler.cc     const Extension* extension,
extension          56 chrome/common/extensions/api/i18n/default_locale_handler.cc   const base::FilePath path = extension->path().Append(kLocaleFolder);
extension          59 chrome/common/extensions/api/i18n/default_locale_handler.cc       extensions::LocaleInfo::GetDefaultLocale(extension);
extension          20 chrome/common/extensions/api/i18n/default_locale_handler.h   static const std::string& GetDefaultLocale(const Extension* extension);
extension          29 chrome/common/extensions/api/i18n/default_locale_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          32 chrome/common/extensions/api/i18n/default_locale_handler.h   virtual bool Validate(const Extension* extension,
extension          19 chrome/common/extensions/api/i18n/default_locale_manifest_unittest.cc   scoped_refptr<Extension> extension(
extension          21 chrome/common/extensions/api/i18n/default_locale_manifest_unittest.cc   EXPECT_EQ("de-AT", LocaleInfo::GetDefaultLocale(extension.get()));
extension         111 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     scoped_refptr<extensions::Extension> extension =
extension         113 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     EXPECT_TRUE(extension->install_warnings().empty());
extension         114 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     EXPECT_EQ("client1", OAuth2Info::GetOAuth2Info(extension.get()).client_id);
extension         115 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     EXPECT_EQ(2U, OAuth2Info::GetOAuth2Info(extension.get()).scopes.size());
extension         116 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     EXPECT_EQ("scope1", OAuth2Info::GetOAuth2Info(extension.get()).scopes[0]);
extension         117 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     EXPECT_EQ("scope2", OAuth2Info::GetOAuth2Info(extension.get()).scopes[1]);
extension         118 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     EXPECT_TRUE(OAuth2Info::GetOAuth2Info(extension.get()).auto_approve);
extension         128 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     scoped_refptr<extensions::Extension> extension =
extension         130 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     EXPECT_TRUE(extension->install_warnings().empty());
extension         131 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     EXPECT_EQ("client1", OAuth2Info::GetOAuth2Info(extension.get()).client_id);
extension         132 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     EXPECT_EQ(2U, OAuth2Info::GetOAuth2Info(extension.get()).scopes.size());
extension         133 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     EXPECT_EQ("scope1", OAuth2Info::GetOAuth2Info(extension.get()).scopes[0]);
extension         134 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     EXPECT_EQ("scope2", OAuth2Info::GetOAuth2Info(extension.get()).scopes[1]);
extension         135 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     EXPECT_FALSE(OAuth2Info::GetOAuth2Info(extension.get()).auto_approve);
extension         145 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     scoped_refptr<extensions::Extension> extension =
extension         147 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     EXPECT_EQ(1U, extension->install_warnings().size());
extension         149 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc         extension->install_warnings()[0];
extension         153 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     EXPECT_EQ("", OAuth2Info::GetOAuth2Info(extension.get()).client_id);
extension         154 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     EXPECT_TRUE(OAuth2Info::GetOAuth2Info(extension.get()).scopes.empty());
extension         155 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     EXPECT_FALSE(OAuth2Info::GetOAuth2Info(extension.get()).auto_approve);
extension         163 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   scoped_refptr<extensions::Extension> extension =
extension         165 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   EXPECT_TRUE(extension->install_warnings().empty());
extension         166 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   EXPECT_FALSE(OAuth2Info::GetOAuth2Info(extension.get()).auto_approve);
extension         173 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   scoped_refptr<extensions::Extension> extension =
extension         175 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   EXPECT_EQ(1U, extension->install_warnings().size());
extension         177 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc       extension->install_warnings()[0];
extension         179 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   EXPECT_FALSE(OAuth2Info::GetOAuth2Info(extension.get()).auto_approve);
extension         186 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   scoped_refptr<extensions::Extension> extension =
extension         188 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   EXPECT_EQ(1U, extension->install_warnings().size());
extension         190 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc       extension->install_warnings()[0];
extension         192 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   EXPECT_FALSE(OAuth2Info::GetOAuth2Info(extension.get()).auto_approve);
extension         199 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   scoped_refptr<extensions::Extension> extension =
extension         201 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   EXPECT_EQ(1U, extension->install_warnings().size());
extension         203 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc       extension->install_warnings()[0];
extension         205 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   EXPECT_FALSE(OAuth2Info::GetOAuth2Info(extension.get()).auto_approve);
extension         212 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   scoped_refptr<extensions::Extension> extension =
extension         214 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   EXPECT_TRUE(extension->install_warnings().empty());
extension         215 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   EXPECT_FALSE(OAuth2Info::GetOAuth2Info(extension.get()).auto_approve);
extension         222 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   scoped_refptr<extensions::Extension> extension =
extension         224 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   EXPECT_TRUE(extension->install_warnings().empty());
extension         225 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   EXPECT_FALSE(OAuth2Info::GetOAuth2Info(extension.get()).auto_approve);
extension         232 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   scoped_refptr<extensions::Extension> extension =
extension         234 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   EXPECT_TRUE(extension->install_warnings().empty());
extension         235 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   EXPECT_TRUE(OAuth2Info::GetOAuth2Info(extension.get()).auto_approve);
extension         243 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   scoped_refptr<extensions::Extension> extension =
extension         296 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     scoped_refptr<extensions::Extension> extension =
extension         298 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     EXPECT_TRUE(OAuth2Info::GetOAuth2Info(extension.get()).client_id.empty());
extension         306 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     scoped_refptr<extensions::Extension> extension =
extension         308 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc     EXPECT_TRUE(OAuth2Info::GetOAuth2Info(extension.get()).client_id.empty());
extension         317 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   scoped_refptr<extensions::Extension> extension =
extension         319 chrome/common/extensions/api/identity/extension_manifests_auth_unittest.cc   EXPECT_EQ("client1", OAuth2Info::GetOAuth2Info(extension.get()).client_id);
extension          35 chrome/common/extensions/api/identity/oauth2_manifest_handler.cc const OAuth2Info& OAuth2Info::GetOAuth2Info(const Extension* extension) {
extension          37 chrome/common/extensions/api/identity/oauth2_manifest_handler.cc       extension->GetManifestData(keys::kOAuth2));
extension          47 chrome/common/extensions/api/identity/oauth2_manifest_handler.cc bool OAuth2ManifestHandler::Parse(Extension* extension,
extension          51 chrome/common/extensions/api/identity/oauth2_manifest_handler.cc   if (!extension->manifest()->GetDictionary(keys::kOAuth2, &dict)) {
extension          60 chrome/common/extensions/api/identity/oauth2_manifest_handler.cc   if (extension->manifest()->HasPath(keys::kOAuth2AutoApprove) &&
extension          70 chrome/common/extensions/api/identity/oauth2_manifest_handler.cc       (extension->location() != Manifest::COMPONENT || !info->auto_approve)) {
extension          90 chrome/common/extensions/api/identity/oauth2_manifest_handler.cc   extension->SetManifestData(keys::kOAuth2, info.release());
extension          28 chrome/common/extensions/api/identity/oauth2_manifest_handler.h   static const OAuth2Info& GetOAuth2Info(const Extension* extension);
extension          37 chrome/common/extensions/api/identity/oauth2_manifest_handler.h   virtual bool Parse(Extension* extension,
extension          37 chrome/common/extensions/api/input_ime/input_components_handler.cc     const Extension* extension) {
extension          39 chrome/common/extensions/api/input_ime/input_components_handler.cc       extension->GetManifestData(keys::kInputComponents));
extension          49 chrome/common/extensions/api/input_ime/input_components_handler.cc bool InputComponentsHandler::Parse(Extension* extension,
extension          53 chrome/common/extensions/api/input_ime/input_components_handler.cc   if (!extension->manifest()->GetList(keys::kInputComponents, &list_value)) {
extension         189 chrome/common/extensions/api/input_ime/input_components_handler.cc       input_view_url = extension->GetResourceURL(input_view_str);
extension         202 chrome/common/extensions/api/input_ime/input_components_handler.cc       options_page_url = extension->GetResourceURL(options_page_str);
extension         211 chrome/common/extensions/api/input_ime/input_components_handler.cc       options_page_url = extensions::ManifestURL::GetOptionsPage(extension);
extension         229 chrome/common/extensions/api/input_ime/input_components_handler.cc   extension->SetManifestData(keys::kInputComponents, info.release());
extension          54 chrome/common/extensions/api/input_ime/input_components_handler.h       const Extension* extension);
extension          63 chrome/common/extensions/api/input_ime/input_components_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          25 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc bool ManagedModeInfo::IsContentPack(const Extension* extension) {
extension          27 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc       extension->GetManifestData(keys::kContentPack));
extension          33 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc     const Extension* extension) {
extension          35 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc     extension->GetManifestData(keys::kContentPack));
extension          37 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc       extension->GetResource(info->site_list) :
extension          47 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc bool ManagedModeHandler::Parse(Extension* extension, base::string16* error) {
extension          48 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc   if (!extension->manifest()->HasKey(keys::kContentPack))
extension          53 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc   if (!extension->manifest()->GetDictionary(keys::kContentPack,
extension          64 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc   extension->SetManifestData(keys::kContentPack, info.release());
extension          23 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.h   static bool IsContentPack(const Extension* extension);
extension          24 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.h   static ExtensionResource GetContentPackSiteList(const Extension* extension);
extension          36 chrome/common/extensions/api/managed_mode_private/managed_mode_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension         112 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc MediaGalleriesHandler::GetHandlers(const extensions::Extension* extension) {
extension         114 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc       extension->GetManifestData(keys::kMediaGalleriesHandlers));
extension         126 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc bool MediaGalleriesHandlerParser::Parse(extensions::Extension* extension,
extension         129 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc   if (!extension->manifest()->GetList(keys::kMediaGalleriesHandlers,
extension         135 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc   if (!LoadMediaGalleriesHandlers(extension->id(),
extension         142 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.cc   extension->SetManifestData(keys::kMediaGalleriesHandlers, info.release());
extension          45 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.h   static List* GetHandlers(const extensions::Extension* extension);
extension          63 chrome/common/extensions/api/media_galleries_private/media_galleries_handler.h   virtual bool Parse(extensions::Extension* extension,
extension          25 chrome/common/extensions/api/omnibox/omnibox_handler.cc const std::string& OmniboxInfo::GetKeyword(const Extension* extension) {
extension          27 chrome/common/extensions/api/omnibox/omnibox_handler.cc       extension->GetManifestData(manifest_keys::kOmnibox));
extension          37 chrome/common/extensions/api/omnibox/omnibox_handler.cc bool OmniboxHandler::Parse(Extension* extension, base::string16* error) {
extension          40 chrome/common/extensions/api/omnibox/omnibox_handler.cc   if (!extension->manifest()->GetDictionary(manifest_keys::kOmnibox,
extension          47 chrome/common/extensions/api/omnibox/omnibox_handler.cc   extension->SetManifestData(manifest_keys::kOmnibox, info.release());
extension          22 chrome/common/extensions/api/omnibox/omnibox_handler.h   static const std::string& GetKeyword(const Extension* extension);
extension          31 chrome/common/extensions/api/omnibox/omnibox_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          46 chrome/common/extensions/api/plugins/plugins_handler.cc     const Extension* extension) {
extension          48 chrome/common/extensions/api/plugins/plugins_handler.cc       extension->GetManifestData(keys::kPlugins));
extension          53 chrome/common/extensions/api/plugins/plugins_handler.cc bool PluginInfo::HasPlugins(const Extension* extension) {
extension          55 chrome/common/extensions/api/plugins/plugins_handler.cc       extension->GetManifestData(keys::kPlugins));
extension          69 chrome/common/extensions/api/plugins/plugins_handler.cc bool PluginsHandler::Parse(Extension* extension, base::string16* error) {
extension          71 chrome/common/extensions/api/plugins/plugins_handler.cc   if (!extension->manifest()->GetList(keys::kPlugins, &list_value)) {
extension         115 chrome/common/extensions/api/plugins/plugins_handler.cc         extension->path().Append(base::FilePath::FromUTF8Unsafe(path_str)),
extension         120 chrome/common/extensions/api/plugins/plugins_handler.cc     extension->SetManifestData(keys::kPlugins, plugins_data.release());
extension         121 chrome/common/extensions/api/plugins/plugins_handler.cc     PermissionsData::GetInitialAPIPermissions(extension)->insert(
extension         128 chrome/common/extensions/api/plugins/plugins_handler.cc bool PluginsHandler::Validate(const Extension* extension,
extension         132 chrome/common/extensions/api/plugins/plugins_handler.cc   if (extensions::PluginInfo::HasPlugins(extension)) {
extension         134 chrome/common/extensions/api/plugins/plugins_handler.cc         extensions::PluginInfo::GetPlugins(extension);
extension          27 chrome/common/extensions/api/plugins/plugins_handler.h   static const PluginVector* GetPlugins(const Extension* extension);
extension          30 chrome/common/extensions/api/plugins/plugins_handler.h   static bool HasPlugins(const Extension* extension);
extension          39 chrome/common/extensions/api/plugins/plugins_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          40 chrome/common/extensions/api/plugins/plugins_handler.h   virtual bool Validate(const Extension* extension,
extension          38 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc     const Extension* extension) {
extension          40 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc       extension->GetManifestData(keys::kTtsVoices));
extension          50 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc bool TtsEngineManifestHandler::Parse(Extension* extension,
extension          54 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc   if (!extension->manifest()->GetDictionary(keys::kTtsEngine, &tts_dict)) {
extension         143 chrome/common/extensions/api/speech/tts_engine_manifest_handler.cc   extension->SetManifestData(keys::kTtsVoices, info.release());
extension          27 chrome/common/extensions/api/speech/tts_engine_manifest_handler.h   static const std::vector<TtsVoice>* GetTtsVoices(const Extension* extension);
extension          36 chrome/common/extensions/api/speech/tts_engine_manifest_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          27 chrome/common/extensions/api/spellcheck/spellcheck_handler.cc bool SpellcheckHandler::Parse(Extension* extension, base::string16* error) {
extension          29 chrome/common/extensions/api/spellcheck/spellcheck_handler.cc   if (!extension->manifest()->GetDictionary(keys::kSpellcheck,
extension          60 chrome/common/extensions/api/spellcheck/spellcheck_handler.cc   extension->SetManifestData(keys::kSpellcheck, spellcheck_info.release());
extension          31 chrome/common/extensions/api/spellcheck/spellcheck_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          40 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc     const Extension* extension,
extension          43 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc   extension->manifest()->GetString(kStorageManagedSchema, &path);
extension          50 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc   file = extension->path().AppendASCII(path);
extension          65 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc bool StorageSchemaManifestHandler::Parse(Extension* extension,
extension          68 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc   if (!extension->manifest()->GetString(kStorageManagedSchema, &path)) {
extension          77 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc       PermissionsData::GetInitialAPIPermissions(extension);
extension          84 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc     const Extension* extension,
extension          88 chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc   return GetSchema(extension, error).valid();
extension          28 chrome/common/extensions/api/storage/storage_schema_manifest_handler.h   static policy::Schema GetSchema(const Extension* extension,
extension          34 chrome/common/extensions/api/storage/storage_schema_manifest_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          35 chrome/common/extensions/api/storage/storage_schema_manifest_handler.h   virtual bool Validate(const Extension* extension,
extension          40 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc     scoped_refptr<Extension> extension = Extension::Create(
extension          43 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc     if (!extension.get())
extension          54 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc     return extension;
extension          58 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc     scoped_refptr<Extension> extension = CreateExtension(schema);
extension          59 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc     if (!extension.get())
extension          64 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc             extension.get(), &error, &warnings))
extension          75 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc   scoped_refptr<Extension> extension = CreateExtension("");
extension          76 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc   ASSERT_TRUE(extension.get());
extension          80 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc   extension = CreateExtension("");
extension          81 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc   EXPECT_FALSE(extension.get());
extension          85 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc   extension = CreateExtension("");
extension          86 chrome/common/extensions/api/storage/storage_schema_manifest_handler_unittest.cc   ASSERT_TRUE(extension.get());
extension          24 chrome/common/extensions/api/system_indicator/system_indicator_handler.cc bool SystemIndicatorHandler::Parse(Extension* extension,
extension          27 chrome/common/extensions/api/system_indicator/system_indicator_handler.cc   if (!extension->manifest()->GetDictionary(
extension          34 chrome/common/extensions/api/system_indicator/system_indicator_handler.cc       extension, system_indicator_value, error);
extension          41 chrome/common/extensions/api/system_indicator/system_indicator_handler.cc   PermissionsData::GetInitialAPIPermissions(extension)->insert(
extension          44 chrome/common/extensions/api/system_indicator/system_indicator_handler.cc   ActionInfo::SetSystemIndicatorInfo(extension, action_info.release());
extension          20 chrome/common/extensions/api/system_indicator/system_indicator_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          51 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc     const Extension* extension) {
extension          53 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc       extension->GetManifestData(mkeys::kUrlHandlers));
extension          59 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc     const Extension* extension,
extension          61 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc   return FindMatchingUrlHandler(extension, url) != NULL;
extension          66 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc     const Extension* extension,
extension          68 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc   const std::vector<UrlHandlerInfo>* handlers = GetUrlHandlers(extension);
extension          73 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc       !OfflineEnabledInfo::IsOfflineEnabled(extension))
extension         135 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc bool UrlHandlersParser::Parse(Extension* extension, base::string16* error) {
extension         138 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc   if (!extension->manifest()->GetDictionary(
extension         144 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc   DCHECK(extension->is_platform_app());
extension         161 chrome/common/extensions/api/url_handlers/url_handlers_parser.cc   extension->SetManifestData(mkeys::kUrlHandlers, info.release());
extension          37 chrome/common/extensions/api/url_handlers/url_handlers_parser.h       const Extension* extension);
extension          42 chrome/common/extensions/api/url_handlers/url_handlers_parser.h       const Extension* extension,
extension          48 chrome/common/extensions/api/url_handlers/url_handlers_parser.h       const Extension* extension,
extension          61 chrome/common/extensions/api/url_handlers/url_handlers_parser.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension         118 chrome/common/extensions/chrome_extensions_client.cc       const Extension* extension,
extension         133 chrome/common/extensions/chrome_extensions_client.cc       (extension->id() == kThumbsWhiteListedExtension &&
extension         134 chrome/common/extensions/chrome_extensions_client.cc        extension->from_webstore())) {
extension          39 chrome/common/extensions/chrome_extensions_client.h       const Extension* extension,
extension         521 chrome/common/extensions/command.cc base::DictionaryValue* Command::ToValue(const Extension* extension,
extension         539 chrome/common/extensions/command.cc   extension_data->SetString("extension_id", extension->id());
extension          59 chrome/common/extensions/command.h       const Extension* extension, bool active) const;
extension         149 chrome/common/extensions/extension_file_util.cc   scoped_refptr<Extension> extension(Extension::Create(extension_path,
extension         155 chrome/common/extensions/extension_file_util.cc   if (!extension.get())
extension         159 chrome/common/extensions/extension_file_util.cc   if (!ValidateExtension(extension.get(), error, &warnings))
extension         161 chrome/common/extensions/extension_file_util.cc   extension->AddInstallWarnings(warnings);
extension         163 chrome/common/extensions/extension_file_util.cc   return extension;
extension         239 chrome/common/extensions/extension_file_util.cc                               const Extension* extension,
extension         246 chrome/common/extensions/extension_file_util.cc         extension->GetResource(iter->second).GetFilePath();
extension         256 chrome/common/extensions/extension_file_util.cc bool ValidateExtension(const Extension* extension,
extension         261 chrome/common/extensions/extension_file_util.cc           extension, error, warnings))
extension         268 chrome/common/extensions/extension_file_util.cc   if (!CheckForIllegalFilenames(extension->path(), &warning))
extension         273 chrome/common/extensions/extension_file_util.cc       FindPrivateKeyFiles(extension->path());
extension         274 chrome/common/extensions/extension_file_util.cc   if (extension->creation_flags() & Extension::ERROR_ON_PRIVATE_KEY) {
extension         295 chrome/common/extensions/extension_file_util.cc std::set<base::FilePath> GetBrowserImagePaths(const Extension* extension) {
extension         298 chrome/common/extensions/extension_file_util.cc   AddPathsFromIconSet(extensions::IconsInfo::GetIcons(extension), &image_paths);
extension         302 chrome/common/extensions/extension_file_util.cc       extensions::ThemeInfo::GetImages(extension);
extension         313 chrome/common/extensions/extension_file_util.cc       extensions::ActionInfo::GetPageActionInfo(extension);
extension         318 chrome/common/extensions/extension_file_util.cc       extensions::ActionInfo::GetBrowserActionInfo(extension);
extension          73 chrome/common/extensions/extension_file_util.h                               const extensions::Extension* extension,
extension          83 chrome/common/extensions/extension_file_util.h bool ValidateExtension(const extensions::Extension* extension,
extension          91 chrome/common/extensions/extension_file_util.h     const extensions::Extension* extension);
extension         104 chrome/common/extensions/extension_file_util_unittest.cc   scoped_refptr<Extension> extension(extension_file_util::LoadExtension(
extension         106 chrome/common/extensions/extension_file_util_unittest.cc   ASSERT_TRUE(extension.get() != NULL);
extension         107 chrome/common/extensions/extension_file_util_unittest.cc   EXPECT_EQ("The first extension that I made.", extension->description());
extension         120 chrome/common/extensions/extension_file_util_unittest.cc   scoped_refptr<Extension> extension(extension_file_util::LoadExtension(
extension         122 chrome/common/extensions/extension_file_util_unittest.cc   ASSERT_FALSE(extension.get() == NULL);
extension         184 chrome/common/extensions/extension_file_util_unittest.cc   scoped_refptr<Extension> extension(extension_file_util::LoadExtension(
extension         186 chrome/common/extensions/extension_file_util_unittest.cc   ASSERT_TRUE(extension.get() == NULL);
extension         201 chrome/common/extensions/extension_file_util_unittest.cc   scoped_refptr<Extension> extension(extension_file_util::LoadExtension(
extension         203 chrome/common/extensions/extension_file_util_unittest.cc   ASSERT_TRUE(extension.get() == NULL);
extension         217 chrome/common/extensions/extension_file_util_unittest.cc   scoped_refptr<Extension> extension(extension_file_util::LoadExtension(
extension         219 chrome/common/extensions/extension_file_util_unittest.cc   ASSERT_TRUE(extension.get() == NULL);
extension         231 chrome/common/extensions/extension_file_util_unittest.cc   scoped_refptr<Extension> extension = Extension::Create(
extension         233 chrome/common/extensions/extension_file_util_unittest.cc   return extension;
extension         271 chrome/common/extensions/extension_file_util_unittest.cc   scoped_refptr<Extension> extension = LoadExtensionManifest(
extension         273 chrome/common/extensions/extension_file_util_unittest.cc   ASSERT_TRUE(extension.get()) << error;
extension         277 chrome/common/extensions/extension_file_util_unittest.cc       extension.get(), &error, &warnings)) << error;
extension         296 chrome/common/extensions/extension_file_util_unittest.cc   scoped_refptr<Extension> extension = LoadExtensionManifest(
extension         298 chrome/common/extensions/extension_file_util_unittest.cc   ASSERT_TRUE(extension.get()) << error;
extension         301 chrome/common/extensions/extension_file_util_unittest.cc       extension.get(), &error, &warnings));
extension         311 chrome/common/extensions/extension_file_util_unittest.cc   extension = LoadExtensionManifest(value.get(), temp.path(),
extension         313 chrome/common/extensions/extension_file_util_unittest.cc   ASSERT_TRUE(extension.get()) << error;
extension         317 chrome/common/extensions/extension_file_util_unittest.cc       extension.get(), &error, &warnings));
extension         391 chrome/common/extensions/extension_file_util_unittest.cc   scoped_refptr<Extension> extension(extension_file_util::LoadExtension(
extension         394 chrome/common/extensions/extension_file_util_unittest.cc   ASSERT_TRUE(extension.get()) << error;
extension         395 chrome/common/extensions/extension_file_util_unittest.cc   ASSERT_EQ(1u, extension->install_warnings().size());
extension         397 chrome/common/extensions/extension_file_util_unittest.cc       extension->install_warnings(),
extension         405 chrome/common/extensions/extension_file_util_unittest.cc   extension = extension_file_util::LoadExtension(
extension         408 chrome/common/extensions/extension_file_util_unittest.cc   EXPECT_FALSE(extension.get());
extension         425 chrome/common/extensions/extension_file_util_unittest.cc   scoped_refptr<Extension> extension(extension_file_util::LoadExtension(
extension         427 chrome/common/extensions/extension_file_util_unittest.cc   EXPECT_TRUE(extension.get() == NULL);
extension          17 chrome/common/extensions/extension_process_policy.cc   const extensions::Extension* extension =
extension          19 chrome/common/extensions/extension_process_policy.cc   if (extension && extension->from_bookmark())
extension          20 chrome/common/extensions/extension_process_policy.cc     extension = NULL;
extension          21 chrome/common/extensions/extension_process_policy.cc   return extension;
extension          40 chrome/common/extensions/extension_test_util.cc   scoped_refptr<Extension> extension = Extension::Create(
extension          42 chrome/common/extensions/extension_test_util.cc   return extension;
extension          59 chrome/common/extensions/extension_test_util.cc   scoped_refptr<Extension> extension =
extension          62 chrome/common/extensions/extension_test_util.cc   EXPECT_TRUE(extension.get()) << test_file << ":" << error;
extension          63 chrome/common/extensions/extension_test_util.cc   return extension;
extension          87 chrome/common/extensions/extension_unittest.cc   scoped_refptr<Extension> extension = LoadManifestStrict("empty_manifest",
extension          89 chrome/common/extensions/extension_unittest.cc   EXPECT_TRUE(extension.get());
extension          91 chrome/common/extensions/extension_unittest.cc   EXPECT_EQ(extension->url().spec() + "bar/baz.js",
extension          92 chrome/common/extensions/extension_unittest.cc             Extension::GetResourceURL(extension->url(), "bar/baz.js").spec());
extension          93 chrome/common/extensions/extension_unittest.cc   EXPECT_EQ(extension->url().spec() + "baz.js",
extension          94 chrome/common/extensions/extension_unittest.cc             Extension::GetResourceURL(extension->url(),
extension          96 chrome/common/extensions/extension_unittest.cc   EXPECT_EQ(extension->url().spec() + "baz.js",
extension          97 chrome/common/extensions/extension_unittest.cc             Extension::GetResourceURL(extension->url(), "../baz.js").spec());
extension         100 chrome/common/extensions/extension_unittest.cc   EXPECT_EQ(extension->url().spec() + "test.html",
extension         101 chrome/common/extensions/extension_unittest.cc             extension->GetResourceURL("/test.html").spec());
extension         161 chrome/common/extensions/extension_unittest.cc   scoped_refptr<Extension> extension = LoadManifestStrict("empty_manifest",
extension         163 chrome/common/extensions/extension_unittest.cc   EXPECT_TRUE(extension.get());
extension         165 chrome/common/extensions/extension_unittest.cc     EXPECT_TRUE(!extension->GetResource(valid_path_test_cases[i]).empty());
extension         167 chrome/common/extensions/extension_unittest.cc     EXPECT_TRUE(extension->GetResource(invalid_path_test_cases[i]).empty());
extension         171 chrome/common/extensions/extension_unittest.cc   scoped_refptr<Extension> extension = LoadManifestStrict("absolute_path",
extension         173 chrome/common/extensions/extension_unittest.cc   EXPECT_TRUE(extension.get());
extension         176 chrome/common/extensions/extension_unittest.cc   EXPECT_TRUE(extension_file_util::ValidateExtension(extension.get(),
extension         180 chrome/common/extensions/extension_unittest.cc   EXPECT_EQ(extension->path().AppendASCII("test.html").value(),
extension         181 chrome/common/extensions/extension_unittest.cc             extension->GetResource("test.html").GetFilePath().value());
extension         182 chrome/common/extensions/extension_unittest.cc   EXPECT_EQ(extension->path().AppendASCII("test.js").value(),
extension         183 chrome/common/extensions/extension_unittest.cc             extension->GetResource("test.js").GetFilePath().value());
extension         231 chrome/common/extensions/extension_unittest.cc   scoped_refptr<Extension> extension;
extension         238 chrome/common/extensions/extension_unittest.cc   extension = LoadManifest("permissions", "permissions_all_urls.json");
extension         239 chrome/common/extensions/extension_unittest.cc   EXPECT_TRUE(extension->wants_file_access());
extension         241 chrome/common/extensions/extension_unittest.cc       extension.get(), file_url, file_url, -1, NULL, -1, NULL));
extension         242 chrome/common/extensions/extension_unittest.cc   extension = LoadManifest(
extension         244 chrome/common/extensions/extension_unittest.cc   EXPECT_TRUE(extension->wants_file_access());
extension         246 chrome/common/extensions/extension_unittest.cc       extension.get(), file_url, file_url, -1, NULL, -1, NULL));
extension         249 chrome/common/extensions/extension_unittest.cc   extension = LoadManifest("permissions", "permissions_file_scheme.json");
extension         250 chrome/common/extensions/extension_unittest.cc   EXPECT_TRUE(extension->wants_file_access());
extension         252 chrome/common/extensions/extension_unittest.cc       extension.get(), file_url, file_url, -1, NULL, -1, NULL));
extension         253 chrome/common/extensions/extension_unittest.cc   extension = LoadManifest("permissions",
extension         256 chrome/common/extensions/extension_unittest.cc   EXPECT_TRUE(extension->wants_file_access());
extension         258 chrome/common/extensions/extension_unittest.cc       extension.get(), file_url, file_url, -1, NULL, -1, NULL));
extension         261 chrome/common/extensions/extension_unittest.cc   extension = LoadManifest("permissions", "permissions_http_scheme.json");
extension         262 chrome/common/extensions/extension_unittest.cc   EXPECT_FALSE(extension->wants_file_access());
extension         264 chrome/common/extensions/extension_unittest.cc       extension.get(), file_url, file_url, -1, NULL, -1, NULL));
extension         265 chrome/common/extensions/extension_unittest.cc   extension = LoadManifest("permissions",
extension         268 chrome/common/extensions/extension_unittest.cc   EXPECT_FALSE(extension->wants_file_access());
extension         270 chrome/common/extensions/extension_unittest.cc       extension.get(), file_url, file_url, -1, NULL, -1, NULL));
extension         273 chrome/common/extensions/extension_unittest.cc   extension = LoadManifest("permissions", "content_script_all_urls.json");
extension         274 chrome/common/extensions/extension_unittest.cc   EXPECT_TRUE(extension->wants_file_access());
extension         276 chrome/common/extensions/extension_unittest.cc       extension.get(),
extension         280 chrome/common/extensions/extension_unittest.cc       &ContentScriptsInfo::GetContentScripts(extension.get())[0],
extension         283 chrome/common/extensions/extension_unittest.cc   extension = LoadManifest("permissions", "content_script_all_urls.json",
extension         285 chrome/common/extensions/extension_unittest.cc   EXPECT_TRUE(extension->wants_file_access());
extension         287 chrome/common/extensions/extension_unittest.cc       extension.get(),
extension         291 chrome/common/extensions/extension_unittest.cc       &ContentScriptsInfo::GetContentScripts(extension.get())[0],
extension         296 chrome/common/extensions/extension_unittest.cc   extension = LoadManifest("permissions", "content_script_file_scheme.json");
extension         297 chrome/common/extensions/extension_unittest.cc   EXPECT_TRUE(extension->wants_file_access());
extension         299 chrome/common/extensions/extension_unittest.cc       extension.get(),
extension         303 chrome/common/extensions/extension_unittest.cc       &ContentScriptsInfo::GetContentScripts(extension.get())[0],
extension         306 chrome/common/extensions/extension_unittest.cc   extension = LoadManifest("permissions", "content_script_file_scheme.json",
extension         308 chrome/common/extensions/extension_unittest.cc   EXPECT_TRUE(extension->wants_file_access());
extension         310 chrome/common/extensions/extension_unittest.cc       extension.get(),
extension         314 chrome/common/extensions/extension_unittest.cc       &ContentScriptsInfo::GetContentScripts(extension.get())[0],
extension         319 chrome/common/extensions/extension_unittest.cc   extension = LoadManifest("permissions", "content_script_http_scheme.json");
extension         320 chrome/common/extensions/extension_unittest.cc   EXPECT_FALSE(extension->wants_file_access());
extension         322 chrome/common/extensions/extension_unittest.cc       extension.get(),
extension         326 chrome/common/extensions/extension_unittest.cc       &ContentScriptsInfo::GetContentScripts(extension.get())[0],
extension         329 chrome/common/extensions/extension_unittest.cc   extension = LoadManifest("permissions", "content_script_http_scheme.json",
extension         331 chrome/common/extensions/extension_unittest.cc   EXPECT_FALSE(extension->wants_file_access());
extension         333 chrome/common/extensions/extension_unittest.cc       extension.get(),
extension         337 chrome/common/extensions/extension_unittest.cc       &ContentScriptsInfo::GetContentScripts(extension.get())[0],
extension         343 chrome/common/extensions/extension_unittest.cc   scoped_refptr<Extension> extension;
extension         344 chrome/common/extensions/extension_unittest.cc   extension = LoadManifest("app", "manifest.json", Extension::FROM_WEBSTORE);
extension         345 chrome/common/extensions/extension_unittest.cc   EXPECT_TRUE(extension->from_webstore());
extension         347 chrome/common/extensions/extension_unittest.cc   extension = LoadManifest("app", "manifest.json", Extension::FROM_BOOKMARK);
extension         348 chrome/common/extensions/extension_unittest.cc   EXPECT_TRUE(extension->from_bookmark());
extension         350 chrome/common/extensions/extension_unittest.cc   extension = LoadManifest("app", "manifest.json", Extension::NO_FLAGS);
extension         351 chrome/common/extensions/extension_unittest.cc   EXPECT_FALSE(extension->from_bookmark());
extension         352 chrome/common/extensions/extension_unittest.cc   EXPECT_FALSE(extension->from_webstore());
extension          29 chrome/common/extensions/manifest_handlers/app_isolation_info.cc bool AppIsolationInfo::HasIsolatedStorage(const Extension* extension) {
extension          31 chrome/common/extensions/manifest_handlers/app_isolation_info.cc       extension->GetManifestData(keys::kIsolation));
extension          41 chrome/common/extensions/manifest_handlers/app_isolation_info.cc bool AppIsolationHandler::Parse(Extension* extension, base::string16* error) {
extension          43 chrome/common/extensions/manifest_handlers/app_isolation_info.cc   if (extension->is_platform_app()) {
extension          44 chrome/common/extensions/manifest_handlers/app_isolation_info.cc     extension->SetManifestData(keys::kIsolation, new AppIsolationInfo(true));
extension          50 chrome/common/extensions/manifest_handlers/app_isolation_info.cc   if (!extension->is_app() ||
extension          51 chrome/common/extensions/manifest_handlers/app_isolation_info.cc       !PermissionsData::GetInitialAPIPermissions(extension)->count(
extension          58 chrome/common/extensions/manifest_handlers/app_isolation_info.cc   DCHECK(extension->manifest()->HasPath(keys::kIsolation));
extension          61 chrome/common/extensions/manifest_handlers/app_isolation_info.cc   if (!extension->manifest()->GetList(keys::kIsolation, &isolation_list)) {
extension          85 chrome/common/extensions/manifest_handlers/app_isolation_info.cc     extension->SetManifestData(keys::kIsolation, new AppIsolationInfo(true));
extension          21 chrome/common/extensions/manifest_handlers/app_isolation_info.h   static bool HasIsolatedStorage(const Extension* extension);
extension          33 chrome/common/extensions/manifest_handlers/app_isolation_info.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          53 chrome/common/extensions/manifest_handlers/app_launch_info.cc const AppLaunchInfo& GetAppLaunchInfo(const Extension* extension) {
extension          55 chrome/common/extensions/manifest_handlers/app_launch_info.cc       extension->GetManifestData(keys::kLaunch));
extension          72 chrome/common/extensions/manifest_handlers/app_launch_info.cc     const Extension* extension) {
extension          73 chrome/common/extensions/manifest_handlers/app_launch_info.cc   return GetAppLaunchInfo(extension).launch_local_path_;
extension          78 chrome/common/extensions/manifest_handlers/app_launch_info.cc     const Extension* extension) {
extension          79 chrome/common/extensions/manifest_handlers/app_launch_info.cc   return GetAppLaunchInfo(extension).launch_web_url_;
extension          84 chrome/common/extensions/manifest_handlers/app_launch_info.cc     const Extension* extension) {
extension          85 chrome/common/extensions/manifest_handlers/app_launch_info.cc   return GetAppLaunchInfo(extension).launch_container_;
extension          89 chrome/common/extensions/manifest_handlers/app_launch_info.cc int AppLaunchInfo::GetLaunchWidth(const Extension* extension) {
extension          90 chrome/common/extensions/manifest_handlers/app_launch_info.cc   return GetAppLaunchInfo(extension).launch_width_;
extension          94 chrome/common/extensions/manifest_handlers/app_launch_info.cc int AppLaunchInfo::GetLaunchHeight(const Extension* extension) {
extension          95 chrome/common/extensions/manifest_handlers/app_launch_info.cc   return GetAppLaunchInfo(extension).launch_height_;
extension          99 chrome/common/extensions/manifest_handlers/app_launch_info.cc GURL AppLaunchInfo::GetFullLaunchURL(const Extension* extension) {
extension         100 chrome/common/extensions/manifest_handlers/app_launch_info.cc   const AppLaunchInfo& info = GetAppLaunchInfo(extension);
extension         104 chrome/common/extensions/manifest_handlers/app_launch_info.cc     return extension->url().Resolve(info.launch_local_path_);
extension         107 chrome/common/extensions/manifest_handlers/app_launch_info.cc bool AppLaunchInfo::Parse(Extension* extension, base::string16* error) {
extension         108 chrome/common/extensions/manifest_handlers/app_launch_info.cc   if (!LoadLaunchURL(extension, error) ||
extension         109 chrome/common/extensions/manifest_handlers/app_launch_info.cc       !LoadLaunchContainer(extension, error))
extension         114 chrome/common/extensions/manifest_handlers/app_launch_info.cc bool AppLaunchInfo::LoadLaunchURL(Extension* extension, base::string16* error) {
extension         119 chrome/common/extensions/manifest_handlers/app_launch_info.cc   if (extension->manifest()->Get(keys::kLaunchLocalPath, &temp)) {
extension         120 chrome/common/extensions/manifest_handlers/app_launch_info.cc     if (extension->manifest()->Get(keys::kLaunchWebURL, NULL)) {
extension         125 chrome/common/extensions/manifest_handlers/app_launch_info.cc     if (extension->manifest()->Get(keys::kWebURLs, NULL)) {
extension         139 chrome/common/extensions/manifest_handlers/app_launch_info.cc     GURL resolved = extension->url().Resolve(launch_path);
extension         140 chrome/common/extensions/manifest_handlers/app_launch_info.cc     if (!resolved.is_valid() || resolved.GetOrigin() != extension->url()) {
extension         148 chrome/common/extensions/manifest_handlers/app_launch_info.cc   } else if (extension->manifest()->Get(keys::kLaunchWebURL, &temp)) {
extension         168 chrome/common/extensions/manifest_handlers/app_launch_info.cc   } else if (extension->is_legacy_packaged_app()) {
extension         174 chrome/common/extensions/manifest_handlers/app_launch_info.cc   if (extension->id() == extension_misc::kChromeAppId) {
extension         180 chrome/common/extensions/manifest_handlers/app_launch_info.cc   if (extension->web_extent().is_empty() && !launch_web_url_.is_empty()) {
extension         190 chrome/common/extensions/manifest_handlers/app_launch_info.cc     extension->AddWebExtentPattern(pattern);
extension         196 chrome/common/extensions/manifest_handlers/app_launch_info.cc   if (extension->id() == extension_misc::kWebStoreAppId) {
extension         203 chrome/common/extensions/manifest_handlers/app_launch_info.cc       OverrideLaunchURL(extension, gallery_url);
extension         205 chrome/common/extensions/manifest_handlers/app_launch_info.cc   } else if (extension->id() == extension_misc::kCloudPrintAppId) {
extension         220 chrome/common/extensions/manifest_handlers/app_launch_info.cc       OverrideLaunchURL(extension, cloud_print_enable_connector_url);
extension         227 chrome/common/extensions/manifest_handlers/app_launch_info.cc bool AppLaunchInfo::LoadLaunchContainer(Extension* extension,
extension         230 chrome/common/extensions/manifest_handlers/app_launch_info.cc   if (!extension->manifest()->Get(keys::kLaunchContainer,
extension         252 chrome/common/extensions/manifest_handlers/app_launch_info.cc   if (!ReadLaunchDimension(extension->manifest(),
extension         261 chrome/common/extensions/manifest_handlers/app_launch_info.cc   if (!ReadLaunchDimension(extension->manifest(),
extension         272 chrome/common/extensions/manifest_handlers/app_launch_info.cc void AppLaunchInfo::OverrideLaunchURL(Extension* extension,
extension         275 chrome/common/extensions/manifest_handlers/app_launch_info.cc     DLOG(WARNING) << "Invalid override url given for " << extension->name();
extension         279 chrome/common/extensions/manifest_handlers/app_launch_info.cc     DLOG(WARNING) << "Override URL passed for " << extension->name()
extension         293 chrome/common/extensions/manifest_handlers/app_launch_info.cc   extension->AddWebExtentPattern(pattern);
extension         302 chrome/common/extensions/manifest_handlers/app_launch_info.cc bool AppLaunchManifestHandler::Parse(Extension* extension,
extension         305 chrome/common/extensions/manifest_handlers/app_launch_info.cc   if (!info->Parse(extension, error))
extension         307 chrome/common/extensions/manifest_handlers/app_launch_info.cc   extension->SetManifestData(keys::kLaunch, info.release());
extension          26 chrome/common/extensions/manifest_handlers/app_launch_info.h   static const std::string& GetLaunchLocalPath(const Extension* extension);
extension          29 chrome/common/extensions/manifest_handlers/app_launch_info.h   static const GURL& GetLaunchWebURL(const Extension* extension);
extension          37 chrome/common/extensions/manifest_handlers/app_launch_info.h       const Extension* extension);
extension          41 chrome/common/extensions/manifest_handlers/app_launch_info.h   static int GetLaunchWidth(const Extension* extension);
extension          42 chrome/common/extensions/manifest_handlers/app_launch_info.h   static int GetLaunchHeight(const Extension* extension);
extension          45 chrome/common/extensions/manifest_handlers/app_launch_info.h   static GURL GetFullLaunchURL(const Extension* extension);
extension          47 chrome/common/extensions/manifest_handlers/app_launch_info.h   bool Parse(Extension* extension, base::string16* error);
extension          50 chrome/common/extensions/manifest_handlers/app_launch_info.h   bool LoadLaunchURL(Extension* extension, base::string16* error);
extension          51 chrome/common/extensions/manifest_handlers/app_launch_info.h   bool LoadLaunchContainer(Extension* extension, base::string16* error);
extension          52 chrome/common/extensions/manifest_handlers/app_launch_info.h   void OverrideLaunchURL(Extension* extension, GURL override_url);
extension          72 chrome/common/extensions/manifest_handlers/app_launch_info.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          75 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc                                   Extension* extension,
extension         140 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc         PermissionsData::CanExecuteScriptEverywhere(extension)));
extension         153 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc     if (!PermissionsData::CanExecuteScriptEverywhere(extension) &&
extension         164 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc         !PermissionsData::CanExecuteScriptEverywhere(extension)) {
extension         165 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc       extension->set_wants_file_access(true);
extension         166 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc       if (!(extension->creation_flags() & Extension::ALLOW_FILE_ACCESS)) {
extension         197 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc           PermissionsData::CanExecuteScriptEverywhere(extension));
extension         263 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc       GURL url = extension->GetResourceURL(relative);
extension         264 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc       ExtensionResource resource = extension->GetResource(relative);
extension         282 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc       GURL url = extension->GetResourceURL(relative);
extension         283 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc       ExtensionResource resource = extension->GetResource(relative);
extension         334 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc     const Extension* extension) {
extension         336 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc       extension->GetManifestData(keys::kContentScripts));
extension         342 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc bool ContentScriptsInfo::ExtensionHasScriptAtURL(const Extension* extension,
extension         344 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc   const UserScriptList& content_scripts = GetContentScripts(extension);
extension         355 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc     const Extension* extension) {
extension         356 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc   const UserScriptList& content_scripts = GetContentScripts(extension);
extension         383 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc bool ContentScriptsHandler::Parse(Extension* extension, base::string16* error) {
extension         386 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc   if (!extension->manifest()->GetList(keys::kContentScripts, &scripts_list)) {
extension         403 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc                                       extension,
extension         409 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc     user_script.set_extension_id(extension->id());
extension         410 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc     if (extension->converted_from_user_script()) {
extension         417 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc   extension->SetManifestData(keys::kContentScripts,
extension         420 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc       extension,
extension         421 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc       ContentScriptsInfo::GetScriptableHosts(extension));
extension         426 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc     const Extension* extension,
extension         432 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc   if ((extension->creation_flags() &
extension         440 chrome/common/extensions/manifest_handlers/content_scripts_handler.cc       ContentScriptsInfo::GetContentScripts(extension);
extension          27 chrome/common/extensions/manifest_handlers/content_scripts_handler.h   static const UserScriptList& GetContentScripts(const Extension* extension);
extension          30 chrome/common/extensions/manifest_handlers/content_scripts_handler.h   static URLPatternSet GetScriptableHosts(const Extension* extension);
extension          33 chrome/common/extensions/manifest_handlers/content_scripts_handler.h   static bool ExtensionHasScriptAtURL(const Extension* extension,
extension          43 chrome/common/extensions/manifest_handlers/content_scripts_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          44 chrome/common/extensions/manifest_handlers/content_scripts_handler.h   virtual bool Validate(const Extension* extension,
extension          49 chrome/common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc   scoped_refptr<Extension> extension =
extension          53 chrome/common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc       ContentScriptsInfo::ExtensionHasScriptAtURL(extension.get(), newtab_url));
extension          58 chrome/common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc   scoped_refptr<Extension> extension =
extension          61 chrome/common/extensions/manifest_handlers/content_scripts_manifest_unittest.cc       ContentScriptsInfo::GetScriptableHosts(extension.get());
extension          58 chrome/common/extensions/manifest_handlers/externally_connectable.cc bool ExternallyConnectableHandler::Parse(Extension* extension,
extension          61 chrome/common/extensions/manifest_handlers/externally_connectable.cc   CHECK(extension->manifest()->Get(keys::kExternallyConnectable,
extension          71 chrome/common/extensions/manifest_handlers/externally_connectable.cc     PermissionsData::GetInitialAPIPermissions(extension)->insert(
extension          74 chrome/common/extensions/manifest_handlers/externally_connectable.cc   extension->AddInstallWarnings(install_warnings);
extension          75 chrome/common/extensions/manifest_handlers/externally_connectable.cc   extension->SetManifestData(keys::kExternallyConnectable, info.release());
extension          85 chrome/common/extensions/manifest_handlers/externally_connectable.cc     const Extension* extension) {
extension          87 chrome/common/extensions/manifest_handlers/externally_connectable.cc       extension->GetManifestData(keys::kExternallyConnectable));
extension          41 chrome/common/extensions/manifest_handlers/externally_connectable.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          54 chrome/common/extensions/manifest_handlers/externally_connectable.h   static ExternallyConnectableInfo* Get(const Extension* extension);
extension          27 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc       scoped_refptr<Extension> extension) {
extension          28 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc     return static_cast<ExternallyConnectableInfo*>(extension->GetManifestData(
extension          37 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   scoped_refptr<Extension> extension =
extension          39 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   ASSERT_TRUE(extension.get());
extension          41 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kWebConnectable));
extension          44 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc       ExternallyConnectableInfo::Get(extension.get());
extension          97 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   scoped_refptr<Extension> extension =
extension          99 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   ASSERT_TRUE(extension.get());
extension         101 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   EXPECT_FALSE(extension->HasAPIPermission(APIPermission::kWebConnectable));
extension         104 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc       ExternallyConnectableInfo::Get(extension.get());
extension         116 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   scoped_refptr<Extension> extension =
extension         118 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   ASSERT_TRUE(extension.get());
extension         120 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kWebConnectable));
extension         123 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc       ExternallyConnectableInfo::Get(extension.get());
extension         158 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   scoped_refptr<Extension> extension =
extension         161 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   ASSERT_TRUE(extension.get());
extension         163 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kWebConnectable));
extension         166 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc       ExternallyConnectableInfo::Get(extension.get());
extension         183 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   scoped_refptr<Extension> extension =
extension         185 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   ASSERT_TRUE(extension.get());
extension         187 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   EXPECT_FALSE(extension->HasAPIPermission(APIPermission::kWebConnectable));
extension         190 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc       ExternallyConnectableInfo::Get(extension.get());
extension         247 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   scoped_refptr<Extension> extension = LoadAndExpectWarning(
extension         251 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   ExternallyConnectableInfo* info = GetExternallyConnectableInfo(extension);
extension         259 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   scoped_refptr<Extension> extension = LoadAndExpectWarning(
extension         263 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   ExternallyConnectableInfo* info = GetExternallyConnectableInfo(extension);
extension         271 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   scoped_refptr<Extension> extension = LoadAndExpectWarning(
extension         277 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   ExternallyConnectableInfo* info = GetExternallyConnectableInfo(extension);
extension         285 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   scoped_refptr<Extension> extension = LoadAndExpectWarning(
extension         291 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   ExternallyConnectableInfo* info = GetExternallyConnectableInfo(extension);
extension         299 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   scoped_refptr<Extension> extension = LoadAndExpectWarning(
extension         305 chrome/common/extensions/manifest_handlers/externally_connectable_unittest.cc   ExternallyConnectableInfo* info = GetExternallyConnectableInfo(extension);
extension          35 chrome/common/extensions/manifest_handlers/icons_handler.cc const ExtensionIconSet& IconsInfo::GetIcons(const Extension* extension) {
extension          37 chrome/common/extensions/manifest_handlers/icons_handler.cc       extension->GetManifestData(keys::kIcons));
extension          55 chrome/common/extensions/manifest_handlers/icons_handler.cc     const Extension* extension,
extension          58 chrome/common/extensions/manifest_handlers/icons_handler.cc   std::string path = GetIcons(extension).Get(size, match_type);
extension          59 chrome/common/extensions/manifest_handlers/icons_handler.cc   return path.empty() ? ExtensionResource() : extension->GetResource(path);
extension          63 chrome/common/extensions/manifest_handlers/icons_handler.cc GURL IconsInfo::GetIconURL(const Extension* extension,
extension          66 chrome/common/extensions/manifest_handlers/icons_handler.cc   std::string path = GetIcons(extension).Get(size, match_type);
extension          67 chrome/common/extensions/manifest_handlers/icons_handler.cc   return path.empty() ? GURL() : extension->GetResourceURL(path);
extension          76 chrome/common/extensions/manifest_handlers/icons_handler.cc bool IconsHandler::Parse(Extension* extension, base::string16* error) {
extension          79 chrome/common/extensions/manifest_handlers/icons_handler.cc   if (!extension->manifest()->GetDictionary(keys::kIcons, &icons_dict)) {
extension          93 chrome/common/extensions/manifest_handlers/icons_handler.cc   extension->SetManifestData(keys::kIcons, icons_info.release());
extension          97 chrome/common/extensions/manifest_handlers/icons_handler.cc bool IconsHandler::Validate(const Extension* extension,
extension         101 chrome/common/extensions/manifest_handlers/icons_handler.cc       IconsInfo::GetIcons(extension),
extension         102 chrome/common/extensions/manifest_handlers/icons_handler.cc       extension,
extension          26 chrome/common/extensions/manifest_handlers/icons_handler.h   static const ExtensionIconSet& GetIcons(const Extension* extension);
extension          35 chrome/common/extensions/manifest_handlers/icons_handler.h       const Extension* extension,
extension          38 chrome/common/extensions/manifest_handlers/icons_handler.h   static GURL GetIconURL(const Extension* extension,
extension          49 chrome/common/extensions/manifest_handlers/icons_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          50 chrome/common/extensions/manifest_handlers/icons_handler.h   virtual bool Validate(const Extension* extension,
extension          27 chrome/common/extensions/manifest_handlers/minimum_chrome_version_checker.cc bool MinimumChromeVersionChecker::Parse(Extension* extension,
extension          30 chrome/common/extensions/manifest_handlers/minimum_chrome_version_checker.cc   if (!extension->manifest()->GetString(keys::kMinimumChromeVersion,
extension          20 chrome/common/extensions/manifest_handlers/minimum_chrome_version_checker.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          31 chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc     const Extension* extension) {
extension          33 chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc       extension->GetManifestData(keys::kNaClModules));
extension          43 chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc bool NaClModulesHandler::Parse(Extension* extension, base::string16* error) {
extension          45 chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc   if (!extension->manifest()->GetList(keys::kNaClModules, &list_value)) {
extension          77 chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc         extension->GetResourceURL(path_str);
extension          81 chrome/common/extensions/manifest_handlers/nacl_modules_handler.cc   extension->SetManifestData(keys::kNaClModules, nacl_module_data.release());
extension          21 chrome/common/extensions/manifest_handlers/nacl_modules_handler.h       const Extension* extension);
extension          33 chrome/common/extensions/manifest_handlers/nacl_modules_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension         220 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc     const Extension* extension) {
extension         222 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc       extension->GetManifestData(manifest_keys::kSettingsOverride));
extension         252 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc bool SettingsOverridesHandler::Parse(Extension* extension,
extension         255 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc   CHECK(extension->manifest()->Get(manifest_keys::kSettingsOverride, &dict));
extension         284 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc       PermissionsData::GetInitialAPIPermissions(extension);
extension         304 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc   extension->SetManifestData(manifest_keys::kSettingsOverride,
extension         310 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc     const Extension* extension,
extension         314 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc       SettingsOverrides::Get(extension);
extension         340 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc     const Extension* extension) {
extension         341 chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc   const SettingsOverrides* data = SettingsOverrides::Get(extension);
extension          29 chrome/common/extensions/manifest_handlers/settings_overrides_handler.h   static const SettingsOverrides* Get(const Extension* extension);
extension          56 chrome/common/extensions/manifest_handlers/settings_overrides_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          57 chrome/common/extensions/manifest_handlers/settings_overrides_handler.h   virtual bool Validate(const Extension* extension,
extension          63 chrome/common/extensions/manifest_handlers/settings_overrides_handler.h       const Extension* extension) OVERRIDE;
extension          71 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc   scoped_refptr<Extension> extension = Extension::Create(
extension          77 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc   ASSERT_TRUE(extension);
extension          79 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc   ASSERT_TRUE(extension->manifest()->HasPath(manifest_keys::kSettingsOverride));
extension          82 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc       extension->GetManifestData(manifest_keys::kSettingsOverride));
extension         103 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc       extension->manifest()->HasPath(manifest_keys::kSettingsOverride));
extension         115 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc   scoped_refptr<Extension> extension = Extension::Create(
extension         122 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc   EXPECT_FALSE(extension);
extension         129 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc   EXPECT_TRUE(extension);
extension         131 chrome/common/extensions/manifest_handlers/settings_overrides_handler_unittest.cc       extension->manifest()->HasPath(manifest_keys::kSettingsOverride));
extension         127 chrome/common/extensions/manifest_handlers/theme_handler.cc const ThemeInfo* GetInfo(const Extension* extension) {
extension         128 chrome/common/extensions/manifest_handlers/theme_handler.cc   return static_cast<ThemeInfo*>(extension->GetManifestData(keys::kTheme));
extension         140 chrome/common/extensions/manifest_handlers/theme_handler.cc const base::DictionaryValue* ThemeInfo::GetImages(const Extension* extension) {
extension         141 chrome/common/extensions/manifest_handlers/theme_handler.cc   const ThemeInfo* theme_info = GetInfo(extension);
extension         146 chrome/common/extensions/manifest_handlers/theme_handler.cc const base::DictionaryValue* ThemeInfo::GetColors(const Extension* extension) {
extension         147 chrome/common/extensions/manifest_handlers/theme_handler.cc   const ThemeInfo* theme_info = GetInfo(extension);
extension         152 chrome/common/extensions/manifest_handlers/theme_handler.cc const base::DictionaryValue* ThemeInfo::GetTints(const Extension* extension) {
extension         153 chrome/common/extensions/manifest_handlers/theme_handler.cc   const ThemeInfo* theme_info = GetInfo(extension);
extension         159 chrome/common/extensions/manifest_handlers/theme_handler.cc     const Extension* extension) {
extension         160 chrome/common/extensions/manifest_handlers/theme_handler.cc   const ThemeInfo* theme_info = GetInfo(extension);
extension         170 chrome/common/extensions/manifest_handlers/theme_handler.cc bool ThemeHandler::Parse(Extension* extension, base::string16* error) {
extension         172 chrome/common/extensions/manifest_handlers/theme_handler.cc   if (!extension->manifest()->GetDictionary(keys::kTheme, &theme_value)) {
extension         187 chrome/common/extensions/manifest_handlers/theme_handler.cc   extension->SetManifestData(keys::kTheme, theme_info.release());
extension         191 chrome/common/extensions/manifest_handlers/theme_handler.cc bool ThemeHandler::Validate(const Extension* extension,
extension         195 chrome/common/extensions/manifest_handlers/theme_handler.cc   if (extension->is_theme()) {
extension         197 chrome/common/extensions/manifest_handlers/theme_handler.cc         extensions::ThemeInfo::GetImages(extension);
extension         203 chrome/common/extensions/manifest_handlers/theme_handler.cc           base::FilePath image_path = extension->path().Append(
extension          23 chrome/common/extensions/manifest_handlers/theme_handler.h   static const base::DictionaryValue* GetImages(const Extension* extension);
extension          24 chrome/common/extensions/manifest_handlers/theme_handler.h   static const base::DictionaryValue* GetColors(const Extension* extension);
extension          25 chrome/common/extensions/manifest_handlers/theme_handler.h   static const base::DictionaryValue* GetTints(const Extension* extension);
extension          27 chrome/common/extensions/manifest_handlers/theme_handler.h       const Extension* extension);
extension          48 chrome/common/extensions/manifest_handlers/theme_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          49 chrome/common/extensions/manifest_handlers/theme_handler.h   virtual bool Validate(const Extension* extension,
extension         138 chrome/common/extensions/manifest_handlers/ui_overrides_handler.cc const UIOverrides* UIOverrides::Get(const Extension* extension) {
extension         140 chrome/common/extensions/manifest_handlers/ui_overrides_handler.cc       extension->GetManifestData(manifest_keys::kUIOverride));
extension         166 chrome/common/extensions/manifest_handlers/ui_overrides_handler.cc bool UIOverridesHandler::Parse(Extension* extension, base::string16* error) {
extension         168 chrome/common/extensions/manifest_handlers/ui_overrides_handler.cc   CHECK(extension->manifest()->Get(manifest_keys::kUIOverride, &dict));
extension         184 chrome/common/extensions/manifest_handlers/ui_overrides_handler.cc   extension->SetManifestData(manifest_keys::kUIOverride, info.release());
extension         188 chrome/common/extensions/manifest_handlers/ui_overrides_handler.cc bool UIOverridesHandler::Validate(const Extension* extension,
extension         191 chrome/common/extensions/manifest_handlers/ui_overrides_handler.cc   const UIOverrides* ui_overrides = UIOverrides::Get(extension);
extension         211 chrome/common/extensions/manifest_handlers/ui_overrides_handler.cc     const Extension* extension) {
extension         212 chrome/common/extensions/manifest_handlers/ui_overrides_handler.cc   const UIOverrides* data = UIOverrides::Get(extension);
extension          23 chrome/common/extensions/manifest_handlers/ui_overrides_handler.h   static const UIOverrides* Get(const Extension* extension);
extension          42 chrome/common/extensions/manifest_handlers/ui_overrides_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          43 chrome/common/extensions/manifest_handlers/ui_overrides_handler.h   virtual bool Validate(const Extension* extension,
extension          49 chrome/common/extensions/manifest_handlers/ui_overrides_handler.h       const Extension* extension) OVERRIDE;
extension          59 chrome/common/extensions/manifest_handlers/ui_overrides_handler_unittest.cc   scoped_refptr<Extension> extension = Extension::Create(
extension          65 chrome/common/extensions/manifest_handlers/ui_overrides_handler_unittest.cc   ASSERT_TRUE(extension) << error;
extension          66 chrome/common/extensions/manifest_handlers/ui_overrides_handler_unittest.cc   ASSERT_TRUE(extension->manifest()->HasPath(manifest_keys::kUIOverride));
extension          69 chrome/common/extensions/manifest_handlers/ui_overrides_handler_unittest.cc       extension->GetManifestData(manifest_keys::kUIOverride));
extension          88 chrome/common/extensions/manifest_handlers/ui_overrides_handler_unittest.cc   scoped_refptr<Extension> extension = Extension::Create(
extension          94 chrome/common/extensions/manifest_handlers/ui_overrides_handler_unittest.cc   EXPECT_FALSE(extension);
extension         130 chrome/common/extensions/manifest_tests/extension_manifest_test.cc   scoped_refptr<Extension> extension =
extension         132 chrome/common/extensions/manifest_tests/extension_manifest_test.cc   EXPECT_TRUE(extension.get()) << manifest.name();
extension         134 chrome/common/extensions/manifest_tests/extension_manifest_test.cc   return extension;
extension         157 chrome/common/extensions/manifest_tests/extension_manifest_test.cc   scoped_refptr<Extension> extension =
extension         159 chrome/common/extensions/manifest_tests/extension_manifest_test.cc   EXPECT_TRUE(extension.get()) << manifest.name();
extension         161 chrome/common/extensions/manifest_tests/extension_manifest_test.cc   EXPECT_EQ(1u, extension->install_warnings().size());
extension         162 chrome/common/extensions/manifest_tests/extension_manifest_test.cc   EXPECT_EQ(expected_warning, extension->install_warnings()[0].message);
extension         163 chrome/common/extensions/manifest_tests/extension_manifest_test.cc   return extension;
extension         176 chrome/common/extensions/manifest_tests/extension_manifest_test.cc     Extension* extension,
extension         180 chrome/common/extensions/manifest_tests/extension_manifest_test.cc   EXPECT_FALSE(extension) <<
extension         193 chrome/common/extensions/manifest_tests/extension_manifest_test.cc   scoped_refptr<Extension> extension(
extension         195 chrome/common/extensions/manifest_tests/extension_manifest_test.cc   VerifyExpectedError(extension.get(), manifest.name(), error,
extension          97 chrome/common/extensions/manifest_tests/extension_manifest_test.h   void VerifyExpectedError(extensions::Extension* extension,
extension          37 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc   scoped_refptr<Extension> extension(
extension          39 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc   ASSERT_TRUE(extension.get());
extension          41 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc       BackgroundInfo::GetBackgroundScripts(extension.get());
extension          46 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc   EXPECT_TRUE(BackgroundInfo::HasBackgroundPage(extension.get()));
extension          49 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc       BackgroundInfo::GetBackgroundURL(extension.get()).path());
extension          57 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc   scoped_refptr<Extension> extension(
extension          59 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc   ASSERT_TRUE(extension.get());
extension          61 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc             BackgroundInfo::GetBackgroundURL(extension.get()).path());
extension          62 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc   EXPECT_TRUE(BackgroundInfo::AllowJSAccess(extension.get()));
extension          68 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc   extension = LoadAndExpectSuccess(Manifest(manifest.get(), ""));
extension          69 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc   ASSERT_TRUE(extension.get());
extension          71 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc             BackgroundInfo::GetBackgroundURL(extension.get()).path());
extension          80 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc   scoped_refptr<Extension> extension;
extension          81 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc   extension = LoadAndExpectSuccess("background_allow_no_js_access.json");
extension          82 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc   ASSERT_TRUE(extension.get());
extension          83 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc   EXPECT_FALSE(BackgroundInfo::AllowJSAccess(extension.get()));
extension          85 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc   extension = LoadAndExpectSuccess("background_allow_no_js_access2.json");
extension          86 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc   ASSERT_TRUE(extension.get());
extension          87 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc   EXPECT_FALSE(BackgroundInfo::AllowJSAccess(extension.get()));
extension          99 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc   scoped_refptr<Extension> extension(
extension         101 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc   ASSERT_TRUE(extension.get());
extension         102 chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc   EXPECT_TRUE(BackgroundInfo::HasLazyBackgroundPage(extension.get()));
extension          33 chrome/common/extensions/manifest_tests/extension_manifests_chromepermission_unittest.cc   scoped_refptr<Extension> extension =
extension          38 chrome/common/extensions/manifest_tests/extension_manifests_chromepermission_unittest.cc       extension.get(), newtab_url, newtab_url, 0, NULL, -1, &error)) << error;
extension          10 chrome/common/extensions/manifest_tests/extension_manifests_default_extent_path_unittest.cc   scoped_refptr<extensions::Extension> extension(
extension          13 chrome/common/extensions/manifest_tests/extension_manifests_default_extent_path_unittest.cc   ASSERT_EQ(1u, extension->web_extent().patterns().size());
extension          14 chrome/common/extensions/manifest_tests/extension_manifests_default_extent_path_unittest.cc   EXPECT_EQ("/*", extension->web_extent().patterns().begin()->path());
extension          15 chrome/common/extensions/manifest_tests/extension_manifests_default_extent_path_unittest.cc   EXPECT_TRUE(extension->web_extent().MatchesURL(
extension          19 chrome/common/extensions/manifest_tests/extension_manifests_devtools_unittest.cc   scoped_refptr<extensions::Extension> extension;
extension          20 chrome/common/extensions/manifest_tests/extension_manifests_devtools_unittest.cc   extension = LoadAndExpectSuccess("devtools_extension.json");
extension          21 chrome/common/extensions/manifest_tests/extension_manifests_devtools_unittest.cc   EXPECT_EQ(extension->url().spec() + "devtools.html",
extension          22 chrome/common/extensions/manifest_tests/extension_manifests_devtools_unittest.cc             extensions::ManifestURL::GetDevToolsPage(extension.get()).spec());
extension          24 chrome/common/extensions/manifest_tests/extension_manifests_devtools_unittest.cc       extension.get()));
extension          10 chrome/common/extensions/manifest_tests/extension_manifests_dummy_unittest.cc   scoped_refptr<Extension> extension =
extension          12 chrome/common/extensions/manifest_tests/extension_manifests_dummy_unittest.cc   EXPECT_EQ(0u, extension->install_warnings().size());
extension          16 chrome/common/extensions/manifest_tests/extension_manifests_dummy_unittest.cc   scoped_refptr<Extension> extension =
extension          18 chrome/common/extensions/manifest_tests/extension_manifests_homepage_unittest.cc   scoped_refptr<extensions::Extension> extension(
extension          34 chrome/common/extensions/manifest_tests/extension_manifests_homepage_unittest.cc   scoped_refptr<extensions::Extension> extension(
extension          37 chrome/common/extensions/manifest_tests/extension_manifests_homepage_unittest.cc             extensions::ManifestURL::GetHomepageURL(extension.get()));
extension          41 chrome/common/extensions/manifest_tests/extension_manifests_homepage_unittest.cc   extension = LoadAndExpectSuccess("homepage_google_hosted.json");
extension          43 chrome/common/extensions/manifest_tests/extension_manifests_homepage_unittest.cc       extensions::ManifestURL::GetHomepageURL(extension.get()).spec(),
extension          47 chrome/common/extensions/manifest_tests/extension_manifests_homepage_unittest.cc   extension = LoadAndExpectSuccess("homepage_externally_hosted.json");
extension          48 chrome/common/extensions/manifest_tests/extension_manifests_homepage_unittest.cc   EXPECT_EQ(GURL(), extensions::ManifestURL::GetHomepageURL(extension.get()));
extension          19 chrome/common/extensions/manifest_tests/extension_manifests_icons_unittest.cc   scoped_refptr<extensions::Extension> extension(
extension          21 chrome/common/extensions/manifest_tests/extension_manifests_icons_unittest.cc   const ExtensionIconSet& icons = IconsInfo::GetIcons(extension.get());
extension          30 chrome/common/extensions/manifest_tests/extension_manifests_icons_unittest.cc   scoped_refptr<extensions::Extension> extension(
extension          33 chrome/common/extensions/manifest_tests/extension_manifests_icons_unittest.cc             IconsInfo::GetIcons(extension.get())
extension          38 chrome/common/extensions/manifest_tests/extension_manifests_icons_unittest.cc   scoped_refptr<extensions::Extension> extension(
extension          40 chrome/common/extensions/manifest_tests/extension_manifests_icons_unittest.cc   const ExtensionIconSet& icons = IconsInfo::GetIcons(extension.get());
extension          85 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc   scoped_refptr<Extension> extension(LoadAndExpectSuccess(
extension          92 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc   EXPECT_TRUE(Extension::IdIsValid(extension->id()));
extension          93 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc   EXPECT_EQ("1.0.0.0", extension->VersionString());
extension          94 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc   EXPECT_EQ("my extension", extension->name());
extension          95 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc   EXPECT_EQ(extension->name(), extension->short_name());
extension          96 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc   EXPECT_EQ(extension->id(), extension->url().host());
extension          97 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc   EXPECT_EQ(extension->path(), path);
extension          98 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc   EXPECT_EQ(path, extension->path());
extension         106 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc   extension = LoadAndExpectSuccess("init_valid_options.json");
extension         108 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc             ManifestURL::GetOptionsPage(extension.get()).scheme());
extension         110 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc             ManifestURL::GetOptionsPage(extension.get()).path());
extension         113 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc   extension = LoadAndExpectSuccess("init_valid_short_name.json");
extension         114 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc   EXPECT_EQ("a very descriptive extension name", extension->name());
extension         115 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc   EXPECT_EQ("concise name", extension->short_name());
extension         153 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc   scoped_refptr<Extension> extension(LoadAndExpectSuccess(
extension         158 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc   EXPECT_EQ(localized_name, base::UTF8ToUTF16(extension->name()));
extension         161 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc   extension = LoadAndExpectSuccess("init_valid_name_strong_rtl.json");
extension         165 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc   EXPECT_EQ(localized_name, base::UTF8ToUTF16(extension->name()));
extension          22 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   scoped_refptr<Extension> extension(
extension          24 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   EXPECT_FALSE(KioskModeInfo::IsKioskEnabled(extension.get()));
extension          28 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   scoped_refptr<Extension> extension(
extension          30 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   EXPECT_FALSE(KioskModeInfo::IsKioskEnabled(extension.get()));
extension          34 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   scoped_refptr<Extension> extension(
extension          36 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   EXPECT_FALSE(KioskModeInfo::IsKioskEnabled(extension.get()));
extension          40 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   scoped_refptr<Extension> extension(
extension          42 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   EXPECT_TRUE(KioskModeInfo::IsKioskEnabled(extension.get()));
extension          46 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   scoped_refptr<Extension> extension(
extension          48 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   EXPECT_FALSE(KioskModeInfo::IsKioskEnabled(extension.get()));
extension          52 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   scoped_refptr<Extension> extension(
extension          54 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   EXPECT_FALSE(KioskModeInfo::IsKioskEnabled(extension.get()));
extension          55 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   EXPECT_FALSE(KioskModeInfo::IsKioskOnly(extension.get()));
extension          59 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   scoped_refptr<Extension> extension(
extension          61 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   EXPECT_TRUE(KioskModeInfo::IsKioskEnabled(extension.get()));
extension          62 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   EXPECT_FALSE(KioskModeInfo::IsKioskOnly(extension.get()));
extension          66 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   scoped_refptr<Extension> extension(
extension          68 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   EXPECT_TRUE(KioskModeInfo::IsKioskOnly(extension.get()));
extension          82 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   scoped_refptr<Extension> extension(
extension          84 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   EXPECT_FALSE(KioskModeInfo::IsKioskOnly(extension.get()));
extension          88 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   scoped_refptr<Extension> extension(
extension          90 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   EXPECT_FALSE(KioskModeInfo::IsKioskOnly(extension.get()));
extension          94 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   scoped_refptr<Extension> extension(
extension          96 chrome/common/extensions/manifest_tests/extension_manifests_kiosk_unittest.cc   EXPECT_FALSE(KioskModeInfo::IsKioskOnly(extension.get()));
extension          23 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc   scoped_refptr<Extension> extension;
extension          25 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc   extension = LoadAndExpectSuccess("launch_tab.json");
extension          27 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc             AppLaunchInfo::GetLaunchContainer(extension.get()));
extension          29 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc   extension = LoadAndExpectSuccess("launch_panel.json");
extension          31 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc             AppLaunchInfo::GetLaunchContainer(extension.get()));
extension          33 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc   extension = LoadAndExpectSuccess("launch_default.json");
extension          35 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc             AppLaunchInfo::GetLaunchContainer(extension.get()));
extension          37 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc   extension = LoadAndExpectSuccess("launch_width.json");
extension          38 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc   EXPECT_EQ(640, AppLaunchInfo::GetLaunchWidth(extension.get()));
extension          40 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc   extension = LoadAndExpectSuccess("launch_height.json");
extension          41 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc   EXPECT_EQ(480, AppLaunchInfo::GetLaunchHeight(extension.get()));
extension         110 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc   scoped_refptr<Extension> extension;
extension         111 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc   extension = LoadAndExpectSuccess("launch_local_path.json");
extension         112 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc   EXPECT_EQ(extension->url().spec() + "launch.html",
extension         113 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc             AppLaunchInfo::GetFullLaunchURL(extension.get()).spec());
extension         115 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc   extension = LoadAndExpectSuccess("launch_local_path_localized.json");
extension         116 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc   EXPECT_EQ(extension->url().spec() + "launch.html",
extension         117 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc             AppLaunchInfo::GetFullLaunchURL(extension.get()).spec());
extension         124 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc   extension = LoadAndExpectSuccess("launch_web_url_absolute.json");
extension         126 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc             AppLaunchInfo::GetFullLaunchURL(extension.get()));
extension         127 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc   extension = LoadAndExpectSuccess("launch_web_url_localized.json");
extension         129 chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc             AppLaunchInfo::GetFullLaunchURL(extension.get()));
extension          13 chrome/common/extensions/manifest_tests/extension_manifests_old_unittest.cc   scoped_refptr<extensions::Extension> extension = LoadAndExpectSuccess(
extension          16 chrome/common/extensions/manifest_tests/extension_manifests_old_unittest.cc   EXPECT_TRUE(extension->HasAPIPermission(
extension          16 chrome/common/extensions/manifest_tests/extension_manifests_options_unittest.cc   scoped_refptr<extensions::Extension> extension;
extension          19 chrome/common/extensions/manifest_tests/extension_manifests_options_unittest.cc   extension = LoadAndExpectSuccess("hosted_app_absolute_options.json");
extension          21 chrome/common/extensions/manifest_tests/extension_manifests_options_unittest.cc                extensions::ManifestURL::GetOptionsPage(extension.get())
extension          25 chrome/common/extensions/manifest_tests/extension_manifests_options_unittest.cc       extensions::ManifestURL::GetOptionsPage(extension.get()).host().c_str());
extension          27 chrome/common/extensions/manifest_tests/extension_manifests_options_unittest.cc                extensions::ManifestURL::GetOptionsPage(extension.get())
extension          30 chrome/common/extensions/manifest_tests/extension_manifests_options_unittest.cc   extension = LoadAndExpectSuccess("platform_app_with_options_page.json");
extension          31 chrome/common/extensions/manifest_tests/extension_manifests_options_unittest.cc   EXPECT_TRUE(extensions::ManifestURL::GetOptionsPage(extension.get())
extension          23 chrome/common/extensions/manifest_tests/extension_manifests_override_unittest.cc   scoped_refptr<extensions::Extension> extension;
extension          25 chrome/common/extensions/manifest_tests/extension_manifests_override_unittest.cc   extension = LoadAndExpectSuccess("override_new_tab.json");
extension          26 chrome/common/extensions/manifest_tests/extension_manifests_override_unittest.cc   EXPECT_EQ(extension->url().spec() + "newtab.html",
extension          27 chrome/common/extensions/manifest_tests/extension_manifests_override_unittest.cc             extensions::URLOverrides::GetChromeURLOverrides(extension.get())
extension          30 chrome/common/extensions/manifest_tests/extension_manifests_override_unittest.cc   extension = LoadAndExpectSuccess("override_history.json");
extension          31 chrome/common/extensions/manifest_tests/extension_manifests_override_unittest.cc   EXPECT_EQ(extension->url().spec() + "history.html",
extension          32 chrome/common/extensions/manifest_tests/extension_manifests_override_unittest.cc             extensions::URLOverrides::GetChromeURLOverrides(extension.get())
extension          25 chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc   scoped_refptr<Extension> extension =
extension          27 chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc   EXPECT_TRUE(AppIsolationInfo::HasIsolatedStorage(extension.get()));
extension          28 chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc   EXPECT_FALSE(IncognitoInfo::IsSplitMode(extension.get()));
extension          30 chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc   extension =
extension          32 chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc   EXPECT_EQ(2, extension->manifest_version());
extension          34 chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc   extension = LoadAndExpectSuccess("incognito_valid_platform_app.json");
extension          35 chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc   EXPECT_FALSE(IncognitoInfo::IsSplitMode(extension.get()));
extension          87 chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc   scoped_refptr<Extension> extension =
extension          89 chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc   EXPECT_EQ(0U, extension->install_warnings().size())
extension          90 chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc       << "Unexpected warning " << extension->install_warnings()[0].message;
extension          91 chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc   EXPECT_TRUE(extension->is_platform_app());
extension          93 chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc             CSPInfo::GetResourceContentSecurityPolicy(extension.get(),
extension          51 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   scoped_refptr<Extension> extension(LoadAndExpectSuccess(
extension          53 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   ASSERT_TRUE(extension.get());
extension          54 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   EXPECT_EQ(RequirementsInfo::GetRequirements(extension.get()).webgl, false);
extension          55 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   EXPECT_EQ(RequirementsInfo::GetRequirements(extension.get()).css3d, false);
extension          56 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   EXPECT_EQ(RequirementsInfo::GetRequirements(extension.get()).npapi, false);
extension          59 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   extension = LoadAndExpectSuccess("requirements_valid_full.json");
extension          60 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   ASSERT_TRUE(extension.get());
extension          61 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   EXPECT_EQ(RequirementsInfo::GetRequirements(extension.get()).webgl, true);
extension          62 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   EXPECT_EQ(RequirementsInfo::GetRequirements(extension.get()).css3d, true);
extension          63 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   EXPECT_EQ(RequirementsInfo::GetRequirements(extension.get()).npapi, true);
extension          69 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   scoped_refptr<Extension> extension(LoadAndExpectSuccess(
extension          71 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   ASSERT_TRUE(extension.get());
extension          72 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   EXPECT_EQ(RequirementsInfo::GetRequirements(extension.get()).webgl, false);
extension          73 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   EXPECT_EQ(RequirementsInfo::GetRequirements(extension.get()).css3d, false);
extension          74 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   EXPECT_EQ(RequirementsInfo::GetRequirements(extension.get()).npapi, true);
extension          76 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   extension = LoadAndExpectSuccess(
extension          78 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   ASSERT_TRUE(extension.get());
extension          79 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   EXPECT_EQ(RequirementsInfo::GetRequirements(extension.get()).webgl, false);
extension          80 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   EXPECT_EQ(RequirementsInfo::GetRequirements(extension.get()).css3d, false);
extension          81 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   EXPECT_EQ(RequirementsInfo::GetRequirements(extension.get()).npapi, false);
extension          83 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   extension = LoadAndExpectSuccess("requirements_npapi.json");
extension          84 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   ASSERT_TRUE(extension.get());
extension          85 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   EXPECT_EQ(RequirementsInfo::GetRequirements(extension.get()).webgl, false);
extension          86 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   EXPECT_EQ(RequirementsInfo::GetRequirements(extension.get()).css3d, false);
extension          87 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   EXPECT_EQ(RequirementsInfo::GetRequirements(extension.get()).npapi, false);
extension          89 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   extension = LoadAndExpectSuccess("requirements_npapi_plugins_empty.json");
extension          90 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   ASSERT_TRUE(extension.get());
extension          91 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   EXPECT_EQ(RequirementsInfo::GetRequirements(extension.get()).webgl, false);
extension          92 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   EXPECT_EQ(RequirementsInfo::GetRequirements(extension.get()).css3d, false);
extension          93 chrome/common/extensions/manifest_tests/extension_manifests_requirements_unittest.cc   EXPECT_EQ(RequirementsInfo::GetRequirements(extension.get()).npapi, true);
extension          88 chrome/common/extensions/manifest_tests/extension_manifests_service_worker_unittest.cc   scoped_refptr<Extension> extension(LoadFromStringAndExpectSuccess(
extension          99 chrome/common/extensions/manifest_tests/extension_manifests_service_worker_unittest.cc   ASSERT_TRUE(extension.get());
extension         101 chrome/common/extensions/manifest_tests/extension_manifests_service_worker_unittest.cc   EXPECT_TRUE(extension->manifest()->HasPath("app.service_worker"));
extension         103 chrome/common/extensions/manifest_tests/extension_manifests_service_worker_unittest.cc             BackgroundInfo::GetServiceWorkerScript(extension.get()));
extension         105 chrome/common/extensions/manifest_tests/extension_manifests_service_worker_unittest.cc   EXPECT_TRUE(BackgroundInfo::HasServiceWorker(extension.get()));
extension          48 chrome/common/extensions/manifest_tests/extension_manifests_storage_unittest.cc     scoped_refptr<extensions::Extension> extension =
extension          50 chrome/common/extensions/manifest_tests/extension_manifests_storage_unittest.cc     EXPECT_TRUE(extension->install_warnings().empty());
extension          14 chrome/common/extensions/manifest_tests/extension_manifests_validapp_unittest.cc   scoped_refptr<extensions::Extension> extension(
extension          19 chrome/common/extensions/manifest_tests/extension_manifests_validapp_unittest.cc   EXPECT_EQ(expected_patterns, extension->web_extent());
extension          21 chrome/common/extensions/manifest_tests/extension_manifests_validapp_unittest.cc             extensions::AppLaunchInfo::GetLaunchContainer(extension.get()));
extension          23 chrome/common/extensions/manifest_tests/extension_manifests_validapp_unittest.cc             extensions::AppLaunchInfo::GetLaunchWebURL(extension.get()));
extension          53 chrome/common/extensions/manifest_tests/extension_manifests_web_unittest.cc   scoped_refptr<Extension> extension(
extension          55 chrome/common/extensions/manifest_tests/extension_manifests_web_unittest.cc   ASSERT_EQ(1u, extension->web_extent().patterns().size());
extension          57 chrome/common/extensions/manifest_tests/extension_manifests_web_unittest.cc             extension->web_extent().patterns().begin()->GetAsString());
extension          40 chrome/common/extensions/manifest_url_handler.cc const GURL& GetManifestURL(const Extension* extension,
extension          43 chrome/common/extensions/manifest_url_handler.cc       static_cast<ManifestURL*>(extension->GetManifestData(key));
extension          50 chrome/common/extensions/manifest_url_handler.cc const GURL& ManifestURL::GetDevToolsPage(const Extension* extension) {
extension          51 chrome/common/extensions/manifest_url_handler.cc   return GetManifestURL(extension, keys::kDevToolsPage);
extension          55 chrome/common/extensions/manifest_url_handler.cc const GURL ManifestURL::GetHomepageURL(const Extension* extension) {
extension          56 chrome/common/extensions/manifest_url_handler.cc   const GURL& homepage_url = GetManifestURL(extension, keys::kHomepageURL);
extension          59 chrome/common/extensions/manifest_url_handler.cc   return UpdatesFromGallery(extension) ?
extension          60 chrome/common/extensions/manifest_url_handler.cc       GURL(extension_urls::GetWebstoreItemDetailURLPrefix() + extension->id()) :
extension          65 chrome/common/extensions/manifest_url_handler.cc const GURL& ManifestURL::GetUpdateURL(const Extension* extension) {
extension          66 chrome/common/extensions/manifest_url_handler.cc   return GetManifestURL(extension, keys::kUpdateURL);
extension          70 chrome/common/extensions/manifest_url_handler.cc bool ManifestURL::UpdatesFromGallery(const Extension* extension) {
extension          71 chrome/common/extensions/manifest_url_handler.cc   return extension_urls::IsWebstoreUpdateUrl(GetUpdateURL(extension));
extension          83 chrome/common/extensions/manifest_url_handler.cc const GURL& ManifestURL::GetOptionsPage(const Extension* extension) {
extension          84 chrome/common/extensions/manifest_url_handler.cc   return GetManifestURL(extension, keys::kOptionsPage);
extension          88 chrome/common/extensions/manifest_url_handler.cc const GURL ManifestURL::GetDetailsURL(const Extension* extension) {
extension          89 chrome/common/extensions/manifest_url_handler.cc   return extension->from_webstore() ?
extension          90 chrome/common/extensions/manifest_url_handler.cc       GURL(extension_urls::GetWebstoreItemDetailURLPrefix() + extension->id()) :
extension         105 chrome/common/extensions/manifest_url_handler.cc     URLOverrides::GetChromeURLOverrides(const Extension* extension) {
extension         107 chrome/common/extensions/manifest_url_handler.cc       extension->GetManifestData(keys::kChromeURLOverrides));
extension         119 chrome/common/extensions/manifest_url_handler.cc bool DevToolsPageHandler::Parse(Extension* extension, base::string16* error) {
extension         122 chrome/common/extensions/manifest_url_handler.cc   if (!extension->manifest()->GetString(keys::kDevToolsPage, &devtools_str)) {
extension         126 chrome/common/extensions/manifest_url_handler.cc   manifest_url->url_ = extension->GetResourceURL(devtools_str);
extension         127 chrome/common/extensions/manifest_url_handler.cc   extension->SetManifestData(keys::kDevToolsPage, manifest_url.release());
extension         128 chrome/common/extensions/manifest_url_handler.cc   PermissionsData::GetInitialAPIPermissions(extension)->insert(
extension         143 chrome/common/extensions/manifest_url_handler.cc bool HomepageURLHandler::Parse(Extension* extension, base::string16* error) {
extension         146 chrome/common/extensions/manifest_url_handler.cc   if (!extension->manifest()->GetString(keys::kHomepageURL,
extension         159 chrome/common/extensions/manifest_url_handler.cc   extension->SetManifestData(keys::kHomepageURL, manifest_url.release());
extension         173 chrome/common/extensions/manifest_url_handler.cc bool UpdateURLHandler::Parse(Extension* extension, base::string16* error) {
extension         177 chrome/common/extensions/manifest_url_handler.cc   if (!extension->manifest()->GetString(keys::kUpdateURL, &tmp_update_url)) {
extension         191 chrome/common/extensions/manifest_url_handler.cc   extension->SetManifestData(keys::kUpdateURL, manifest_url.release());
extension         205 chrome/common/extensions/manifest_url_handler.cc bool OptionsPageHandler::Parse(Extension* extension, base::string16* error) {
extension         208 chrome/common/extensions/manifest_url_handler.cc   if (!extension->manifest()->GetString(keys::kOptionsPage, &options_str)) {
extension         213 chrome/common/extensions/manifest_url_handler.cc   if (extension->is_hosted_app()) {
extension         229 chrome/common/extensions/manifest_url_handler.cc     manifest_url->url_ = extension->GetResourceURL(options_str);
extension         236 chrome/common/extensions/manifest_url_handler.cc   extension->SetManifestData(keys::kOptionsPage, manifest_url.release());
extension         240 chrome/common/extensions/manifest_url_handler.cc bool OptionsPageHandler::Validate(const Extension* extension,
extension         245 chrome/common/extensions/manifest_url_handler.cc   if (!extensions::ManifestURL::GetOptionsPage(extension).is_empty() &&
extension         246 chrome/common/extensions/manifest_url_handler.cc       !extension->is_hosted_app()) {
extension         249 chrome/common/extensions/manifest_url_handler.cc             extensions::ManifestURL::GetOptionsPage(extension));
extension         251 chrome/common/extensions/manifest_url_handler.cc         extension->GetResource(options_path).GetFilePath();
extension         273 chrome/common/extensions/manifest_url_handler.cc bool URLOverridesHandler::Parse(Extension* extension, base::string16* error) {
extension         275 chrome/common/extensions/manifest_url_handler.cc   if (!extension->manifest()->GetDictionary(keys::kChromeURLOverrides,
extension         303 chrome/common/extensions/manifest_url_handler.cc     url_overrides->chrome_url_overrides_[page] = extension->GetResourceURL(val);
extension         306 chrome/common/extensions/manifest_url_handler.cc     if (extension->is_legacy_packaged_app() &&
extension         307 chrome/common/extensions/manifest_url_handler.cc         extension->location() == Manifest::COMPONENT) {
extension         316 chrome/common/extensions/manifest_url_handler.cc       extension->AddWebExtentPattern(pattern);
extension         325 chrome/common/extensions/manifest_url_handler.cc   extension->SetManifestData(keys::kChromeURLOverrides,
extension          25 chrome/common/extensions/manifest_url_handler.h   static const GURL& GetDevToolsPage(const Extension* extension);
extension          31 chrome/common/extensions/manifest_url_handler.h   static const GURL GetHomepageURL(const Extension* extension);
extension          34 chrome/common/extensions/manifest_url_handler.h   static const GURL& GetUpdateURL(const Extension* extension);
extension          37 chrome/common/extensions/manifest_url_handler.h   static bool UpdatesFromGallery(const Extension* extension);
extension          41 chrome/common/extensions/manifest_url_handler.h   static const GURL& GetOptionsPage(const Extension* extension);
extension          44 chrome/common/extensions/manifest_url_handler.h   static const GURL GetDetailsURL(const Extension* extension);
extension          57 chrome/common/extensions/manifest_url_handler.h       GetChromeURLOverrides(const Extension* extension);
extension          70 chrome/common/extensions/manifest_url_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          84 chrome/common/extensions/manifest_url_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          98 chrome/common/extensions/manifest_url_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension         112 chrome/common/extensions/manifest_url_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension         113 chrome/common/extensions/manifest_url_handler.h   virtual bool Validate(const Extension* extension,
extension         129 chrome/common/extensions/manifest_url_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          68 chrome/common/extensions/mime_types_handler.cc     const extensions::Extension* extension) {
extension          70 chrome/common/extensions/mime_types_handler.cc       extension->GetManifestData(keys::kMimeTypesHandler));
extension          82 chrome/common/extensions/mime_types_handler.cc bool MimeTypesHandlerParser::Parse(extensions::Extension* extension,
extension          85 chrome/common/extensions/mime_types_handler.cc   if (!extension->manifest()->GetList(keys::kMIMETypes,
extension          92 chrome/common/extensions/mime_types_handler.cc   info->handler_.set_extension_id(extension->id());
extension         102 chrome/common/extensions/mime_types_handler.cc   extension->SetManifestData(keys::kMimeTypesHandler, info.release());
extension          21 chrome/common/extensions/mime_types_handler.h   static MimeTypesHandler* GetHandler(const extensions::Extension* extension);
extension          51 chrome/common/extensions/mime_types_handler.h   virtual bool Parse(extensions::Extension* extension,
extension         126 chrome/common/extensions/permissions/permission_set_unittest.cc   scoped_refptr<Extension> extension;
extension         129 chrome/common/extensions/permissions/permission_set_unittest.cc   extension = LoadManifest("effective_host_permissions", "empty.json");
extension         130 chrome/common/extensions/permissions/permission_set_unittest.cc   permissions = extension->GetActivePermissions();
extension         132 chrome/common/extensions/permissions/permission_set_unittest.cc             PermissionsData::GetEffectiveHostPermissions(extension.get())
extension         138 chrome/common/extensions/permissions/permission_set_unittest.cc   extension = LoadManifest("effective_host_permissions", "one_host.json");
extension         139 chrome/common/extensions/permissions/permission_set_unittest.cc   permissions = extension->GetActivePermissions();
extension         146 chrome/common/extensions/permissions/permission_set_unittest.cc   extension = LoadManifest("effective_host_permissions",
extension         148 chrome/common/extensions/permissions/permission_set_unittest.cc   permissions = extension->GetActivePermissions();
extension         154 chrome/common/extensions/permissions/permission_set_unittest.cc   extension = LoadManifest("effective_host_permissions", "two_hosts.json");
extension         155 chrome/common/extensions/permissions/permission_set_unittest.cc   permissions = extension->GetActivePermissions();
extension         162 chrome/common/extensions/permissions/permission_set_unittest.cc   extension = LoadManifest("effective_host_permissions",
extension         164 chrome/common/extensions/permissions/permission_set_unittest.cc   permissions = extension->GetActivePermissions();
extension         169 chrome/common/extensions/permissions/permission_set_unittest.cc   extension = LoadManifest("effective_host_permissions",
extension         171 chrome/common/extensions/permissions/permission_set_unittest.cc   permissions = extension->GetActivePermissions();
extension         179 chrome/common/extensions/permissions/permission_set_unittest.cc   extension = LoadManifest("effective_host_permissions", "all_hosts.json");
extension         180 chrome/common/extensions/permissions/permission_set_unittest.cc   permissions = extension->GetActivePermissions();
extension         187 chrome/common/extensions/permissions/permission_set_unittest.cc   extension = LoadManifest("effective_host_permissions", "all_hosts2.json");
extension         188 chrome/common/extensions/permissions/permission_set_unittest.cc   permissions = extension->GetActivePermissions();
extension         194 chrome/common/extensions/permissions/permission_set_unittest.cc   extension = LoadManifest("effective_host_permissions", "all_hosts3.json");
extension         195 chrome/common/extensions/permissions/permission_set_unittest.cc   permissions = extension->GetActivePermissions();
extension         854 chrome/common/extensions/permissions/permission_set_unittest.cc   scoped_refptr<Extension> extension;
extension         856 chrome/common/extensions/permissions/permission_set_unittest.cc   extension = LoadManifest("permissions", "many-hosts.json");
extension         858 chrome/common/extensions/permissions/permission_set_unittest.cc       PermissionsData::GetPermissionMessageStrings(extension.get());
extension         865 chrome/common/extensions/permissions/permission_set_unittest.cc   scoped_refptr<Extension> extension;
extension         868 chrome/common/extensions/permissions/permission_set_unittest.cc   extension = LoadManifest("permissions", "plugins.json");
extension         870 chrome/common/extensions/permissions/permission_set_unittest.cc       PermissionsData::GetPermissionMessageStrings(extension.get());
extension         884 chrome/common/extensions/permissions/permission_set_unittest.cc   scoped_refptr<Extension> extension =
extension         889 chrome/common/extensions/permissions/permission_set_unittest.cc           extension->GetActivePermissions().get());
extension         891 chrome/common/extensions/permissions/permission_set_unittest.cc       provider->GetWarningMessages(set, extension->GetType());
extension         900 chrome/common/extensions/permissions/permission_set_unittest.cc   warnings = provider->GetWarningMessages(set, extension->GetType());
extension         909 chrome/common/extensions/permissions/permission_set_unittest.cc   warnings = provider->GetWarningMessages(set, extension->GetType());
extension         928 chrome/common/extensions/permissions/permission_set_unittest.cc   scoped_refptr<Extension> extension =
extension         931 chrome/common/extensions/permissions/permission_set_unittest.cc   const PermissionSet* set = extension->GetActivePermissions().get();
extension         933 chrome/common/extensions/permissions/permission_set_unittest.cc       provider->GetWarningMessages(set, extension->GetType());
extension         939 chrome/common/extensions/permissions/permission_set_unittest.cc   extension =
extension         941 chrome/common/extensions/permissions/permission_set_unittest.cc   set = extension->GetActivePermissions().get();
extension         942 chrome/common/extensions/permissions/permission_set_unittest.cc   warnings = provider->GetWarningMessages(set, extension->GetType());
extension         948 chrome/common/extensions/permissions/permission_set_unittest.cc   scoped_refptr<Extension> extension =
extension         951 chrome/common/extensions/permissions/permission_set_unittest.cc   EXPECT_TRUE(extension->is_platform_app());
extension         952 chrome/common/extensions/permissions/permission_set_unittest.cc   EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kSerial));
extension         954 chrome/common/extensions/permissions/permission_set_unittest.cc       PermissionsData::GetPermissionMessageStrings(extension.get());
extension         963 chrome/common/extensions/permissions/permission_set_unittest.cc   scoped_refptr<Extension> extension =
extension         965 chrome/common/extensions/permissions/permission_set_unittest.cc   EXPECT_TRUE(extension->is_platform_app());
extension         966 chrome/common/extensions/permissions/permission_set_unittest.cc   EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kSocket));
extension         968 chrome/common/extensions/permissions/permission_set_unittest.cc       PermissionsData::GetPermissionMessageStrings(extension.get());
extension         977 chrome/common/extensions/permissions/permission_set_unittest.cc   scoped_refptr<Extension> extension =
extension         979 chrome/common/extensions/permissions/permission_set_unittest.cc   EXPECT_TRUE(extension->is_platform_app());
extension         980 chrome/common/extensions/permissions/permission_set_unittest.cc   EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kSocket));
extension         982 chrome/common/extensions/permissions/permission_set_unittest.cc       PermissionsData::GetPermissionMessageStrings(extension.get());
extension        1003 chrome/common/extensions/permissions/permission_set_unittest.cc   scoped_refptr<Extension> extension =
extension        1005 chrome/common/extensions/permissions/permission_set_unittest.cc   EXPECT_TRUE(extension->is_platform_app());
extension        1006 chrome/common/extensions/permissions/permission_set_unittest.cc   EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kSocket));
extension        1008 chrome/common/extensions/permissions/permission_set_unittest.cc       PermissionsData::GetPermissionMessageStrings(extension.get());
extension        1025 chrome/common/extensions/permissions/permission_set_unittest.cc   scoped_refptr<Extension> extension;
extension        1027 chrome/common/extensions/permissions/permission_set_unittest.cc   extension = LoadManifest("permissions", "platform_app_hosts.json");
extension        1028 chrome/common/extensions/permissions/permission_set_unittest.cc   EXPECT_TRUE(extension->is_platform_app());
extension        1030 chrome/common/extensions/permissions/permission_set_unittest.cc       PermissionsData::GetPermissionMessageStrings(extension.get());
extension        1033 chrome/common/extensions/permissions/permission_set_unittest.cc   extension = LoadManifest("permissions", "platform_app_all_urls.json");
extension        1034 chrome/common/extensions/permissions/permission_set_unittest.cc   EXPECT_TRUE(extension->is_platform_app());
extension        1035 chrome/common/extensions/permissions/permission_set_unittest.cc   warnings = PermissionsData::GetPermissionMessageStrings(extension.get());
extension        1428 chrome/common/extensions/permissions/permission_set_unittest.cc   scoped_refptr<Extension> extension = LoadManifest(
extension        1432 chrome/common/extensions/permissions/permission_set_unittest.cc   EXPECT_TRUE(extension->is_platform_app());
extension        1433 chrome/common/extensions/permissions/permission_set_unittest.cc   EXPECT_TRUE(extension->HasAPIPermission(APIPermission::kSyncFileSystem));
extension        1435 chrome/common/extensions/permissions/permission_set_unittest.cc       PermissionsData::GetPermissionMessageStrings(extension.get());
extension        1460 chrome/common/extensions/permissions/permission_set_unittest.cc   scoped_refptr<Extension> extension(
extension        1463 chrome/common/extensions/permissions/permission_set_unittest.cc       extension->GetActivePermissions());
extension        1473 chrome/common/extensions/permissions/permission_set_unittest.cc                                        extension->GetType()));
extension          65 chrome/common/extensions/permissions/settings_override_permission_unittest.cc   scoped_refptr<Extension> extension(GetPermissionSet(kHomepage));
extension          67 chrome/common/extensions/permissions/settings_override_permission_unittest.cc       extension->GetActivePermissions());
extension          72 chrome/common/extensions/permissions/settings_override_permission_unittest.cc       PermissionsData::GetPermissionMessageStrings(extension.get());
extension          89 chrome/common/extensions/permissions/settings_override_permission_unittest.cc   scoped_refptr<Extension> extension(GetPermissionSet(kStartupPages));
extension          91 chrome/common/extensions/permissions/settings_override_permission_unittest.cc       extension->GetActivePermissions());
extension          96 chrome/common/extensions/permissions/settings_override_permission_unittest.cc       PermissionsData::GetPermissionMessageStrings(extension.get());
extension         113 chrome/common/extensions/permissions/settings_override_permission_unittest.cc   scoped_refptr<Extension> extension(GetPermissionSet(kSearchProvider));
extension         115 chrome/common/extensions/permissions/settings_override_permission_unittest.cc       extension->GetActivePermissions());
extension         120 chrome/common/extensions/permissions/settings_override_permission_unittest.cc       PermissionsData::GetPermissionMessageStrings(extension.get());
extension         136 chrome/common/extensions/permissions/settings_override_permission_unittest.cc   scoped_refptr<Extension> extension(GetPermissionSet(
extension         139 chrome/common/extensions/permissions/settings_override_permission_unittest.cc       extension->GetActivePermissions());
extension         154 chrome/common/extensions/permissions/settings_override_permission_unittest.cc   scoped_refptr<Extension> extension(GetPermissionSet(
extension         157 chrome/common/extensions/permissions/settings_override_permission_unittest.cc       extension->GetActivePermissions());
extension          25 chrome/common/extensions/sync_helper.cc SyncType GetSyncType(const Extension* extension) {
extension          26 chrome/common/extensions/sync_helper.cc   if (!IsSyncable(extension)) {
extension          35 chrome/common/extensions/sync_helper.cc   if (!ManifestURL::GetUpdateURL(extension).is_empty() &&
extension          36 chrome/common/extensions/sync_helper.cc       !ManifestURL::UpdatesFromGallery(extension)) {
extension          44 chrome/common/extensions/sync_helper.cc   if (PluginInfo::HasPlugins(extension) ||
extension          45 chrome/common/extensions/sync_helper.cc       extension->HasAPIPermission(APIPermission::kPlugin)) {
extension          49 chrome/common/extensions/sync_helper.cc   switch (extension->GetType()) {
extension          55 chrome/common/extensions/sync_helper.cc       if (ManifestURL::UpdatesFromGallery(extension))
extension          77 chrome/common/extensions/sync_helper.cc bool IsSyncable(const Extension* extension) {
extension          84 chrome/common/extensions/sync_helper.cc   bool is_syncable = (extension->location() == Manifest::INTERNAL &&
extension          85 chrome/common/extensions/sync_helper.cc                       !extension->was_installed_by_default() &&
extension          86 chrome/common/extensions/sync_helper.cc                       !extension->is_ephemeral());
extension          88 chrome/common/extensions/sync_helper.cc   is_syncable |= (extension->id() == extension_misc::kWebStoreAppId);
extension          90 chrome/common/extensions/sync_helper.cc   is_syncable |= (extension->id() == extension_misc::kChromeAppId);
extension          94 chrome/common/extensions/sync_helper.cc bool IsSyncableExtension(const Extension* extension) {
extension          95 chrome/common/extensions/sync_helper.cc   return GetSyncType(extension) == SYNC_TYPE_EXTENSION;
extension          98 chrome/common/extensions/sync_helper.cc bool IsSyncableApp(const Extension* extension) {
extension          99 chrome/common/extensions/sync_helper.cc   return GetSyncType(extension) == SYNC_TYPE_APP;
extension          15 chrome/common/extensions/sync_helper.h bool IsSyncable(const Extension* extension);
extension          18 chrome/common/extensions/sync_helper.h bool IsSyncableExtension(const Extension* extension);
extension          19 chrome/common/extensions/sync_helper.h bool IsSyncableApp(const Extension* extension);
extension          71 chrome/common/extensions/sync_type_unittest.cc     scoped_refptr<Extension> extension = Extension::Create(
extension          74 chrome/common/extensions/sync_type_unittest.cc       EXPECT_TRUE(extension.get());
extension          76 chrome/common/extensions/sync_type_unittest.cc       EXPECT_FALSE(extension.get());
extension          78 chrome/common/extensions/sync_type_unittest.cc     return extension;
extension         103 chrome/common/extensions/sync_type_unittest.cc   scoped_refptr<Extension> extension(
extension         107 chrome/common/extensions/sync_type_unittest.cc   EXPECT_TRUE(sync_helper::IsSyncableExtension(extension.get()));
extension         111 chrome/common/extensions/sync_type_unittest.cc   scoped_refptr<Extension> extension(
extension         115 chrome/common/extensions/sync_type_unittest.cc   EXPECT_TRUE(sync_helper::IsSyncableExtension(extension.get()));
extension         119 chrome/common/extensions/sync_type_unittest.cc   scoped_refptr<Extension> extension(
extension         123 chrome/common/extensions/sync_type_unittest.cc   EXPECT_FALSE(sync_helper::IsSyncableExtension(extension.get()));
extension         127 chrome/common/extensions/sync_type_unittest.cc   scoped_refptr<Extension> extension(
extension         131 chrome/common/extensions/sync_type_unittest.cc   EXPECT_FALSE(sync_helper::IsSyncableExtension(extension.get()));
extension         132 chrome/common/extensions/sync_type_unittest.cc   EXPECT_FALSE(sync_helper::IsSyncableApp(extension.get()));
extension         136 chrome/common/extensions/sync_type_unittest.cc   scoped_refptr<Extension> extension(
extension         140 chrome/common/extensions/sync_type_unittest.cc   EXPECT_TRUE(sync_helper::IsSyncableApp(extension.get()));
extension         144 chrome/common/extensions/sync_type_unittest.cc   scoped_refptr<Extension> extension(
extension         148 chrome/common/extensions/sync_type_unittest.cc   EXPECT_FALSE(sync_helper::IsSyncableExtension(extension.get()));
extension         152 chrome/common/extensions/sync_type_unittest.cc   scoped_refptr<Extension> extension(
extension         156 chrome/common/extensions/sync_type_unittest.cc   EXPECT_FALSE(sync_helper::IsSyncableExtension(extension.get()));
extension         160 chrome/common/extensions/sync_type_unittest.cc   scoped_refptr<Extension> extension(
extension         165 chrome/common/extensions/sync_type_unittest.cc   EXPECT_FALSE(extension->ShouldDisplayInAppLauncher());
extension         166 chrome/common/extensions/sync_type_unittest.cc   EXPECT_FALSE(extension->ShouldDisplayInNewTabPage());
extension         251 chrome/common/extensions/sync_type_unittest.cc   scoped_refptr<Extension> extension(
extension         256 chrome/common/extensions/sync_type_unittest.cc   if (extension.get())
extension         257 chrome/common/extensions/sync_type_unittest.cc     EXPECT_TRUE(sync_helper::IsSyncableExtension(extension.get()));
extension         261 chrome/common/extensions/sync_type_unittest.cc   scoped_refptr<Extension> extension(
extension         266 chrome/common/extensions/sync_type_unittest.cc   if (extension.get())
extension         267 chrome/common/extensions/sync_type_unittest.cc     EXPECT_FALSE(sync_helper::IsSyncableExtension(extension.get()));
extension         271 chrome/common/extensions/sync_type_unittest.cc   scoped_refptr<Extension> extension(
extension         276 chrome/common/extensions/sync_type_unittest.cc   if (extension.get())
extension         277 chrome/common/extensions/sync_type_unittest.cc     EXPECT_FALSE(sync_helper::IsSyncableExtension(extension.get()));
extension         282 chrome/common/extensions/sync_type_unittest.cc   scoped_refptr<Extension> extension(
extension          65 chrome/common/net/x509_certificate_model_nss.cc     CERTCertExtension* extension) {
extension          67 chrome/common/net/x509_certificate_model_nss.cc       extension->critical.data && extension->critical.data[0] ?
extension          70 chrome/common/net/x509_certificate_model_nss.cc       psm::ProcessExtensionData(SECOID_FindOIDTag(&extension->id),
extension          71 chrome/common/net/x509_certificate_model_nss.cc                                 &extension->value);
extension         291 chrome/common/net/x509_certificate_model_nss.cc       Extension extension;
extension         292 chrome/common/net/x509_certificate_model_nss.cc       extension.name = psm::GetOIDText(&cert_handle->extensions[i]->id);
extension         293 chrome/common/net/x509_certificate_model_nss.cc       extension.value = ProcessExtension(
extension         295 chrome/common/net/x509_certificate_model_nss.cc       extensions->push_back(extension);
extension          50 chrome/common/pepper_permission_util.cc   const Extension* extension = extension_set ? extension_set->GetByID(host)
extension          52 chrome/common/pepper_permission_util.cc   if (extension) {
extension          56 chrome/common/pepper_permission_util.cc         extensions::SharedModuleInfo::GetImports(extension);
extension          90 chrome/common/pepper_permission_util.cc     const Extension* extension = extension_set->GetByID(host);
extension          91 chrome/common/pepper_permission_util.cc     return extension &&
extension          92 chrome/common/pepper_permission_util.cc         (extension->GetType() == Manifest::TYPE_LEGACY_PACKAGED_APP ||
extension          93 chrome/common/pepper_permission_util.cc          extension->GetType() == Manifest::TYPE_PLATFORM_APP);
extension         441 chrome/installer/test/alternate_version_generator.cc     std::wstring extension = file.Extension();
extension         442 chrome/installer/test/alternate_version_generator.cc     if (extension == &kExtExe[0] || extension == &kExtDll[0]) {
extension         478 chrome/renderer/chrome_content_renderer_client.cc     const Extension* extension =
extension         480 chrome/renderer/chrome_content_renderer_client.cc     if (extension) {
extension         486 chrome/renderer/chrome_content_renderer_client.cc         if (extension->HasAPIPermission(perms[i]))
extension         657 chrome/renderer/chrome_content_renderer_client.cc           const Extension* extension =
extension         663 chrome/renderer/chrome_content_renderer_client.cc                              extension,
extension         875 chrome/renderer/chrome_content_renderer_client.cc     const Extension* extension,
extension         911 chrome/renderer/chrome_content_renderer_client.cc   bool is_extension_from_webstore = extension &&
extension         912 chrome/renderer/chrome_content_renderer_client.cc       extension->from_webstore();
extension         914 chrome/renderer/chrome_content_renderer_client.cc   bool is_invoked_by_hosted_app = extension &&
extension         915 chrome/renderer/chrome_content_renderer_client.cc       extension->is_hosted_app() &&
extension         916 chrome/renderer/chrome_content_renderer_client.cc       extension->web_extent().MatchesURL(app_url);
extension         919 chrome/renderer/chrome_content_renderer_client.cc   bool is_extension_unrestricted = extension &&
extension         920 chrome/renderer/chrome_content_renderer_client.cc       (extension->location() == extensions::Manifest::COMPONENT ||
extension         921 chrome/renderer/chrome_content_renderer_client.cc        extensions::Manifest::IsUnpackedLocation(extension->location()));
extension        1010 chrome/renderer/chrome_content_renderer_client.cc   const Extension* extension = NULL;
extension        1014 chrome/renderer/chrome_content_renderer_client.cc     extension = extension_dispatcher_->extensions()->GetExtensionOrAppByURL(
extension        1022 chrome/renderer/chrome_content_renderer_client.cc     if (extension && !extension->from_bookmark()) {
extension        1033 chrome/renderer/chrome_content_renderer_client.cc         LocalizedError::GetAppErrorStrings(failed_url, extension,
extension        1053 chrome/renderer/chrome_content_renderer_client.cc     if (!extension)
extension        1065 chrome/renderer/chrome_content_renderer_client.cc   if (!current_context || !current_context->extension())
extension        1151 chrome/renderer/chrome_content_renderer_client.cc     const Extension* extension =
extension        1153 chrome/renderer/chrome_content_renderer_client.cc     if (extension && extension->is_app()) {
extension        1155 chrome/renderer/chrome_content_renderer_client.cc           extension->is_platform_app() ?
extension         186 chrome/renderer/chrome_content_renderer_client.h                             const extensions::Extension* extension,
extension         498 chrome/renderer/content_settings_observer.cc   if (const extensions::Extension* extension = GetExtension(origin)) {
extension         499 chrome/renderer/content_settings_observer.cc     if (extension->HasAPIPermission(APIPermission::kExperimental))
extension         509 chrome/renderer/content_settings_observer.cc   const extensions::Extension* extension = GetExtension(origin);
extension         510 chrome/renderer/content_settings_observer.cc   if (extension && extension->is_platform_app())
extension         518 chrome/renderer/content_settings_observer.cc   const extensions::Extension* extension = GetExtension(origin);
extension         519 chrome/renderer/content_settings_observer.cc   return !extension || !extension->is_platform_app();
extension          77 chrome/renderer/extensions/app_bindings.cc   const Extension* extension = context()->extension();
extension          80 chrome/renderer/extensions/app_bindings.cc   bool result = extension && extension->is_hosted_app() &&
extension          81 chrome/renderer/extensions/app_bindings.cc       dispatcher_->IsExtensionActive(extension->id());
extension         129 chrome/renderer/extensions/app_bindings.cc   const Extension* extension =
extension         133 chrome/renderer/extensions/app_bindings.cc   if (!extension)
extension         137 chrome/renderer/extensions/app_bindings.cc       extension->manifest()->value()->DeepCopy());
extension         138 chrome/renderer/extensions/app_bindings.cc   manifest_copy->SetString("id", extension->id());
extension          31 chrome/renderer/extensions/chrome_v8_context.cc                                  const Extension* extension,
extension          35 chrome/renderer/extensions/chrome_v8_context.cc       extension_(extension),
extension         112 chrome/renderer/extensions/chrome_v8_context.cc   const Extension* extension = extension_.get();
extension         113 chrome/renderer/extensions/chrome_v8_context.cc   if (extension && extension->is_hosted_app() &&
extension         115 chrome/renderer/extensions/chrome_v8_context.cc     extension = NULL;
extension         118 chrome/renderer/extensions/chrome_v8_context.cc                                                         extension,
extension          36 chrome/renderer/extensions/chrome_v8_context.h                   const Extension* extension,
extension          54 chrome/renderer/extensions/chrome_v8_context.h   const Extension* extension() const {
extension         102 chrome/renderer/extensions/chrome_v8_context_set.cc       const Extension* extension = context->extension();
extension         103 chrome/renderer/extensions/chrome_v8_context_set.cc       if (!extension || (extension_id != extension->id()))
extension         128 chrome/renderer/extensions/chrome_v8_context_set.cc     if ((*it)->extension() && (*it)->extension()->id() == extension_id) {
extension          28 chrome/renderer/extensions/chrome_v8_context_set_unittest.cc   const Extension* extension = NULL;
extension          32 chrome/renderer/extensions/chrome_v8_context_set_unittest.cc       extension,
extension          29 chrome/renderer/extensions/chrome_v8_extension.cc   return context() ? context()->extension() : NULL;
extension         315 chrome/renderer/extensions/dispatcher.cc     if (IsContextLazyBackgroundPage(render_view, context()->extension())) {
extension         326 chrome/renderer/extensions/dispatcher.cc     if (IsContextLazyBackgroundPage(render_view, context()->extension())) {
extension         334 chrome/renderer/extensions/dispatcher.cc                                    const Extension* extension) {
extension         339 chrome/renderer/extensions/dispatcher.cc     return (extension && BackgroundInfo::HasLazyBackgroundPage(extension) &&
extension         532 chrome/renderer/extensions/dispatcher.cc     const Extension* extension = extensions_.GetByID(*iter);
extension         533 chrome/renderer/extensions/dispatcher.cc     CHECK(extension);
extension         636 chrome/renderer/extensions/dispatcher.cc     scoped_refptr<const Extension> extension = i->ConvertToExtension(&error);
extension         637 chrome/renderer/extensions/dispatcher.cc     if (!extension.get()) {
extension         641 chrome/renderer/extensions/dispatcher.cc     OnLoadedInternal(extension);
extension         649 chrome/renderer/extensions/dispatcher.cc void Dispatcher::OnLoadedInternal(scoped_refptr<const Extension> extension) {
extension         650 chrome/renderer/extensions/dispatcher.cc   extensions_.Insert(extension);
extension        1119 chrome/renderer/extensions/dispatcher.cc   const Extension* extension = extensions_.GetByID(extension_id);
extension        1120 chrome/renderer/extensions/dispatcher.cc   if (!extension && !extension_id.empty()) {
extension        1135 chrome/renderer/extensions/dispatcher.cc       extension,
extension        1141 chrome/renderer/extensions/dispatcher.cc       new ChromeV8Context(v8_context, frame, extension, context_type);
extension        1144 chrome/renderer/extensions/dispatcher.cc   if (extension)
extension        1145 chrome/renderer/extensions/dispatcher.cc     InitOriginPermissions(extension, context_type);
extension        1180 chrome/renderer/extensions/dispatcher.cc   int manifest_version = extension ? extension->manifest_version() : 1;
extension        1182 chrome/renderer/extensions/dispatcher.cc       (extension && Manifest::IsUnpackedLocation(extension->location()) &&
extension        1183 chrome/renderer/extensions/dispatcher.cc        BackgroundInfo::HasLazyBackgroundPage(extension));
extension        1194 chrome/renderer/extensions/dispatcher.cc   if (context->extension()) {
extension        1225 chrome/renderer/extensions/dispatcher.cc     if (extension->HasAPIPermission(APIPermission::kWebView)) {
extension        1232 chrome/renderer/extensions/dispatcher.cc         std::string id_hash = base::SHA1HashString(extension->id());
extension        1252 chrome/renderer/extensions/dispatcher.cc       if (extension->HasAPIPermission(APIPermission::kAdView)) {
extension        1281 chrome/renderer/extensions/dispatcher.cc     const Extension* extension = extensions_.GetByID(*iter);
extension        1282 chrome/renderer/extensions/dispatcher.cc     if (extension && extension->is_platform_app())
extension        1333 chrome/renderer/extensions/dispatcher.cc   const Extension* extension = extensions_.GetByID(extension_id);
extension        1334 chrome/renderer/extensions/dispatcher.cc   if (!extension) {
extension        1345 chrome/renderer/extensions/dispatcher.cc     CHECK(extension) << extension_id << " was never loaded: " << error;
extension        1362 chrome/renderer/extensions/dispatcher.cc void Dispatcher::InitOriginPermissions(const Extension* extension,
extension        1368 chrome/renderer/extensions/dispatcher.cc       extension->HasAPIPermission(APIPermission::kManagement)) {
extension        1370 chrome/renderer/extensions/dispatcher.cc         extension->url(),
extension        1378 chrome/renderer/extensions/dispatcher.cc       extension,
extension        1379 chrome/renderer/extensions/dispatcher.cc       PermissionsData::GetEffectiveHostPermissions(extension));
extension        1384 chrome/renderer/extensions/dispatcher.cc     const Extension* extension,
extension        1400 chrome/renderer/extensions/dispatcher.cc               extension->url(),
extension        1434 chrome/renderer/extensions/dispatcher.cc   const Extension* extension = extensions_.GetByID(extension_id);
extension        1435 chrome/renderer/extensions/dispatcher.cc   if (!extension)
extension        1442 chrome/renderer/extensions/dispatcher.cc       extension->GetActivePermissions();
extension        1457 chrome/renderer/extensions/dispatcher.cc   PermissionsData::SetActivePermissions(extension, new_active);
extension        1458 chrome/renderer/extensions/dispatcher.cc   AddOrRemoveOriginPermissions(reason, extension, explicit_hosts);
extension        1459 chrome/renderer/extensions/dispatcher.cc   AddOrRemoveBindings(extension->id());
extension        1476 chrome/renderer/extensions/dispatcher.cc   const Extension* extension = extensions_.GetByID(extension_id);
extension        1477 chrome/renderer/extensions/dispatcher.cc   if (!extension)
extension        1481 chrome/renderer/extensions/dispatcher.cc       extension,
extension        1492 chrome/renderer/extensions/dispatcher.cc     const Extension* extension = extensions_.GetByID(*it);
extension        1493 chrome/renderer/extensions/dispatcher.cc     if (extension)
extension        1494 chrome/renderer/extensions/dispatcher.cc       PermissionsData::ClearTabSpecificPermissions(extension, tab_id);
extension        1547 chrome/renderer/extensions/dispatcher.cc     const Extension* extension = extensions_.GetByID(url.host());
extension        1548 chrome/renderer/extensions/dispatcher.cc     if (extension) {
extension        1549 chrome/renderer/extensions/dispatcher.cc       return SandboxedPageInfo::IsSandboxedPage(extension, url.path());
extension        1556 chrome/renderer/extensions/dispatcher.cc     const Extension* extension,
extension        1562 chrome/renderer/extensions/dispatcher.cc     return extension ?  // TODO(kalman): when does this happen?
extension        1577 chrome/renderer/extensions/dispatcher.cc   if (extension && IsExtensionActive(extension->id())) {
extension        1583 chrome/renderer/extensions/dispatcher.cc     return (extension->is_hosted_app() &&
extension        1584 chrome/renderer/extensions/dispatcher.cc             extension->location() != Manifest::COMPONENT) ?
extension        1591 chrome/renderer/extensions/dispatcher.cc     if (!extension)  // TODO(kalman): when does this happen?
extension        1593 chrome/renderer/extensions/dispatcher.cc     return extension->is_hosted_app() ?
extension        1618 chrome/renderer/extensions/dispatcher.cc   if (!context->extension()) {
extension        1688 chrome/renderer/extensions/dispatcher.cc   const Extension* extension = extensions_.GetByID(extension_id);
extension        1689 chrome/renderer/extensions/dispatcher.cc   if (extension && BackgroundInfo::HasLazyBackgroundPage(extension) &&
extension         179 chrome/renderer/extensions/dispatcher.h   void OnLoadedInternal(scoped_refptr<const Extension> extension);
extension         207 chrome/renderer/extensions/dispatcher.h   void InitOriginPermissions(const Extension* extension,
extension         211 chrome/renderer/extensions/dispatcher.h       const Extension* extension,
extension         249 chrome/renderer/extensions/dispatcher.h       const Extension* extension,
extension         115 chrome/renderer/extensions/event_bindings.cc     if (IsLazyBackgroundPage(GetRenderView(), context()->extension())) {
extension         143 chrome/renderer/extensions/event_bindings.cc                                           context()->extension())) {
extension         195 chrome/renderer/extensions/event_bindings.cc       bool lazy = IsLazyBackgroundPage(GetRenderView(), context()->extension());
extension         256 chrome/renderer/extensions/event_bindings.cc                                                     context()->extension());
extension         314 chrome/renderer/extensions/event_bindings.cc                                    const Extension* extension) {
extension         318 chrome/renderer/extensions/event_bindings.cc     return (extension && BackgroundInfo::HasLazyBackgroundPage(extension) &&
extension         279 chrome/renderer/extensions/messaging_bindings.cc     const Extension* extension = (*it)->extension();
extension         280 chrome/renderer/extensions/messaging_bindings.cc     if (extension) {
extension         281 chrome/renderer/extensions/messaging_bindings.cc       if (!source_tab.empty() && !extension->is_platform_app())
extension         285 chrome/renderer/extensions/messaging_bindings.cc           ExternallyConnectableInfo::Get(extension);
extension          49 chrome/renderer/extensions/module_system.cc   if (context->extension()) {
extension          51 chrome/renderer/extensions/module_system.cc     full_message += context->extension()->id();
extension          30 chrome/renderer/extensions/page_actions_custom_bindings.cc   const Extension* extension =
extension          32 chrome/renderer/extensions/page_actions_custom_bindings.cc   CHECK(extension);
extension          36 chrome/renderer/extensions/page_actions_custom_bindings.cc   if (ActionInfo::GetPageActionInfo(extension)) {
extension          37 chrome/renderer/extensions/page_actions_custom_bindings.cc     std::string id = ActionInfo::GetPageActionInfo(extension)->id;
extension          28 chrome/renderer/extensions/renderer_permissions_policy_delegate.cc     const Extension* extension,
extension          37 chrome/renderer/extensions/renderer_permissions_policy_delegate.cc   if (std::find(whitelist.begin(), whitelist.end(), extension->id()) !=
extension          21 chrome/renderer/extensions/renderer_permissions_policy_delegate.h   virtual bool CanExecuteScriptOnPage(const Extension* extension,
extension          57 chrome/renderer/extensions/renderer_permissions_policy_delegate_unittest.cc   scoped_refptr<const Extension> extension(CreateTestExtension("a"));
extension          61 chrome/renderer/extensions/renderer_permissions_policy_delegate_unittest.cc       extension.get(), kSigninUrl, kSigninUrl, -1, NULL, -1, &error)) << error;
extension          66 chrome/renderer/extensions/renderer_permissions_policy_delegate_unittest.cc       extension.get(), kSigninUrl, kSigninUrl, -1, NULL, -1, &error)) << error;
extension          73 chrome/renderer/extensions/renderer_permissions_policy_delegate_unittest.cc   scoped_refptr<const Extension> extension(CreateTestExtension("a"));
extension          77 chrome/renderer/extensions/renderer_permissions_policy_delegate_unittest.cc       extension.get(), kAnyUrl, kAnyUrl, -1, NULL, -1, &error)) << error;
extension          86 chrome/renderer/extensions/renderer_permissions_policy_delegate_unittest.cc       extension.get(), kAnyUrl, kAnyUrl, -1, NULL, -1, &error)) << error;
extension          41 chrome/renderer/extensions/resource_request_policy.cc   const Extension* extension =
extension          43 chrome/renderer/extensions/resource_request_policy.cc   if (!extension) {
extension          56 chrome/renderer/extensions/resource_request_policy.cc   if (extension->is_hosted_app() &&
extension          57 chrome/renderer/extensions/resource_request_policy.cc       !IconsInfo::GetIcons(extension)
extension          67 chrome/renderer/extensions/resource_request_policy.cc           extension, resource_url.path()) &&
extension          78 chrome/renderer/extensions/resource_request_policy.cc     bool is_own_resource = frame_url.GetOrigin() == extension->url() ||
extension          79 chrome/renderer/extensions/resource_request_policy.cc         page_url.GetOrigin() == extension->url();
extension          83 chrome/renderer/extensions/resource_request_policy.cc                         !ManifestURL::GetDevToolsPage(extension).is_empty();
extension          64 chrome/renderer/extensions/runtime_custom_bindings.cc   const Extension* extension = context()->extension();
extension          65 chrome/renderer/extensions/runtime_custom_bindings.cc   if (extension && !extension->is_hosted_app())
extension          66 chrome/renderer/extensions/runtime_custom_bindings.cc     info.source_id = extension->id();
extension         117 chrome/renderer/extensions/runtime_custom_bindings.cc   CHECK(context()->extension());
extension         121 chrome/renderer/extensions/runtime_custom_bindings.cc       converter->ToV8Value(context()->extension()->manifest()->value(),
extension         143 chrome/renderer/extensions/user_script_scheduler.cc   const Extension* extension = dispatcher_->extensions()->GetByID(
extension         152 chrome/renderer/extensions/user_script_scheduler.cc   if (!extension) {
extension         190 chrome/renderer/extensions/user_script_scheduler.cc               extension,
extension         216 chrome/renderer/extensions/user_script_scheduler.cc                                          extension->id());
extension         224 chrome/renderer/extensions/user_script_scheduler.cc                 extension, child_frame);
extension         225 chrome/renderer/extensions/user_script_scheduler.cc         DOMActivityLogger::AttachToWorld(isolated_world_id, extension->id());
extension          55 chrome/renderer/extensions/user_script_slave.cc int UserScriptSlave::GetIsolatedWorldIdForExtension(const Extension* extension,
extension          59 chrome/renderer/extensions/user_script_slave.cc   IsolatedWorldMap::iterator iter = isolated_world_ids_.find(extension->id());
extension          66 chrome/renderer/extensions/user_script_slave.cc         WebSecurityOrigin::create(extension->url()));
extension          69 chrome/renderer/extensions/user_script_slave.cc         WebString::fromUTF8(CSPInfo::GetContentSecurityPolicy(extension)));
extension          78 chrome/renderer/extensions/user_script_slave.cc   isolated_world_ids_[extension->id()] = new_id;
extension          81 chrome/renderer/extensions/user_script_slave.cc       WebSecurityOrigin::create(extension->url()));
extension          84 chrome/renderer/extensions/user_script_slave.cc       WebString::fromUTF8(CSPInfo::GetContentSecurityPolicy(extension)));
extension         254 chrome/renderer/extensions/user_script_slave.cc     const Extension* extension = extensions_->GetByID(script->extension_id());
extension         258 chrome/renderer/extensions/user_script_slave.cc     if (!extension)
extension         265 chrome/renderer/extensions/user_script_slave.cc     if (!PermissionsData::CanExecuteScriptOnPage(extension,
extension         307 chrome/renderer/extensions/user_script_slave.cc       int isolated_world_id = GetIsolatedWorldIdForExtension(extension, frame);
extension         310 chrome/renderer/extensions/user_script_slave.cc       DOMActivityLogger::AttachToWorld(isolated_world_id, extension->id());
extension         318 chrome/renderer/extensions/user_script_slave.cc         extensions_executing_scripts[extension->id()].insert(
extension          56 chrome/renderer/extensions/user_script_slave.h   int GetIsolatedWorldIdForExtension(const Extension* extension,
extension          14 chrome/renderer/playback_extension.cc   v8::Extension* extension = new v8::Extension(
extension          45 chrome/renderer/playback_extension.cc     return extension;
extension          98 chrome/renderer/plugins/plugin_uma.cc                                              std::string* extension) {
extension         105 chrome/renderer/plugins/plugin_uma.cc     *extension = extension_file_path.substr(last_dot);
extension         107 chrome/renderer/plugins/plugin_uma.cc     extension->clear();
extension         110 chrome/renderer/plugins/plugin_uma.cc   StringToLowerASCII(extension);
extension          73 chrome/renderer/plugins/plugin_uma.h   void ExtractFileExtension(const GURL& src, std::string* extension);
extension         219 chrome/test/base/test_browser_window.cc     const extensions::Extension* extension,
extension         223 chrome/test/base/test_browser_window.cc     const extensions::Extension* extension) {}
extension         226 chrome/test/base/test_browser_window.cc     const extensions::Extension* extension) {}
extension         156 chrome/test/base/test_browser_window.h       const extensions::Extension* extension,
extension         159 chrome/test/base/test_browser_window.h       const extensions::Extension* extension) OVERRIDE;
extension         161 chrome/test/base/test_browser_window.h       const extensions::Extension* extension) OVERRIDE;
extension         106 chrome/test/chromedriver/capabilities.cc     std::string extension;
extension         107 chrome/test/chromedriver/capabilities.cc     if (!extensions->GetString(i, &extension)) {
extension         111 chrome/test/chromedriver/capabilities.cc     capabilities->extensions.push_back(extension);
extension         131 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc     AutomationExtension** extension) {
extension         144 chrome/test/chromedriver/chrome/chrome_desktop_impl.cc   *extension = automation_extension_.get();
extension          45 chrome/test/chromedriver/chrome/chrome_desktop_impl.h   Status GetAutomationExtension(AutomationExtension** extension);
extension         482 chrome/test/chromedriver/chrome_launcher.cc Status ProcessExtension(const std::string& extension,
extension         491 chrome/test/chromedriver/chrome_launcher.cc   base::RemoveChars(extension, "\n", &extension_base64);
extension         576 chrome/test/chromedriver/chrome_launcher.cc                            const base::FilePath::StringType& extension) {
extension         580 chrome/test/chromedriver/chrome_launcher.cc   value += extension;
extension         220 chrome/test/chromedriver/session_commands.cc   AutomationExtension* extension = NULL;
extension         222 chrome/test/chromedriver/session_commands.cc       session->chrome->GetAsDesktop()->GetAutomationExtension(&extension);
extension         226 chrome/test/chromedriver/session_commands.cc   return extension->LaunchApp(id);
extension         457 chrome/test/chromedriver/session_commands.cc   AutomationExtension* extension = NULL;
extension         458 chrome/test/chromedriver/session_commands.cc   Status status = desktop->GetAutomationExtension(&extension);
extension         463 chrome/test/chromedriver/session_commands.cc   status = extension->GetWindowPosition(&x, &y);
extension         489 chrome/test/chromedriver/session_commands.cc   AutomationExtension* extension = NULL;
extension         490 chrome/test/chromedriver/session_commands.cc   Status status = desktop->GetAutomationExtension(&extension);
extension         494 chrome/test/chromedriver/session_commands.cc   return extension->SetWindowPosition(static_cast<int>(x), static_cast<int>(y));
extension         508 chrome/test/chromedriver/session_commands.cc   AutomationExtension* extension = NULL;
extension         509 chrome/test/chromedriver/session_commands.cc   Status status = desktop->GetAutomationExtension(&extension);
extension         514 chrome/test/chromedriver/session_commands.cc   status = extension->GetWindowSize(&width, &height);
extension         541 chrome/test/chromedriver/session_commands.cc   AutomationExtension* extension = NULL;
extension         542 chrome/test/chromedriver/session_commands.cc   Status status = desktop->GetAutomationExtension(&extension);
extension         546 chrome/test/chromedriver/session_commands.cc   return extension->SetWindowSize(
extension         561 chrome/test/chromedriver/session_commands.cc   AutomationExtension* extension = NULL;
extension         562 chrome/test/chromedriver/session_commands.cc   Status status = desktop->GetAutomationExtension(&extension);
extension         566 chrome/test/chromedriver/session_commands.cc   return extension->MaximizeWindow();
extension         744 chrome/test/chromedriver/window_commands.cc     AutomationExtension* extension = NULL;
extension         746 chrome/test/chromedriver/window_commands.cc         session->chrome->GetAsDesktop()->GetAutomationExtension(&extension);
extension         749 chrome/test/chromedriver/window_commands.cc     status = extension->CaptureScreenshot(&screenshot);
extension         105 chrome/test/remoting/remote_desktop_browsertest.cc   scoped_refptr<const Extension> extension(InstallExtensionWithUIAutoConfirm(
extension         108 chrome/test/remoting/remote_desktop_browsertest.cc   EXPECT_FALSE(extension.get() == NULL);
extension         110 chrome/test/remoting/remote_desktop_browsertest.cc   extension_ = extension.get();
extension         137 chrome/test/remoting/remote_desktop_browsertest.cc   scoped_refptr<const extensions::Extension> extension;
extension         142 chrome/test/remoting/remote_desktop_browsertest.cc     extension = *iter;
extension         145 chrome/test/remoting/remote_desktop_browsertest.cc     if (extension->name() == extension_name_) {
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         158 chrome/test/remoting/remote_desktop_browsertest.cc     extensions::Manifest::Type type = extension->GetType();
extension         162 chrome/test/remoting/remote_desktop_browsertest.cc     EXPECT_TRUE(extension->ShouldDisplayInAppLauncher());
extension         192 chrome/utility/extensions/unpacker.cc   scoped_refptr<Extension> extension(Extension::Create(
extension         199 chrome/utility/extensions/unpacker.cc   if (!extension.get()) {
extension         205 chrome/utility/extensions/unpacker.cc   if (!extension_file_util::ValidateExtension(extension.get(),
extension         210 chrome/utility/extensions/unpacker.cc   extension->AddInstallWarnings(warnings);
extension         214 chrome/utility/extensions/unpacker.cc       extension_file_util::GetBrowserImagePaths(extension.get());
extension         224 chrome/utility/extensions/unpacker.cc   if (!LocaleInfo::GetDefaultLocale(extension.get()).empty()) {
extension         225 chrome/utility/extensions/unpacker.cc     if (!ReadAllMessageCatalogs(LocaleInfo::GetDefaultLocale(extension.get())))
extension         383 content/browser/fileapi/file_system_url_request_job_unittest.cc   base::FilePath::StringType extension =
extension         385 content/browser/fileapi/file_system_url_request_job_unittest.cc   if (!extension.empty())
extension         386 content/browser/fileapi/file_system_url_request_job_unittest.cc     extension = extension.substr(1);
extension         388 content/browser/fileapi/file_system_url_request_job_unittest.cc       extension, &mime_type_direct));
extension         227 content/browser/web_contents/web_contents_view_aura.cc     const base::FilePath::StringType extension = file_name.Extension();
extension         230 content/browser/web_contents/web_contents_view_aura.cc                     .ReplaceExtension(extension);
extension         351 content/common/plugin_list.cc     std::string extension = StringToLowerASCII(std::string(path, last_dot+1));
extension         354 content/common/plugin_list.cc       if (SupportsExtension(plugins_list_[i], extension, &actual_mime_type)) {
extension         385 content/common/plugin_list.cc                                    const std::string& extension,
extension         390 content/common/plugin_list.cc       if (mime_type.file_extensions[j] == extension) {
extension         205 content/common/plugin_list.h                          const std::string& extension,
extension         104 content/public/renderer/render_thread.h   virtual void RegisterExtension(v8::Extension* extension) = 0;
extension         159 content/public/test/mock_render_thread.cc void MockRenderThread::RegisterExtension(v8::Extension* extension) {
extension         160 content/public/test/mock_render_thread.cc   blink::WebScriptController::registerExtension(extension);
extension          63 content/public/test/mock_render_thread.h   virtual void RegisterExtension(v8::Extension* extension) OVERRIDE;
extension         864 content/renderer/render_thread_impl.cc void RenderThreadImpl::RegisterExtension(v8::Extension* extension) {
extension         865 content/renderer/render_thread_impl.cc   WebScriptController::registerExtension(extension);
extension         150 content/renderer/render_thread_impl.h   virtual void RegisterExtension(v8::Extension* extension) OVERRIDE;
extension          15 extensions/browser/admin_policy.cc bool ManagementPolicyImpl(const extensions::Extension* extension,
extension          24 extensions/browser/admin_policy.cc       extension->location() != extensions::Manifest::COMPONENT &&
extension          25 extensions/browser/admin_policy.cc       !extensions::Manifest::IsPolicyLocation(extension->location());
extension          33 extensions/browser/admin_policy.cc         base::UTF8ToUTF16(extension->name()));
extension          38 extensions/browser/admin_policy.cc bool ReturnLoadError(const extensions::Extension* extension,
extension          43 extensions/browser/admin_policy.cc           base::UTF8ToUTF16(extension->name()),
extension          44 extensions/browser/admin_policy.cc           base::UTF8ToUTF16(extension->id()));
extension          63 extensions/browser/admin_policy.cc                  const Extension* extension,
extension          66 extensions/browser/admin_policy.cc   if (extension->location() == Manifest::COMPONENT)
extension          70 extensions/browser/admin_policy.cc   if (extension->location() != Manifest::EXTERNAL_POLICY &&
extension          71 extensions/browser/admin_policy.cc       extension->location() != Manifest::EXTERNAL_POLICY_DOWNLOAD &&
extension          72 extensions/browser/admin_policy.cc       forcelist && forcelist->HasKey(extension->id())) {
extension          73 extensions/browser/admin_policy.cc     return ReturnLoadError(extension, error);
extension          87 extensions/browser/admin_policy.cc   switch (extension->GetType()) {
extension          97 extensions/browser/admin_policy.cc       base::FundamentalValue type_value(extension->GetType());
extension         100 extensions/browser/admin_policy.cc         return ReturnLoadError(extension, error);
extension         105 extensions/browser/admin_policy.cc   base::StringValue id_value(extension->id());
extension         107 extensions/browser/admin_policy.cc       (forcelist && forcelist->HasKey(extension->id())))
extension         113 extensions/browser/admin_policy.cc     return ReturnLoadError(extension, error);
extension         118 extensions/browser/admin_policy.cc bool UserMayModifySettings(const Extension* extension, base::string16* error) {
extension         119 extensions/browser/admin_policy.cc   return ManagementPolicyImpl(extension, error, true);
extension         122 extensions/browser/admin_policy.cc bool MustRemainEnabled(const Extension* extension, base::string16* error) {
extension         123 extensions/browser/admin_policy.cc   return ManagementPolicyImpl(extension, error, false);
extension          28 extensions/browser/admin_policy.h                  const Extension* extension,
extension          33 extensions/browser/admin_policy.h bool UserMayModifySettings(const Extension* extension, base::string16* error);
extension          37 extensions/browser/admin_policy.h bool MustRemainEnabled(const Extension* extension, base::string16* error);
extension         140 extensions/browser/api/api_resource_manager.h                              details)->extension->id();
extension          58 extensions/browser/api/storage/local_value_store_cache.cc     scoped_refptr<const Extension> extension) {
extension          61 extensions/browser/api/storage/local_value_store_cache.cc   ValueStore* storage = GetStorage(extension);
extension          65 extensions/browser/api/storage/local_value_store_cache.cc   if (extension->HasAPIPermission(APIPermission::kUnlimitedStorage)) {
extension          81 extensions/browser/api/storage/local_value_store_cache.cc     scoped_refptr<const Extension> extension) {
extension          82 extensions/browser/api/storage/local_value_store_cache.cc   StorageMap::iterator iter = storage_map_.find(extension->id());
extension          87 extensions/browser/api/storage/local_value_store_cache.cc       extension->is_app() ? app_base_path_ : extension_base_path_;
extension          90 extensions/browser/api/storage/local_value_store_cache.cc           quota_, storage_factory_->Create(file_path, extension->id())));
extension          92 extensions/browser/api/storage/local_value_store_cache.cc   storage_map_[extension->id()] = storage;
extension          32 extensions/browser/api/storage/local_value_store_cache.h       scoped_refptr<const Extension> extension) OVERRIDE;
extension          38 extensions/browser/api/storage/local_value_store_cache.h   ValueStore* GetStorage(scoped_refptr<const Extension> extension);
extension          24 extensions/browser/api/storage/settings_test_util.cc ValueStore* GetStorage(scoped_refptr<const Extension> extension,
extension          29 extensions/browser/api/storage/settings_test_util.cc       extension, settings_namespace, base::Bind(&AssignStorage, &storage));
extension          34 extensions/browser/api/storage/settings_test_util.cc ValueStore* GetStorage(scoped_refptr<const Extension> extension,
extension          36 extensions/browser/api/storage/settings_test_util.cc   return GetStorage(extension, settings_namespace::SYNC, frontend);
extension          80 extensions/browser/api/storage/settings_test_util.cc   scoped_refptr<const Extension> extension(
extension          87 extensions/browser/api/storage/settings_test_util.cc   DCHECK(extension.get());
extension          92 extensions/browser/api/storage/settings_test_util.cc   ExtensionRegistry::Get(profile)->AddEnabled(extension);
extension          96 extensions/browser/api/storage/settings_test_util.cc     DCHECK(extension->HasAPIPermission(*it));
extension          99 extensions/browser/api/storage/settings_test_util.cc   return extension;
extension          31 extensions/browser/api/storage/settings_test_util.h ValueStore* GetStorage(scoped_refptr<const Extension> extension,
extension          36 extensions/browser/api/storage/settings_test_util.h ValueStore* GetStorage(scoped_refptr<const Extension> extension,
extension         128 extensions/browser/api/storage/storage_frontend.cc     scoped_refptr<const Extension> extension,
extension         132 extensions/browser/api/storage/storage_frontend.cc   CHECK(extension.get());
extension         140 extensions/browser/api/storage/storage_frontend.cc                  base::Unretained(cache), callback, extension));
extension          48 extensions/browser/api/storage/storage_frontend.h   void RunWithStorage(scoped_refptr<const Extension> extension,
extension         111 extensions/browser/api/storage/storage_frontend_unittest.cc   scoped_refptr<const Extension> extension =
extension         114 extensions/browser/api/storage/storage_frontend_unittest.cc   ValueStore* storage = util::GetStorage(extension, frontend_.get());
extension         131 extensions/browser/api/storage/storage_frontend_unittest.cc   storage = util::GetStorage(extension, frontend_.get());
extension         142 extensions/browser/api/storage/storage_frontend_unittest.cc   scoped_refptr<const Extension> extension = util::AddExtensionWithId(
extension         145 extensions/browser/api/storage/storage_frontend_unittest.cc   ValueStore* storage = util::GetStorage(extension, frontend_.get());
extension         158 extensions/browser/api/storage/storage_frontend_unittest.cc   storage = util::GetStorage(extension, frontend_.get());
extension         168 extensions/browser/api/storage/storage_frontend_unittest.cc   scoped_refptr<const Extension> extension =
extension         171 extensions/browser/api/storage/storage_frontend_unittest.cc   ValueStore* storage = util::GetStorage(extension, frontend_.get());
extension         200 extensions/browser/api/storage/storage_frontend_unittest.cc   scoped_refptr<const Extension> extension =
extension         204 extensions/browser/api/storage/storage_frontend_unittest.cc       util::GetStorage(extension, settings::SYNC, frontend_.get());
extension         206 extensions/browser/api/storage/storage_frontend_unittest.cc       util::GetStorage(extension, settings::LOCAL, frontend_.get());
extension         282 extensions/browser/api/storage/storage_frontend_unittest.cc   scoped_refptr<const Extension> extension =
extension         287 extensions/browser/api/storage/storage_frontend_unittest.cc       extension, settings::SYNC, base::Bind(&UnlimitedSyncStorageTestCallback));
extension         288 extensions/browser/api/storage/storage_frontend_unittest.cc   frontend_->RunWithStorage(extension,
extension          49 extensions/browser/api/storage/value_store_cache.h       scoped_refptr<const Extension> extension) = 0;
extension         487 extensions/browser/event_router.cc   const Extension* extension =
extension         490 extensions/browser/event_router.cc   if (!extension)
extension         494 extensions/browser/event_router.cc           browser_context_, extension, event)) {
extension         500 extensions/browser/event_router.cc       IncognitoInfo::IsSplitMode(extension)) {
extension         504 extensions/browser/event_router.cc             incognito_context, extension, event)) {
extension         514 extensions/browser/event_router.cc   const Extension* extension =
extension         520 extensions/browser/event_router.cc   if (!extension)
extension         528 extensions/browser/event_router.cc       !process_map->Contains(extension->id(), process->GetID())) {
extension         535 extensions/browser/event_router.cc       event->event_url.host() != extension->id() &&
extension         536 extensions/browser/event_router.cc       !extension->GetActivePermissions()->HasEffectiveAccessToURL(
extension         541 extensions/browser/event_router.cc   if (!CanDispatchEventToBrowserContext(listener_context, extension, event))
extension         545 extensions/browser/event_router.cc     event->will_dispatch_callback.Run(listener_context, extension,
extension         549 extensions/browser/event_router.cc   DispatchExtensionMessage(process, listener_context, extension->id(),
extension         552 extensions/browser/event_router.cc   IncrementInFlightEvents(listener_context, extension);
extension         557 extensions/browser/event_router.cc     const Extension* extension,
extension         566 extensions/browser/event_router.cc       extension, context);
extension         571 extensions/browser/event_router.cc     const Extension* extension,
extension         573 extensions/browser/event_router.cc   if (extension->is_ephemeral() && !event->can_load_ephemeral_apps) {
extension         577 extensions/browser/event_router.cc     if (!pm->GetBackgroundHostForExtension(extension->id()))
extension         581 extensions/browser/event_router.cc   if (!CanDispatchEventToBrowserContext(context, extension, event))
extension         586 extensions/browser/event_router.cc   if (queue->ShouldEnqueueTask(context, extension)) {
extension         595 extensions/browser/event_router.cc           context, extension, dispatched_event->event_args.get());
extension         600 extensions/browser/event_router.cc     queue->AddPendingTask(context, extension->id(),
extension         622 extensions/browser/event_router.cc   const Extension* extension =
extension         625 extensions/browser/event_router.cc   if (!extension)
extension         627 extensions/browser/event_router.cc   event_router->IncrementInFlightEvents(browser_context, extension);
extension         631 extensions/browser/event_router.cc                                           const Extension* extension) {
extension         634 extensions/browser/event_router.cc   if (BackgroundInfo::HasLazyBackgroundPage(extension)) {
extension         636 extensions/browser/event_router.cc     ExtensionHost* host = pm->GetBackgroundHostForExtension(extension->id());
extension         638 extensions/browser/event_router.cc       pm->IncrementLazyKeepaliveCount(extension);
extension         651 extensions/browser/event_router.cc   if (host->extension() &&
extension         652 extensions/browser/event_router.cc       BackgroundInfo::HasLazyBackgroundPage(host->extension()))
extension         653 extensions/browser/event_router.cc     pm->DecrementLazyKeepaliveCount(host->extension());
extension         662 extensions/browser/event_router.cc                                     host->extension()->id())) {
extension         663 extensions/browser/event_router.cc     DispatchEventToProcess(host->extension()->id(),
extension         683 extensions/browser/event_router.cc       const Extension* extension =
extension         685 extensions/browser/event_router.cc       if (BackgroundInfo::HasLazyBackgroundPage(extension)) {
extension         688 extensions/browser/event_router.cc         queue->AddPendingTask(browser_context_, extension->id(),
extension         695 extensions/browser/event_router.cc       const Extension* extension =
extension         698 extensions/browser/event_router.cc           GetRegisteredEvents(extension->id());
extension         699 extensions/browser/event_router.cc       listeners_.LoadUnfilteredLazyListeners(extension->id(),
extension         702 extensions/browser/event_router.cc           GetFilteredEvents(extension->id());
extension         704 extensions/browser/event_router.cc         listeners_.LoadFilteredLazyListeners(extension->id(), *filtered_events);
extension         711 extensions/browser/event_router.cc       listeners_.RemoveLazyListenersForExtension(unloaded->extension->id());
extension         234 extensions/browser/event_router.h                                         const Extension* extension,
extension         242 extensions/browser/event_router.h       const Extension* extension,
extension         263 extensions/browser/event_router.h                                const Extension* extension);
extension         164 extensions/browser/extension_function.h   void set_extension(const extensions::Extension* extension) {
extension         165 extensions/browser/extension_function.h     extension_ = extension;
extension         231 extensions/browser/extension_function_dispatcher.cc   const Extension* extension =
extension         240 extensions/browser/extension_function_dispatcher.cc                               extension,
extension         258 extensions/browser/extension_function_dispatcher.cc       extension_info_map->IsIncognitoEnabled(extension->id()));
extension         260 extensions/browser/extension_function_dispatcher.cc   if (!CheckPermissions(function.get(), extension, params, callback))
extension         264 extensions/browser/extension_function_dispatcher.cc   std::string violation_error = quota->Assess(extension->id(),
extension         270 extensions/browser/extension_function_dispatcher.cc     NotifyApiFunctionCalled(extension->id(),
extension         329 extensions/browser/extension_function_dispatcher.cc   const Extension* extension = registry->enabled_extensions().GetByID(
extension         331 extensions/browser/extension_function_dispatcher.cc   if (!extension) {
extension         332 extensions/browser/extension_function_dispatcher.cc     extension =
extension         340 extensions/browser/extension_function_dispatcher.cc                               extension,
extension         364 extensions/browser/extension_function_dispatcher.cc           extension, browser_context_));
extension         366 extensions/browser/extension_function_dispatcher.cc   if (!CheckPermissions(function.get(), extension, params, callback))
extension         371 extensions/browser/extension_function_dispatcher.cc   std::string violation_error = quota->Assess(extension->id(),
extension         379 extensions/browser/extension_function_dispatcher.cc         extension->id(), params.name, args.Pass(), browser_context_);
extension         396 extensions/browser/extension_function_dispatcher.cc   extension_system->process_manager()->IncrementLazyKeepaliveCount(extension);
extension         400 extensions/browser/extension_function_dispatcher.cc     const Extension* extension) {
extension         402 extensions/browser/extension_function_dispatcher.cc       DecrementLazyKeepaliveCount(extension);
extension         408 extensions/browser/extension_function_dispatcher.cc     const Extension* extension,
extension         412 extensions/browser/extension_function_dispatcher.cc     LOG(ERROR) << "Extension " << extension->id() << " does not have "
extension         428 extensions/browser/extension_function_dispatcher.cc bool AllowHostedAppAPICall(const Extension& extension,
extension         431 extensions/browser/extension_function_dispatcher.cc   if (extension.location() != Manifest::COMPONENT)
extension         434 extensions/browser/extension_function_dispatcher.cc   if (!extension.web_extent().MatchesURL(source_url))
extension         442 extensions/browser/extension_function_dispatcher.cc           function_name, &extension, Feature::BLESSED_EXTENSION_CONTEXT,
extension         453 extensions/browser/extension_function_dispatcher.cc     const Extension* extension,
extension         459 extensions/browser/extension_function_dispatcher.cc   if (!extension) {
extension         467 extensions/browser/extension_function_dispatcher.cc   if (extension->is_hosted_app())
extension         468 extensions/browser/extension_function_dispatcher.cc     allowed = AllowHostedAppAPICall(*extension, params.source_url, params.name);
extension         473 extensions/browser/extension_function_dispatcher.cc     allowed = process_map.Contains(extension->id(), requesting_process_id);
extension         496 extensions/browser/extension_function_dispatcher.cc   function->set_extension(extension);
extension         118 extensions/browser/extension_function_dispatcher.h   void OnExtensionFunctionCompleted(const Extension* extension);
extension         137 extensions/browser/extension_function_dispatcher.h       const Extension* extension,
extension         146 extensions/browser/extension_function_dispatcher.h       const Extension* extension,
extension         114 extensions/browser/extension_host.cc ExtensionHost::ExtensionHost(const Extension* extension,
extension         119 extensions/browser/extension_host.cc       extension_(extension),
extension         120 extensions/browser/extension_host.cc       extension_id_(extension->id()),
extension         228 extensions/browser/extension_host.cc           extension) {
extension         354 extensions/browser/extension_host.cc     pm->IncrementLazyKeepaliveCount(extension());
extension         361 extensions/browser/extension_host.cc     pm->DecrementLazyKeepaliveCount(extension());
extension         427 extensions/browser/extension_host.cc       web_contents, request, callback, extension());
extension          50 extensions/browser/extension_host.h   ExtensionHost(const Extension* extension,
extension          55 extensions/browser/extension_host.h   const Extension* extension() const { return extension_; }
extension          58 extensions/browser/extension_host_delegate.h       const Extension* extension) = 0;
extension         207 extensions/browser/extension_prefs.cc     base::DictionaryValue* extension = NULL;
extension         208 extensions/browser/extension_prefs.cc     if (!dict->GetDictionary(extension_id_, &extension)) {
extension         210 extensions/browser/extension_prefs.cc       extension = new base::DictionaryValue();
extension         211 extensions/browser/extension_prefs.cc       dict->SetWithoutPathExpansion(extension_id_, extension);
extension         213 extensions/browser/extension_prefs.cc     return extension;
extension         298 extensions/browser/extension_prefs.cc   base::DictionaryValue* extension = NULL;
extension         300 extensions/browser/extension_prefs.cc   if (!dict->GetDictionary(extension_id_, &extension) ||
extension         301 extensions/browser/extension_prefs.cc       !extension->Get(key_, &key_value)) {
extension         312 extensions/browser/extension_prefs.cc   base::DictionaryValue* extension = NULL;
extension         315 extensions/browser/extension_prefs.cc   if (!dict->GetDictionary(extension_id_, &extension)) {
extension         316 extensions/browser/extension_prefs.cc     extension = new base::DictionaryValue;
extension         317 extensions/browser/extension_prefs.cc     dict->SetWithoutPathExpansion(extension_id_, extension);
extension         319 extensions/browser/extension_prefs.cc   if (!extension->Get(key_, &key_value)) {
extension         321 extensions/browser/extension_prefs.cc     extension->SetWithoutPathExpansion(key_, value_as_t);
extension         761 extensions/browser/extension_prefs.cc     const Extension* extension, bool did_escalate) {
extension         762 extensions/browser/extension_prefs.cc   UpdateExtensionPref(extension->id(), kExtensionDidEscalatePermissions,
extension        1091 extensions/browser/extension_prefs.cc   const base::DictionaryValue* extension = GetExtensionPref(extension_id);
extension        1092 extensions/browser/extension_prefs.cc   if (!extension)
extension        1095 extensions/browser/extension_prefs.cc   extension->GetBoolean(kPrefRunning, &running);
extension        1106 extensions/browser/extension_prefs.cc   const base::DictionaryValue* extension = GetExtensionPref(extension_id);
extension        1107 extensions/browser/extension_prefs.cc   if (!extension)
extension        1110 extensions/browser/extension_prefs.cc   extension->GetBoolean(kIsActive, &is_active);
extension        1143 extensions/browser/extension_prefs.cc   const base::DictionaryValue* extension = GetExtensionPref(id);
extension        1145 extensions/browser/extension_prefs.cc   if (!extension || !extension->GetInteger(kPrefState, &state))
extension        1186 extensions/browser/extension_prefs.cc     const Extension* extension,
extension        1191 extensions/browser/extension_prefs.cc   ScopedExtensionPrefUpdate update(prefs_, extension->id());
extension        1194 extensions/browser/extension_prefs.cc   PopulateExtensionInfoPrefs(extension,
extension        1200 extensions/browser/extension_prefs.cc   FinishExtensionInfoPrefs(extension->id(), install_time,
extension        1201 extensions/browser/extension_prefs.cc                            extension->RequiresSortOrdinal(),
extension        1265 extensions/browser/extension_prefs.cc   const base::DictionaryValue* extension = GetExtensionPref(extension_id);
extension        1266 extensions/browser/extension_prefs.cc   if (!extension)
extension        1270 extensions/browser/extension_prefs.cc   extension->GetString(kPrefVersion, &version);
extension        1275 extensions/browser/extension_prefs.cc void ExtensionPrefs::UpdateManifest(const Extension* extension) {
extension        1276 extensions/browser/extension_prefs.cc   if (!Manifest::IsUnpackedLocation(extension->location())) {
extension        1278 extensions/browser/extension_prefs.cc         GetExtensionPref(extension->id());
extension        1284 extensions/browser/extension_prefs.cc         !extension->manifest()->value()->Equals(old_manifest);
extension        1286 extensions/browser/extension_prefs.cc       UpdateExtensionPref(extension->id(), kPrefManifest,
extension        1287 extensions/browser/extension_prefs.cc                           extension->manifest()->value()->DeepCopy());
extension        1307 extensions/browser/extension_prefs.cc     const base::DictionaryValue* extension) const {
extension        1309 extensions/browser/extension_prefs.cc   if (!extension->GetInteger(kPrefLocation, &location_value))
extension        1313 extensions/browser/extension_prefs.cc   if (!extension->GetString(kPrefPath, &path))
extension        1335 extensions/browser/extension_prefs.cc       !extension->GetDictionary(kPrefManifest, &manifest)) {
extension        1417 extensions/browser/extension_prefs.cc     const Extension* extension,
extension        1424 extensions/browser/extension_prefs.cc   PopulateExtensionInfoPrefs(extension,
extension        1434 extensions/browser/extension_prefs.cc   if (extension->RequiresSortOrdinal()) {
extension        1443 extensions/browser/extension_prefs.cc   UpdateExtensionPref(extension->id(), kDelayedInstallInfo, extension_dict);
extension        1668 extensions/browser/extension_prefs.cc   const base::DictionaryValue* extension = GetExtensionPref(extension_id);
extension        1669 extensions/browser/extension_prefs.cc   if (!extension) {
extension        1674 extensions/browser/extension_prefs.cc   if (!extension->GetString(kPrefInstallTime, &install_time_str))
extension        1684 extensions/browser/extension_prefs.cc   const base::DictionaryValue* extension = GetExtensionPref(extension_id);
extension        1685 extensions/browser/extension_prefs.cc   if (!extension)
extension        1689 extensions/browser/extension_prefs.cc   if (!extension->GetString(kPrefLastLaunchTime, &launch_time_str))
extension        1862 extensions/browser/extension_prefs.cc   const base::DictionaryValue* extension = GetExtensionPref(extension_id);
extension        1863 extensions/browser/extension_prefs.cc   if (!extension)  // Expected during unit testing.
extension        1866 extensions/browser/extension_prefs.cc   if (!extension->GetString(kPrefInstallParam, &install_parameter))
extension        2017 extensions/browser/extension_prefs.cc     const Extension* extension,
extension        2030 extensions/browser/extension_prefs.cc                       new base::FundamentalValue(extension->location()));
extension        2032 extensions/browser/extension_prefs.cc                       new base::FundamentalValue(extension->creation_flags()));
extension        2034 extensions/browser/extension_prefs.cc                       new base::FundamentalValue(extension->from_webstore()));
extension        2036 extensions/browser/extension_prefs.cc                       new base::FundamentalValue(extension->from_bookmark()));
extension        2039 extensions/browser/extension_prefs.cc       new base::FundamentalValue(extension->was_installed_by_default()));
extension        2042 extensions/browser/extension_prefs.cc       new base::FundamentalValue(extension->was_installed_by_oem()));
extension        2050 extensions/browser/extension_prefs.cc                                                      extension->path());
extension        2058 extensions/browser/extension_prefs.cc   if (!Manifest::IsUnpackedLocation(extension->location())) {
extension        2060 extensions/browser/extension_prefs.cc                         extension->manifest()->value()->DeepCopy());
extension         189 extensions/browser/extension_prefs.h   void OnExtensionInstalled(const Extension* extension,
extension         253 extensions/browser/extension_prefs.h       const Extension* extension,
extension         280 extensions/browser/extension_prefs.h   void UpdateManifest(const Extension* extension);
extension         433 extensions/browser/extension_prefs.h   void SetDelayedInstallInfo(const Extension* extension,
extension         579 extensions/browser/extension_prefs.h       const base::DictionaryValue* extension) const;
extension         658 extensions/browser/extension_prefs.h   void PopulateExtensionInfoPrefs(const Extension* extension,
extension          39 extensions/browser/extension_registry.cc void ExtensionRegistry::TriggerOnLoaded(const Extension* extension) {
extension          40 extensions/browser/extension_registry.cc   DCHECK(enabled_extensions_.Contains(extension->id()));
extension          42 extensions/browser/extension_registry.cc       ExtensionRegistryObserver, observers_, OnExtensionLoaded(extension));
extension          45 extensions/browser/extension_registry.cc void ExtensionRegistry::TriggerOnUnloaded(const Extension* extension) {
extension          46 extensions/browser/extension_registry.cc   DCHECK(!enabled_extensions_.Contains(extension->id()));
extension          48 extensions/browser/extension_registry.cc       ExtensionRegistryObserver, observers_, OnExtensionUnloaded(extension));
extension          55 extensions/browser/extension_registry.cc     const Extension* extension = enabled_extensions_.GetByID(lowercase_id);
extension          56 extensions/browser/extension_registry.cc     if (extension)
extension          57 extensions/browser/extension_registry.cc       return extension;
extension          60 extensions/browser/extension_registry.cc     const Extension* extension = disabled_extensions_.GetByID(lowercase_id);
extension          61 extensions/browser/extension_registry.cc     if (extension)
extension          62 extensions/browser/extension_registry.cc       return extension;
extension          65 extensions/browser/extension_registry.cc     const Extension* extension = terminated_extensions_.GetByID(lowercase_id);
extension          66 extensions/browser/extension_registry.cc     if (extension)
extension          67 extensions/browser/extension_registry.cc       return extension;
extension          70 extensions/browser/extension_registry.cc     const Extension* extension = blacklisted_extensions_.GetByID(lowercase_id);
extension          71 extensions/browser/extension_registry.cc     if (extension)
extension          72 extensions/browser/extension_registry.cc       return extension;
extension          78 extensions/browser/extension_registry.cc     const scoped_refptr<const Extension>& extension) {
extension          79 extensions/browser/extension_registry.cc   return enabled_extensions_.Insert(extension);
extension          87 extensions/browser/extension_registry.cc     const scoped_refptr<const Extension>& extension) {
extension          88 extensions/browser/extension_registry.cc   return disabled_extensions_.Insert(extension);
extension          96 extensions/browser/extension_registry.cc     const scoped_refptr<const Extension>& extension) {
extension          97 extensions/browser/extension_registry.cc   return terminated_extensions_.Insert(extension);
extension         105 extensions/browser/extension_registry.cc     const scoped_refptr<const Extension>& extension) {
extension         106 extensions/browser/extension_registry.cc   return blacklisted_extensions_.Insert(extension);
extension          70 extensions/browser/extension_registry.h   void TriggerOnLoaded(const Extension* extension);
extension          74 extensions/browser/extension_registry.h   void TriggerOnUnloaded(const Extension* extension);
extension          90 extensions/browser/extension_registry.h   bool AddEnabled(const scoped_refptr<const Extension>& extension);
extension          99 extensions/browser/extension_registry.h   bool AddDisabled(const scoped_refptr<const Extension>& extension);
extension         103 extensions/browser/extension_registry.h   bool AddTerminated(const scoped_refptr<const Extension>& extension);
extension         107 extensions/browser/extension_registry.h   bool AddBlacklisted(const scoped_refptr<const Extension>& extension);
extension          20 extensions/browser/extension_registry_observer.h   virtual void OnExtensionLoaded(const Extension* extension) {}
extension          24 extensions/browser/extension_registry_observer.h   virtual void OnExtensionUnloaded(const Extension* extension) {}
extension          22 extensions/browser/extension_registry_unittest.cc     const scoped_refptr<const Extension>& extension) {
extension          29 extensions/browser/extension_registry_unittest.cc   if (did_load != extension)
extension          30 extensions/browser/extension_registry_unittest.cc     return testing::AssertionFailure() << "Expected " << extension->id()
extension          46 extensions/browser/extension_registry_unittest.cc   virtual void OnExtensionLoaded(const Extension* extension) OVERRIDE {
extension          47 extensions/browser/extension_registry_unittest.cc     loaded_.push_back(extension);
extension          50 extensions/browser/extension_registry_unittest.cc   virtual void OnExtensionUnloaded(const Extension* extension) OVERRIDE {
extension          51 extensions/browser/extension_registry_unittest.cc     unloaded_.push_back(extension);
extension          96 extensions/browser/extension_registry_unittest.cc   scoped_refptr<Extension> extension = test_util::CreateExtensionWithID("id");
extension          97 extensions/browser/extension_registry_unittest.cc   EXPECT_TRUE(registry.AddEnabled(extension));
extension         106 extensions/browser/extension_registry_unittest.cc   EXPECT_TRUE(registry.RemoveEnabled(extension->id()));
extension         110 extensions/browser/extension_registry_unittest.cc   EXPECT_FALSE(registry.RemoveEnabled(extension->id()));
extension         115 extensions/browser/extension_registry_unittest.cc   scoped_refptr<Extension> extension = test_util::CreateExtensionWithID("id");
extension         119 extensions/browser/extension_registry_unittest.cc   EXPECT_TRUE(registry.AddEnabled(extension));
extension         120 extensions/browser/extension_registry_unittest.cc   EXPECT_TRUE(registry.AddDisabled(extension));
extension         215 extensions/browser/extension_registry_unittest.cc   scoped_refptr<const Extension> extension =
extension         218 extensions/browser/extension_registry_unittest.cc   registry.AddEnabled(extension);
extension         219 extensions/browser/extension_registry_unittest.cc   registry.TriggerOnLoaded(extension);
extension         221 extensions/browser/extension_registry_unittest.cc   EXPECT_TRUE(HasSingleExtension(observer.loaded(), extension.get()));
extension         225 extensions/browser/extension_registry_unittest.cc   registry.RemoveEnabled(extension->id());
extension         226 extensions/browser/extension_registry_unittest.cc   registry.TriggerOnUnloaded(extension);
extension         229 extensions/browser/extension_registry_unittest.cc   EXPECT_TRUE(HasSingleExtension(observer.unloaded(), extension.get()));
extension         116 extensions/browser/extension_system.h       const Extension* extension) {}
extension          34 extensions/browser/extension_web_contents_observer.cc   const Extension* extension = GetExtension(render_view_host);
extension          35 extensions/browser/extension_web_contents_observer.cc   if (!extension)
extension          43 extensions/browser/extension_web_contents_observer.cc   Manifest::Type type = extension->GetType();
extension          47 extensions/browser/extension_web_contents_observer.cc        extension->location() == Manifest::COMPONENT)) {
extension          56 extensions/browser/extension_web_contents_observer.cc     if (prefs->AllowFileAccess(extension->id())) {
extension          74 extensions/browser/extension_web_contents_observer.cc               1, ExtensionMsg_Loaded_Params(extension))));
extension          76 extensions/browser/extension_web_contents_observer.cc           new ExtensionMsg_ActivateExtension(extension->id()));
extension          88 extensions/browser/extensions_browser_client.h       const extensions::Extension* extension,
extension          49 extensions/browser/info_map.cc void InfoMap::AddExtension(const Extension* extension,
extension          54 extensions/browser/info_map.cc   extensions_.Insert(extension);
extension          55 extensions/browser/info_map.cc   disabled_extensions_.Remove(extension->id());
extension          57 extensions/browser/info_map.cc   extra_data_[extension->id()].install_time = install_time;
extension          58 extensions/browser/info_map.cc   extra_data_[extension->id()].incognito_enabled = incognito_enabled;
extension          59 extensions/browser/info_map.cc   extra_data_[extension->id()].notifications_disabled = notifications_disabled;
extension          65 extensions/browser/info_map.cc   const Extension* extension = extensions_.GetByID(extension_id);
extension          69 extensions/browser/info_map.cc   if (extension) {
extension          71 extensions/browser/info_map.cc       disabled_extensions_.Insert(extension);
extension         101 extensions/browser/info_map.cc bool InfoMap::CanCrossIncognito(const Extension* extension) const {
extension         103 extensions/browser/info_map.cc   return IsIncognitoEnabled(extension->id()) &&
extension         104 extensions/browser/info_map.cc          !IncognitoInfo::IsSplitMode(extension);
extension         151 extensions/browser/info_map.cc     const Extension* extension = extensions_.GetByID(id);
extension         152 extensions/browser/info_map.cc     if (extension && extension->HasAPIPermission(permission) &&
extension         154 extensions/browser/info_map.cc       extensions->Insert(extension);
extension          39 extensions/browser/info_map.h   void AddExtension(const extensions::Extension* extension,
extension          57 extensions/browser/info_map.h   bool CanCrossIncognito(const extensions::Extension* extension) const;
extension          46 extensions/browser/info_map_unittest.cc   scoped_refptr<Extension> extension =
extension          52 extensions/browser/info_map_unittest.cc   EXPECT_TRUE(extension.get()) << error;
extension          54 extensions/browser/info_map_unittest.cc   return extension;
extension          69 extensions/browser/info_map_unittest.cc   scoped_refptr<Extension> extension =
extension          75 extensions/browser/info_map_unittest.cc   EXPECT_TRUE(extension.get()) << error;
extension          77 extensions/browser/info_map_unittest.cc   return extension;
extension         133 extensions/browser/info_map_unittest.cc   scoped_refptr<Extension> extension(
extension         141 extensions/browser/info_map_unittest.cc   info_map->AddExtension(extension.get(), base::Time(), false, false);
extension         154 extensions/browser/info_map_unittest.cc       extension->GetResourceURL("a.html"));
extension          44 extensions/browser/lazy_background_task_queue.cc     const Extension* extension) {
extension          45 extensions/browser/lazy_background_task_queue.cc   DCHECK(extension);
extension          46 extensions/browser/lazy_background_task_queue.cc   if (BackgroundInfo::HasBackgroundPage(extension)) {
extension          51 extensions/browser/lazy_background_task_queue.cc         pm->GetBackgroundHostForExtension(extension->id());
extension          54 extensions/browser/lazy_background_task_queue.cc     if (pm->IsBackgroundHostClosing(extension->id()))
extension          55 extensions/browser/lazy_background_task_queue.cc       pm->CancelSuspend(extension);
extension          76 extensions/browser/lazy_background_task_queue.cc     const Extension* extension =
extension          79 extensions/browser/lazy_background_task_queue.cc     if (extension && BackgroundInfo::HasLazyBackgroundPage(extension)) {
extension          84 extensions/browser/lazy_background_task_queue.cc       pm->IncrementLazyKeepaliveCount(extension);
extension          88 extensions/browser/lazy_background_task_queue.cc             extension, BackgroundInfo::GetBackgroundURL(extension))) {
extension         103 extensions/browser/lazy_background_task_queue.cc     const Extension* extension) {
extension         108 extensions/browser/lazy_background_task_queue.cc   PendingTasksKey key(browser_context, extension->id());
extension         111 extensions/browser/lazy_background_task_queue.cc     if (BackgroundInfo::HasLazyBackgroundPage(extension))
extension         129 extensions/browser/lazy_background_task_queue.cc   if (host && BackgroundInfo::HasLazyBackgroundPage(extension)) {
extension         131 extensions/browser/lazy_background_task_queue.cc         DecrementLazyKeepaliveCount(extension);
extension         147 extensions/browser/lazy_background_task_queue.cc         ProcessPendingTasks(host, host->browser_context(), host->extension());
extension         161 extensions/browser/lazy_background_task_queue.cc         ProcessPendingTasks(NULL, browser_context, host->extension());
extension         171 extensions/browser/lazy_background_task_queue.cc       ProcessPendingTasks(NULL, browser_context, unloaded->extension);
extension         179 extensions/browser/lazy_background_task_queue.cc             unloaded->extension);
extension          47 extensions/browser/lazy_background_task_queue.h                          const Extension* extension);
extension          80 extensions/browser/lazy_background_task_queue.h       const Extension* extension);
extension          31 extensions/browser/lazy_background_task_queue_unittest.cc   virtual bool CreateBackgroundHost(const Extension* extension,
extension          60 extensions/browser/lazy_background_task_queue_unittest.cc     scoped_refptr<Extension> extension = ExtensionBuilder()
extension          67 extensions/browser/lazy_background_task_queue_unittest.cc     service_->AddExtension(extension);
extension          68 extensions/browser/lazy_background_task_queue_unittest.cc     return extension;
extension          73 extensions/browser/lazy_background_task_queue_unittest.cc     scoped_refptr<Extension> extension = ExtensionBuilder()
extension          84 extensions/browser/lazy_background_task_queue_unittest.cc     service_->AddExtension(extension);
extension          85 extensions/browser/lazy_background_task_queue_unittest.cc     return extension;
extension         168 extensions/browser/lazy_background_task_queue_unittest.cc   scoped_refptr<Extension> extension = CreateSimpleExtension();
extension         169 extensions/browser/lazy_background_task_queue_unittest.cc   queue.ProcessPendingTasks(NULL, profile_.get(), extension);
extension         174 extensions/browser/lazy_background_task_queue_unittest.cc                        extension->id(),
extension         182 extensions/browser/lazy_background_task_queue_unittest.cc   queue.ProcessPendingTasks(NULL, &profile2, extension);
extension         188 extensions/browser/lazy_background_task_queue_unittest.cc   queue.ProcessPendingTasks(NULL, profile_.get(), extension);
extension          11 extensions/browser/management_policy.cc void GetExtensionNameAndId(const Extension* extension,
extension          15 extensions/browser/management_policy.cc   *id = extension ? extension->id() : "[test]";
extension          16 extensions/browser/management_policy.cc   *name = extension ? extension->name() : "test";
extension          27 extensions/browser/management_policy.cc bool ManagementPolicy::Provider::UserMayLoad(const Extension* extension,
extension          33 extensions/browser/management_policy.cc     const Extension* extension, base::string16* error) const {
extension          37 extensions/browser/management_policy.cc bool ManagementPolicy::Provider::MustRemainEnabled(const Extension* extension,
extension          44 extensions/browser/management_policy.cc     const Extension* extension,
extension          58 extensions/browser/management_policy.cc bool ManagementPolicy::UserMayLoad(const Extension* extension,
extension          61 extensions/browser/management_policy.cc                              true, extension, error);
extension          64 extensions/browser/management_policy.cc bool ManagementPolicy::UserMayModifySettings(const Extension* extension,
extension          67 extensions/browser/management_policy.cc                              true, extension, error);
extension          70 extensions/browser/management_policy.cc bool ManagementPolicy::MustRemainEnabled(const Extension* extension,
extension          73 extensions/browser/management_policy.cc                              false, extension, error);
extension          76 extensions/browser/management_policy.cc bool ManagementPolicy::MustRemainDisabled(const Extension* extension,
extension          81 extensions/browser/management_policy.cc     if ((*it)->MustRemainDisabled(extension, reason, error))
extension          98 extensions/browser/management_policy.cc                                            const Extension* extension,
extension         103 extensions/browser/management_policy.cc     bool result = (provider->*function)(extension, error);
extension         107 extensions/browser/management_policy.cc       GetExtensionNameAndId(extension, &name, &id);
extension          54 extensions/browser/management_policy.h     virtual bool UserMayLoad(const Extension* extension,
extension          60 extensions/browser/management_policy.h     virtual bool UserMayModifySettings(const Extension* extension,
extension          68 extensions/browser/management_policy.h     virtual bool MustRemainEnabled(const Extension* extension,
extension          73 extensions/browser/management_policy.h     virtual bool MustRemainDisabled(const Extension* extension,
extension          92 extensions/browser/management_policy.h   bool UserMayLoad(const Extension* extension, base::string16* error) const;
extension          97 extensions/browser/management_policy.h   bool UserMayModifySettings(const Extension* extension,
extension         103 extensions/browser/management_policy.h   bool MustRemainEnabled(const Extension* extension,
extension         108 extensions/browser/management_policy.h   bool MustRemainDisabled(const Extension* extension,
extension         132 extensions/browser/management_policy.h                            const Extension* extension,
extension         110 extensions/browser/process_manager.cc   virtual bool CreateBackgroundHost(const Extension* extension,
extension         121 extensions/browser/process_manager.cc     ProcessManager* manager, const Extension* extension) {
extension         123 extensions/browser/process_manager.cc   if (BackgroundInfo::HasPersistentBackgroundPage(extension))
extension         124 extensions/browser/process_manager.cc     manager->CreateBackgroundHost(extension,
extension         125 extensions/browser/process_manager.cc                                   BackgroundInfo::GetBackgroundURL(extension));
extension         302 extensions/browser/process_manager.cc bool ProcessManager::CreateBackgroundHost(const Extension* extension,
extension         306 extensions/browser/process_manager.cc   if (extension->is_hosted_app() ||
extension         313 extensions/browser/process_manager.cc   if (GetBackgroundHostForExtension(extension->id()))
extension         317 extensions/browser/process_manager.cc       new ExtensionHost(extension, GetSiteInstanceForURL(url), url,
extension         381 extensions/browser/process_manager.cc     const Extension* extension = GetExtensionForRenderViewHost(
extension         383 extensions/browser/process_manager.cc     if (extension)
extension         384 extensions/browser/process_manager.cc       DecrementLazyKeepaliveCount(extension);
extension         389 extensions/browser/process_manager.cc   const Extension* extension = GetExtensionForRenderViewHost(
extension         391 extensions/browser/process_manager.cc   if (!extension)
extension         413 extensions/browser/process_manager.cc int ProcessManager::GetLazyKeepaliveCount(const Extension* extension) {
extension         414 extensions/browser/process_manager.cc   if (!BackgroundInfo::HasLazyBackgroundPage(extension))
extension         417 extensions/browser/process_manager.cc   return background_page_data_[extension->id()].lazy_keepalive_count;
extension         420 extensions/browser/process_manager.cc void ProcessManager::IncrementLazyKeepaliveCount(const Extension* extension) {
extension         421 extensions/browser/process_manager.cc   if (!BackgroundInfo::HasLazyBackgroundPage(extension))
extension         424 extensions/browser/process_manager.cc   int& count = background_page_data_[extension->id()].lazy_keepalive_count;
extension         426 extensions/browser/process_manager.cc     OnLazyBackgroundPageActive(extension->id());
extension         429 extensions/browser/process_manager.cc void ProcessManager::DecrementLazyKeepaliveCount(const Extension* extension) {
extension         430 extensions/browser/process_manager.cc   if (!BackgroundInfo::HasLazyBackgroundPage(extension))
extension         432 extensions/browser/process_manager.cc   DecrementLazyKeepaliveCount(extension->id());
extension         461 extensions/browser/process_manager.cc     const Extension* extension = GetExtensionForRenderViewHost(
extension         463 extensions/browser/process_manager.cc     if (extension)
extension         464 extensions/browser/process_manager.cc       IncrementLazyKeepaliveCount(extension);
extension         471 extensions/browser/process_manager.cc void ProcessManager::KeepaliveImpulse(const Extension* extension) {
extension         472 extensions/browser/process_manager.cc   if (!BackgroundInfo::HasLazyBackgroundPage(extension))
extension         475 extensions/browser/process_manager.cc   BackgroundPageData& bd = background_page_data_[extension->id()];
extension         480 extensions/browser/process_manager.cc       IncrementLazyKeepaliveCount(extension);
extension         487 extensions/browser/process_manager.cc     callback_may_clear_callbacks_reentrantly.Run(extension->id());
extension         586 extensions/browser/process_manager.cc     IncrementLazyKeepaliveCount(host->extension());
extension         594 extensions/browser/process_manager.cc     DecrementLazyKeepaliveCount(host->extension());
extension         597 extensions/browser/process_manager.cc void ProcessManager::CancelSuspend(const Extension* extension) {
extension         598 extensions/browser/process_manager.cc   bool& is_closing = background_page_data_[extension->id()].is_closing;
extension         599 extensions/browser/process_manager.cc   ExtensionHost* host = GetBackgroundHostForExtension(extension->id());
extension         603 extensions/browser/process_manager.cc         new ExtensionMsg_CancelSuspend(extension->id()));
extension         608 extensions/browser/process_manager.cc     IncrementLazyKeepaliveCount(extension);
extension         609 extensions/browser/process_manager.cc     DecrementLazyKeepaliveCount(extension);
extension         658 extensions/browser/process_manager.cc         const Extension* extension =
extension         660 extensions/browser/process_manager.cc         CreateBackgroundHostForExtensionLoad(this, extension);
extension         666 extensions/browser/process_manager.cc       const Extension* extension =
extension         667 extensions/browser/process_manager.cc           content::Details<UnloadedExtensionInfo>(details)->extension;
extension         671 extensions/browser/process_manager.cc         if (host->extension_id() == extension->id()) {
extension         676 extensions/browser/process_manager.cc       UnregisterExtension(extension->id());
extension         683 extensions/browser/process_manager.cc         ClearBackgroundPageData(host->extension()->id());
extension         684 extensions/browser/process_manager.cc         background_page_data_[host->extension()->id()].since_suspended.reset(
extension         726 extensions/browser/process_manager.cc       const Extension* extension = GetExtensionForRenderViewHost(
extension         728 extensions/browser/process_manager.cc       if (!extension)
extension         765 extensions/browser/process_manager.cc   const Extension* extension = GetExtensionForRenderViewHost(rvh);
extension         766 extensions/browser/process_manager.cc   if (!extension)
extension         770 extensions/browser/process_manager.cc     CancelSuspend(extension);
extension         771 extensions/browser/process_manager.cc     IncrementLazyKeepaliveCount(extension);
extension         773 extensions/browser/process_manager.cc     DecrementLazyKeepaliveCount(extension);
extension         786 extensions/browser/process_manager.cc   for (ExtensionSet::const_iterator extension = enabled_extensions.begin();
extension         787 extensions/browser/process_manager.cc        extension != enabled_extensions.end();
extension         788 extensions/browser/process_manager.cc        ++extension) {
extension         789 extensions/browser/process_manager.cc     CreateBackgroundHostForExtensionLoad(this, extension->get());
extension         793 extensions/browser/process_manager.cc                       OnBackgroundHostStartup(*extension));
extension         823 extensions/browser/process_manager.cc   if (BackgroundInfo::HasLazyBackgroundPage(host->extension())) {
extension         825 extensions/browser/process_manager.cc         background_page_data_[host->extension()->id()].
extension         911 extensions/browser/process_manager.cc bool IncognitoProcessManager::CreateBackgroundHost(const Extension* extension,
extension         913 extensions/browser/process_manager.cc   if (IncognitoInfo::IsSplitMode(extension)) {
extension         915 extensions/browser/process_manager.cc             extension->id(), GetBrowserContext()))
extension         916 extensions/browser/process_manager.cc       return ProcessManager::CreateBackgroundHost(extension, url);
extension         927 extensions/browser/process_manager.cc     const Extension* extension =
extension         929 extensions/browser/process_manager.cc     if (extension && !IncognitoInfo::IsSplitMode(extension)) {
extension          64 extensions/browser/process_manager.h   virtual bool CreateBackgroundHost(const Extension* extension,
extension          97 extensions/browser/process_manager.h   int GetLazyKeepaliveCount(const Extension* extension);
extension          98 extensions/browser/process_manager.h   void IncrementLazyKeepaliveCount(const Extension* extension);
extension          99 extensions/browser/process_manager.h   void DecrementLazyKeepaliveCount(const Extension* extension);
extension         107 extensions/browser/process_manager.h   void KeepaliveImpulse(const Extension* extension);
extension         123 extensions/browser/process_manager.h   void CancelSuspend(const Extension* extension);
extension          16 extensions/browser/process_manager_observer.h   virtual void OnBackgroundHostStartup(const Extension* extension) = 0;
extension          21 extensions/browser/runtime_data.cc bool RuntimeData::IsBackgroundPageReady(const Extension* extension) const {
extension          22 extensions/browser/runtime_data.cc   if (!BackgroundInfo::HasPersistentBackgroundPage(extension))
extension          24 extensions/browser/runtime_data.cc   return HasFlag(extension, BACKGROUND_PAGE_READY);
extension          27 extensions/browser/runtime_data.cc void RuntimeData::SetBackgroundPageReady(const Extension* extension,
extension          29 extensions/browser/runtime_data.cc   SetFlag(extension, BACKGROUND_PAGE_READY, value);
extension          32 extensions/browser/runtime_data.cc bool RuntimeData::IsBeingUpgraded(const Extension* extension) const {
extension          33 extensions/browser/runtime_data.cc   return HasFlag(extension, BEING_UPGRADED);
extension          36 extensions/browser/runtime_data.cc void RuntimeData::SetBeingUpgraded(const Extension* extension, bool value) {
extension          37 extensions/browser/runtime_data.cc   SetFlag(extension, BEING_UPGRADED, value);
extension          40 extensions/browser/runtime_data.cc bool RuntimeData::HasUsedWebRequest(const Extension* extension) const {
extension          41 extensions/browser/runtime_data.cc   return HasFlag(extension, HAS_USED_WEBREQUEST);
extension          44 extensions/browser/runtime_data.cc void RuntimeData::SetHasUsedWebRequest(const Extension* extension, bool value) {
extension          45 extensions/browser/runtime_data.cc   SetFlag(extension, HAS_USED_WEBREQUEST, value);
extension          48 extensions/browser/runtime_data.cc bool RuntimeData::HasExtensionForTesting(const Extension* extension) const {
extension          49 extensions/browser/runtime_data.cc   return extension_flags_.find(extension->id()) != extension_flags_.end();
extension          56 extensions/browser/runtime_data.cc void RuntimeData::OnExtensionUnloaded(const Extension* extension) {
extension          57 extensions/browser/runtime_data.cc   extension_flags_.erase(extension->id());
extension          60 extensions/browser/runtime_data.cc bool RuntimeData::HasFlag(const Extension* extension, RuntimeFlag flag) const {
extension          61 extensions/browser/runtime_data.cc   ExtensionFlagsMap::const_iterator it = extension_flags_.find(extension->id());
extension          67 extensions/browser/runtime_data.cc void RuntimeData::SetFlag(const Extension* extension,
extension          71 extensions/browser/runtime_data.cc     extension_flags_[extension->id()] |= flag;
extension          73 extensions/browser/runtime_data.cc     extension_flags_[extension->id()] &= ~flag;
extension          33 extensions/browser/runtime_data.h   bool IsBackgroundPageReady(const Extension* extension) const;
extension          34 extensions/browser/runtime_data.h   void SetBackgroundPageReady(const Extension* extension, bool value);
extension          38 extensions/browser/runtime_data.h   bool IsBeingUpgraded(const Extension* extension) const;
extension          39 extensions/browser/runtime_data.h   void SetBeingUpgraded(const Extension* extension, bool value);
extension          44 extensions/browser/runtime_data.h   bool HasUsedWebRequest(const Extension* extension) const;
extension          45 extensions/browser/runtime_data.h   void SetHasUsedWebRequest(const Extension* extension, bool value);
extension          48 extensions/browser/runtime_data.h   bool HasExtensionForTesting(const Extension* extension) const;
extension          55 extensions/browser/runtime_data.h   virtual void OnExtensionUnloaded(const Extension* extension) OVERRIDE;
extension          69 extensions/browser/runtime_data.h   bool HasFlag(const Extension* extension, RuntimeFlag flag) const;
extension          73 extensions/browser/runtime_data.h   void SetFlag(const Extension* extension, RuntimeFlag flag, bool value);
extension          71 extensions/browser/runtime_data_unittest.cc   scoped_refptr<Extension> extension = CreateExtension();
extension          74 extensions/browser/runtime_data_unittest.cc   EXPECT_FALSE(runtime_data_.IsBeingUpgraded(extension));
extension          77 extensions/browser/runtime_data_unittest.cc   runtime_data_.SetBeingUpgraded(extension, true);
extension          78 extensions/browser/runtime_data_unittest.cc   EXPECT_TRUE(runtime_data_.IsBeingUpgraded(extension));
extension          79 extensions/browser/runtime_data_unittest.cc   runtime_data_.SetBeingUpgraded(extension, false);
extension          80 extensions/browser/runtime_data_unittest.cc   EXPECT_FALSE(runtime_data_.IsBeingUpgraded(extension));
extension          85 extensions/browser/runtime_data_unittest.cc   scoped_refptr<Extension> extension = CreateExtension();
extension          88 extensions/browser/runtime_data_unittest.cc   EXPECT_FALSE(runtime_data_.HasUsedWebRequest(extension));
extension          91 extensions/browser/runtime_data_unittest.cc   runtime_data_.SetHasUsedWebRequest(extension, true);
extension          92 extensions/browser/runtime_data_unittest.cc   EXPECT_TRUE(runtime_data_.HasUsedWebRequest(extension));
extension          93 extensions/browser/runtime_data_unittest.cc   runtime_data_.SetHasUsedWebRequest(extension, false);
extension          94 extensions/browser/runtime_data_unittest.cc   EXPECT_FALSE(runtime_data_.HasUsedWebRequest(extension));
extension          99 extensions/browser/runtime_data_unittest.cc   scoped_refptr<Extension> extension = CreateExtensionWithBackgroundPage();
extension         100 extensions/browser/runtime_data_unittest.cc   runtime_data_.SetBackgroundPageReady(extension, true);
extension         101 extensions/browser/runtime_data_unittest.cc   ASSERT_TRUE(runtime_data_.HasExtensionForTesting(extension));
extension         103 extensions/browser/runtime_data_unittest.cc   runtime_data_.OnExtensionUnloaded(extension);
extension         104 extensions/browser/runtime_data_unittest.cc   EXPECT_FALSE(runtime_data_.HasExtensionForTesting(extension));
extension          81 extensions/browser/test_extensions_browser_client.cc     const extensions::Extension* extension,
extension          43 extensions/browser/test_extensions_browser_client.h       const extensions::Extension* extension,
extension          43 extensions/browser/test_management_policy.cc bool TestManagementPolicyProvider::UserMayLoad(const Extension* extension,
extension          51 extensions/browser/test_management_policy.cc     const Extension* extension, base::string16* error) const {
extension          57 extensions/browser/test_management_policy.cc bool TestManagementPolicyProvider::MustRemainEnabled(const Extension* extension,
extension          66 extensions/browser/test_management_policy.cc     const Extension* extension,
extension          39 extensions/browser/test_management_policy.h   virtual bool UserMayLoad(const Extension* extension,
extension          42 extensions/browser/test_management_policy.h   virtual bool UserMayModifySettings(const Extension* extension,
extension          45 extensions/browser/test_management_policy.h   virtual bool MustRemainEnabled(const Extension* extension,
extension          48 extensions/browser/test_management_policy.h   virtual bool MustRemainDisabled(const Extension* extension,
extension          16 extensions/browser/update_observer.h   virtual void OnAppUpdateAvailable(const Extension* extension) = 0;
extension          21 extensions/common/api/sockets/sockets_manifest_data.cc SocketsManifestData* SocketsManifestData::Get(const Extension* extension) {
extension          23 extensions/common/api/sockets/sockets_manifest_data.cc       extension->GetManifestData(manifest_keys::kSockets));
extension          28 extensions/common/api/sockets/sockets_manifest_data.cc     const Extension* extension,
extension          30 extensions/common/api/sockets/sockets_manifest_data.cc   const SocketsManifestData* data = SocketsManifestData::Get(extension);
extension          32 extensions/common/api/sockets/sockets_manifest_data.cc     return data->permission()->CheckRequest(extension, request);
extension          33 extensions/common/api/sockets/sockets_manifest_data.h   static SocketsManifestData* Get(const Extension* extension);
extension          35 extensions/common/api/sockets/sockets_manifest_data.h   static bool CheckRequest(const Extension* extension,
extension          18 extensions/common/api/sockets/sockets_manifest_handler.cc bool SocketsManifestHandler::Parse(Extension* extension,
extension          21 extensions/common/api/sockets/sockets_manifest_handler.cc   CHECK(extension->manifest()->Get(manifest_keys::kSockets, &sockets));
extension          27 extensions/common/api/sockets/sockets_manifest_handler.cc   extension->SetManifestData(manifest_keys::kSockets, data.release());
extension          36 extensions/common/api/sockets/sockets_manifest_handler.cc     const Extension* extension) {
extension          37 extensions/common/api/sockets/sockets_manifest_handler.cc   SocketsManifestData* data = SocketsManifestData::Get(extension);
extension          27 extensions/common/api/sockets/sockets_manifest_handler.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          30 extensions/common/api/sockets/sockets_manifest_handler.h       const Extension* extension) OVERRIDE;
extension         145 extensions/common/api/sockets/sockets_manifest_permission.cc     const Extension* extension,
extension          37 extensions/common/api/sockets/sockets_manifest_permission.h   bool CheckRequest(const Extension* extension,
extension         128 extensions/common/extension.cc   scoped_refptr<Extension> extension = new Extension(path, manifest.Pass());
extension         129 extensions/common/extension.cc   extension->install_warnings_.swap(install_warnings);
extension         131 extensions/common/extension.cc   if (!extension->InitFromValue(flags, &error)) {
extension         136 extensions/common/extension.cc   return extension;
extension         774 extensions/common/extension.cc     const Extension* extension,
extension         777 extensions/common/extension.cc     : extension(extension),
extension         782 extensions/common/extension.cc     const Extension* extension,
extension         785 extensions/common/extension.cc       extension(extension) {}
extension         788 extensions/common/extension.cc     const Extension* extension,
extension         792 extensions/common/extension.cc       extension(extension),
extension         499 extensions/common/extension.h   const Extension* extension;
extension         508 extensions/common/extension.h   InstalledExtensionInfo(const Extension* extension,
extension         525 extensions/common/extension.h   const Extension* extension;
extension         527 extensions/common/extension.h   UnloadedExtensionInfo(const Extension* extension, Reason reason);
extension         540 extensions/common/extension.h   const Extension* extension;
extension         548 extensions/common/extension.h       const Extension* extension,
extension         276 extensions/common/extension_api.cc                                                   const Extension* extension,
extension         281 extensions/common/extension_api.cc   if (IsAvailable(api, extension, context, url).is_available())
extension         290 extensions/common/extension_api.cc     if (IsAvailable(**feature, extension, context, url).is_available())
extension         297 extensions/common/extension_api.cc                                                 const Extension* extension,
extension         302 extensions/common/extension_api.cc   return IsAvailable(*feature, extension, context, url);
extension         306 extensions/common/extension_api.cc                                                 const Extension* extension,
extension         310 extensions/common/extension_api.cc       feature.IsAvailableToContext(extension, context, url);
extension         317 extensions/common/extension_api.cc         IsAvailable(*iter, extension, context, url);
extension          75 extensions/common/extension_api.h                                     const Extension* extension,
extension          82 extensions/common/extension_api.h                                     const Extension* extension,
extension          89 extensions/common/extension_api.h                                       const Extension* extension,
extension          26 extensions/common/extension_api_stub.cc     const Extension* extension,
extension          34 extensions/common/extension_api_stub.cc     const Extension* extension,
extension          41 extensions/common/extension_api_stub.cc                                                   const Extension* extension,
extension          19 extensions/common/extension_builder.cc   scoped_refptr<Extension> extension = Extension::Create(
extension          27 extensions/common/extension_builder.cc   return extension;
extension          32 extensions/common/extension_messages.cc     const Extension* extension)
extension          33 extensions/common/extension_messages.cc     : manifest(extension->manifest()->value()->DeepCopy()),
extension          34 extensions/common/extension_messages.cc       location(extension->location()),
extension          35 extensions/common/extension_messages.cc       path(extension->path()),
extension          36 extensions/common/extension_messages.cc       apis(extension->GetActivePermissions()->apis()),
extension          38 extensions/common/extension_messages.cc           extension->GetActivePermissions()->manifest_permissions()),
extension          39 extensions/common/extension_messages.cc       explicit_hosts(extension->GetActivePermissions()->explicit_hosts()),
extension          40 extensions/common/extension_messages.cc       scriptable_hosts(extension->GetActivePermissions()->scriptable_hosts()),
extension          41 extensions/common/extension_messages.cc       id(extension->id()),
extension          42 extensions/common/extension_messages.cc       creation_flags(extension->creation_flags()) {
extension          47 extensions/common/extension_messages.cc   scoped_refptr<Extension> extension =
extension          49 extensions/common/extension_messages.cc   if (extension.get()) {
extension          51 extensions/common/extension_messages.cc         extension.get(),
extension          55 extensions/common/extension_messages.cc   return extension;
extension         211 extensions/common/extension_messages.h   explicit ExtensionMsg_Loaded_Params(const extensions::Extension* extension);
extension          46 extensions/common/extension_set.cc bool ExtensionSet::Insert(const scoped_refptr<const Extension>& extension) {
extension          47 extensions/common/extension_set.cc   bool was_present = ContainsKey(extensions_, extension->id());
extension          48 extensions/common/extension_set.cc   extensions_[extension->id()] = extension;
extension          78 extensions/common/extension_set.cc   const Extension* extension = GetHostedAppByURL(url);
extension          79 extensions/common/extension_set.cc   if (!extension)
extension          82 extensions/common/extension_set.cc   return extension->id();
extension          80 extensions/common/extension_set.h   bool Insert(const scoped_refptr<const Extension>& extension);
extension          42 extensions/common/extension_set_unittest.cc   scoped_refptr<Extension> extension(
extension          45 extensions/common/extension_set_unittest.cc   EXPECT_TRUE(extension.get()) << error;
extension          46 extensions/common/extension_set_unittest.cc   return extension;
extension          71 extensions/common/extensions_client.h       const Extension* extension,
extension          39 extensions/common/features/base_feature_provider_unittest.cc   scoped_refptr<const Extension> extension(Extension::Create(
extension          43 extensions/common/features/base_feature_provider_unittest.cc   ASSERT_TRUE(extension.get());
extension          45 extensions/common/features/base_feature_provider_unittest.cc       extension.get(), Feature::UNSPECIFIED_CONTEXT).result());
extension          51 extensions/common/features/base_feature_provider_unittest.cc       extension.get(), Feature::UNSPECIFIED_CONTEXT).result());
extension          57 extensions/common/features/base_feature_provider_unittest.cc       extension.get(), Feature::UNSPECIFIED_CONTEXT).result());
extension          80 extensions/common/features/base_feature_provider_unittest.cc   scoped_refptr<const Extension> extension(Extension::Create(
extension          84 extensions/common/features/base_feature_provider_unittest.cc   ASSERT_TRUE(extension.get());
extension          86 extensions/common/features/base_feature_provider_unittest.cc       extension.get(), Feature::UNSPECIFIED_CONTEXT).result());
extension          92 extensions/common/features/base_feature_provider_unittest.cc       extension.get(), Feature::UNSPECIFIED_CONTEXT).result());
extension          98 extensions/common/features/base_feature_provider_unittest.cc       extension.get(), Feature::UNSPECIFIED_CONTEXT).result());
extension          61 extensions/common/features/complex_feature.cc     const Extension* extension,
extension          66 extensions/common/features/complex_feature.cc       features_[0]->IsAvailableToContext(extension, context, url, platform);
extension          73 extensions/common/features/complex_feature.cc         (*it)->IsAvailableToContext(extension, context, url, platform);
extension          34 extensions/common/features/complex_feature.h   virtual Availability IsAvailableToContext(const Extension* extension,
extension         143 extensions/common/features/feature.h   Availability IsAvailableToContext(const Extension* extension,
extension         146 extensions/common/features/feature.h     return IsAvailableToContext(extension, context, url, GetCurrentPlatform());
extension         148 extensions/common/features/feature.h   virtual Availability IsAvailableToContext(const Extension* extension,
extension          18 extensions/common/features/manifest_feature.cc     const Extension* extension,
extension          22 extensions/common/features/manifest_feature.cc   Availability availability = SimpleFeature::IsAvailableToContext(extension,
extension          31 extensions/common/features/manifest_feature.cc   if (extension && !extension->manifest()->value()->HasKey(name()))
extension          32 extensions/common/features/manifest_feature.cc     return CreateAvailability(NOT_PRESENT, extension->GetType());
extension          18 extensions/common/features/manifest_feature.h       const Extension* extension,
extension          19 extensions/common/features/permission_feature.cc     const Extension* extension,
extension          23 extensions/common/features/permission_feature.cc   Availability availability = SimpleFeature::IsAvailableToContext(extension,
extension          30 extensions/common/features/permission_feature.cc   if (extension && !PermissionsData::HasAPIPermission(extension, name()))
extension          31 extensions/common/features/permission_feature.cc     return CreateAvailability(NOT_PRESENT, extension->GetType());
extension          18 extensions/common/features/permission_feature.h       const Extension* extension,
extension         327 extensions/common/features/simple_feature.cc     const Extension* extension,
extension         331 extensions/common/features/simple_feature.cc   if (extension) {
extension         333 extensions/common/features/simple_feature.cc         extension->id(),
extension         334 extensions/common/features/simple_feature.cc         extension->GetType(),
extension         335 extensions/common/features/simple_feature.cc         ConvertLocation(extension->location()),
extension         336 extensions/common/features/simple_feature.cc         extension->manifest_version(),
extension         352 extensions/common/features/simple_feature.cc         (*filter_iter)->IsAvailableToContext(extension, context, url, platform);
extension          57 extensions/common/features/simple_feature.h   Availability IsAvailableToContext(const Extension* extension,
extension          59 extensions/common/features/simple_feature.h     return IsAvailableToContext(extension, context, GURL());
extension          61 extensions/common/features/simple_feature.h   Availability IsAvailableToContext(const Extension* extension,
extension          64 extensions/common/features/simple_feature.h     return IsAvailableToContext(extension, context, GURL(), platform);
extension          66 extensions/common/features/simple_feature.h   Availability IsAvailableToContext(const Extension* extension,
extension          69 extensions/common/features/simple_feature.h     return IsAvailableToContext(extension, context, url, GetCurrentPlatform());
extension          79 extensions/common/features/simple_feature.h   virtual Availability IsAvailableToContext(const Extension* extension,
extension          21 extensions/common/features/simple_feature_filter.cc     const Extension* extension,
extension          40 extensions/common/features/simple_feature_filter.h       const Extension* extension,
extension         190 extensions/common/features/simple_feature_unittest.cc   scoped_refptr<const Extension> extension(Extension::Create(
extension         194 extensions/common/features/simple_feature_unittest.cc   ASSERT_TRUE(extension.get());
extension         198 extensions/common/features/simple_feature_unittest.cc       extension.get(), Feature::BLESSED_EXTENSION_CONTEXT,
extension         206 extensions/common/features/simple_feature_unittest.cc         extension.get(), Feature::BLESSED_EXTENSION_CONTEXT,
extension         221 extensions/common/features/simple_feature_unittest.cc         extension.get(), Feature::BLESSED_EXTENSION_CONTEXT,
extension         232 extensions/common/features/simple_feature_unittest.cc         extension.get(), Feature::BLESSED_EXTENSION_CONTEXT,
extension         244 extensions/common/features/simple_feature_unittest.cc       extension.get(), Feature::BLESSED_EXTENSION_CONTEXT,
extension         249 extensions/common/features/simple_feature_unittest.cc       extension.get(), Feature::BLESSED_EXTENSION_CONTEXT,
extension         254 extensions/common/features/simple_feature_unittest.cc       extension.get(), Feature::BLESSED_EXTENSION_CONTEXT,
extension         260 extensions/common/features/simple_feature_unittest.cc       extension.get(), Feature::BLESSED_EXTENSION_CONTEXT,
extension          37 extensions/common/manifest_handler.cc bool ManifestHandler::Validate(const Extension* extension,
extension          67 extensions/common/manifest_handler.cc     const Extension* extension) {
extension          82 extensions/common/manifest_handler.cc bool ManifestHandler::ParseExtension(Extension* extension,
extension          84 extensions/common/manifest_handler.cc   return GetRegistry()->ParseExtension(extension, error);
extension          88 extensions/common/manifest_handler.cc bool ManifestHandler::ValidateExtension(const Extension* extension,
extension          91 extensions/common/manifest_handler.cc   return GetRegistry()->ValidateExtension(extension, error, warnings);
extension         101 extensions/common/manifest_handler.cc     const Extension* extension, ManifestPermissionSet* permission_set) {
extension         102 extensions/common/manifest_handler.cc   return GetRegistry()->AddExtensionInitialRequiredPermissions(extension,
extension         130 extensions/common/manifest_handler.cc bool ManifestHandlerRegistry::ParseExtension(Extension* extension,
extension         136 extensions/common/manifest_handler.cc     if (extension->manifest()->HasPath(iter->first) ||
extension         137 extensions/common/manifest_handler.cc         handler->AlwaysParseForType(extension->GetType())) {
extension         144 extensions/common/manifest_handler.cc     if (!(iter->second)->Parse(extension, error))
extension         151 extensions/common/manifest_handler.cc     const Extension* extension,
extension         158 extensions/common/manifest_handler.cc     if (extension->manifest()->HasPath(iter->first) ||
extension         159 extensions/common/manifest_handler.cc         handler->AlwaysValidateForType(extension->GetType())) {
extension         165 extensions/common/manifest_handler.cc     if (!(*iter)->Validate(extension, error, warnings))
extension         181 extensions/common/manifest_handler.cc     const Extension* extension, ManifestPermissionSet* permission_set) {
extension         185 extensions/common/manifest_handler.cc         it->second->CreateInitialRequiredPermission(extension);
extension          32 extensions/common/manifest_handler.h   virtual bool Parse(Extension* extension, base::string16* error) = 0;
extension          41 extensions/common/manifest_handler.h   virtual bool Validate(const Extension* extension,
extension          80 extensions/common/manifest_handler.h       const Extension* extension);
extension          90 extensions/common/manifest_handler.h   static bool ParseExtension(Extension* extension, base::string16* error);
extension          93 extensions/common/manifest_handler.h   static bool ValidateExtension(const Extension* extension,
extension         109 extensions/common/manifest_handler.h       const Extension* extension, ManifestPermissionSet* permission_set);
extension         135 extensions/common/manifest_handler.h   bool ParseExtension(Extension* extension, base::string16* error);
extension         136 extensions/common/manifest_handler.h   bool ValidateExtension(const Extension* extension,
extension         143 extensions/common/manifest_handler.h       const Extension* extension,
extension          86 extensions/common/manifest_handler_unittest.cc     virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE {
extension         114 extensions/common/manifest_handler_unittest.cc     virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE {
extension         144 extensions/common/manifest_handler_unittest.cc     virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE {
extension         149 extensions/common/manifest_handler_unittest.cc         const Extension* extension,
extension         192 extensions/common/manifest_handler_unittest.cc   scoped_refptr<Extension> extension = ExtensionBuilder()
extension         227 extensions/common/manifest_handler_unittest.cc   scoped_refptr<Extension> extension = Extension::Create(
extension         233 extensions/common/manifest_handler_unittest.cc   EXPECT_TRUE(extension.get());
extension         241 extensions/common/manifest_handler_unittest.cc   extension = Extension::Create(
extension         247 extensions/common/manifest_handler_unittest.cc   EXPECT_FALSE(extension.get());
extension         253 extensions/common/manifest_handler_unittest.cc   scoped_refptr<Extension> extension = ExtensionBuilder()
extension         261 extensions/common/manifest_handler_unittest.cc   EXPECT_TRUE(extension.get());
extension         268 extensions/common/manifest_handler_unittest.cc       ManifestHandler::ValidateExtension(extension.get(), &error, &warnings));
extension         273 extensions/common/manifest_handler_unittest.cc       ManifestHandler::ValidateExtension(extension.get(), &error, &warnings));
extension         278 extensions/common/manifest_handler_unittest.cc       ManifestHandler::ValidateExtension(extension.get(), &error, &warnings));
extension          40 extensions/common/manifest_handlers/background_info.cc const BackgroundInfo& GetBackgroundInfo(const Extension* extension) {
extension          42 extensions/common/manifest_handlers/background_info.cc       extension->GetManifestData(kBackground));
extension          59 extensions/common/manifest_handlers/background_info.cc GURL BackgroundInfo::GetBackgroundURL(const Extension* extension) {
extension          60 extensions/common/manifest_handlers/background_info.cc   const BackgroundInfo& info = GetBackgroundInfo(extension);
extension          63 extensions/common/manifest_handlers/background_info.cc   return extension->GetResourceURL(kGeneratedBackgroundPageFilename);
extension          68 extensions/common/manifest_handlers/background_info.cc     const Extension* extension) {
extension          69 extensions/common/manifest_handlers/background_info.cc   return GetBackgroundInfo(extension).background_scripts_;
extension          74 extensions/common/manifest_handlers/background_info.cc     const Extension* extension) {
extension          75 extensions/common/manifest_handlers/background_info.cc   return GetBackgroundInfo(extension).service_worker_script_;
extension          79 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::HasBackgroundPage(const Extension* extension) {
extension          80 extensions/common/manifest_handlers/background_info.cc   return GetBackgroundInfo(extension).has_background_page();
extension          84 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::HasPersistentBackgroundPage(const Extension* extension)  {
extension          85 extensions/common/manifest_handlers/background_info.cc   return GetBackgroundInfo(extension).has_persistent_background_page();
extension          89 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::HasLazyBackgroundPage(const Extension* extension) {
extension          90 extensions/common/manifest_handlers/background_info.cc   return GetBackgroundInfo(extension).has_lazy_background_page();
extension          94 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::HasGeneratedBackgroundPage(const Extension* extension) {
extension          95 extensions/common/manifest_handlers/background_info.cc   const BackgroundInfo& info = GetBackgroundInfo(extension);
extension         100 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::HasServiceWorker(const Extension* extension) {
extension         101 extensions/common/manifest_handlers/background_info.cc   return GetBackgroundInfo(extension).has_service_worker();
extension         105 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::AllowJSAccess(const Extension* extension) {
extension         106 extensions/common/manifest_handlers/background_info.cc   return GetBackgroundInfo(extension).allow_js_access_;
extension         109 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::Parse(const Extension* extension, base::string16* error) {
extension         110 extensions/common/manifest_handlers/background_info.cc   const std::string& bg_scripts_key = extension->is_platform_app() ?
extension         113 extensions/common/manifest_handlers/background_info.cc       extension->is_platform_app()
extension         116 extensions/common/manifest_handlers/background_info.cc   if (!LoadServiceWorkerScript(extension, sw_scripts_key, error) ||
extension         117 extensions/common/manifest_handlers/background_info.cc       !LoadBackgroundScripts(extension, bg_scripts_key, error) ||
extension         118 extensions/common/manifest_handlers/background_info.cc       !LoadBackgroundPage(extension, error) ||
extension         119 extensions/common/manifest_handlers/background_info.cc       !LoadBackgroundPersistent(extension, error) ||
extension         120 extensions/common/manifest_handlers/background_info.cc       !LoadAllowJSAccess(extension, error)) {
extension         135 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::LoadServiceWorkerScript(const Extension* extension,
extension         139 extensions/common/manifest_handlers/background_info.cc   if (!extension->manifest()->Get(key, &service_worker_script_value))
extension         156 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::LoadBackgroundScripts(const Extension* extension,
extension         160 extensions/common/manifest_handlers/background_info.cc   if (!extension->manifest()->Get(key, &background_scripts_value))
extension         184 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::LoadBackgroundPage(const Extension* extension,
extension         188 extensions/common/manifest_handlers/background_info.cc   if (!extension->manifest()->Get(key, &background_page_value))
extension         197 extensions/common/manifest_handlers/background_info.cc   if (extension->is_hosted_app()) {
extension         200 extensions/common/manifest_handlers/background_info.cc     if (!PermissionsData::GetInitialAPIPermissions(extension)->count(
extension         219 extensions/common/manifest_handlers/background_info.cc     background_url_ = extension->GetResourceURL(background_str);
extension         225 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::LoadBackgroundPage(const Extension* extension,
extension         227 extensions/common/manifest_handlers/background_info.cc   if (extension->is_platform_app()) {
extension         229 extensions/common/manifest_handlers/background_info.cc         extension, keys::kPlatformAppBackgroundPage, error);
extension         232 extensions/common/manifest_handlers/background_info.cc   if (!LoadBackgroundPage(extension, keys::kBackgroundPage, error))
extension         235 extensions/common/manifest_handlers/background_info.cc     return LoadBackgroundPage(extension, keys::kBackgroundPageLegacy, error);
extension         239 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::LoadBackgroundPersistent(const Extension* extension,
extension         241 extensions/common/manifest_handlers/background_info.cc   if (extension->is_platform_app()) {
extension         247 extensions/common/manifest_handlers/background_info.cc   if (!extension->manifest()->Get(keys::kBackgroundPersistent,
extension         264 extensions/common/manifest_handlers/background_info.cc bool BackgroundInfo::LoadAllowJSAccess(const Extension* extension,
extension         267 extensions/common/manifest_handlers/background_info.cc   if (!extension->manifest()->Get(keys::kBackgroundAllowJsAccess,
extension         286 extensions/common/manifest_handlers/background_info.cc bool BackgroundManifestHandler::Parse(Extension* extension,
extension         289 extensions/common/manifest_handlers/background_info.cc   if (!info->Parse(extension, error))
extension         293 extensions/common/manifest_handlers/background_info.cc   if (extension->is_platform_app() && !info->has_background_page() &&
extension         300 extensions/common/manifest_handlers/background_info.cc       PermissionsData::GetInitialAPIPermissions(extension)->count(
extension         306 extensions/common/manifest_handlers/background_info.cc   extension->SetManifestData(kBackground, info.release());
extension         311 extensions/common/manifest_handlers/background_info.cc     const Extension* extension,
extension         316 extensions/common/manifest_handlers/background_info.cc       BackgroundInfo::GetBackgroundScripts(extension);
extension         319 extensions/common/manifest_handlers/background_info.cc             extension->GetResource(background_scripts[i]).GetFilePath())) {
extension         330 extensions/common/manifest_handlers/background_info.cc   if (BackgroundInfo::HasBackgroundPage(extension) &&
extension         331 extensions/common/manifest_handlers/background_info.cc       !extension->is_hosted_app() && background_scripts.empty()) {
extension         333 extensions/common/manifest_handlers/background_info.cc         BackgroundInfo::GetBackgroundURL(extension));
extension         334 extensions/common/manifest_handlers/background_info.cc     const base::FilePath path = extension->GetResource(page_path).GetFilePath();
extension          23 extensions/common/manifest_handlers/background_info.h   static GURL GetBackgroundURL(const Extension* extension);
extension          25 extensions/common/manifest_handlers/background_info.h       const Extension* extension);
extension          26 extensions/common/manifest_handlers/background_info.h   static const std::string& GetServiceWorkerScript(const Extension* extension);
extension          27 extensions/common/manifest_handlers/background_info.h   static bool HasBackgroundPage(const Extension* extension);
extension          28 extensions/common/manifest_handlers/background_info.h   static bool HasPersistentBackgroundPage(const Extension* extension);
extension          29 extensions/common/manifest_handlers/background_info.h   static bool HasLazyBackgroundPage(const Extension* extension);
extension          30 extensions/common/manifest_handlers/background_info.h   static bool HasGeneratedBackgroundPage(const Extension* extension);
extension          31 extensions/common/manifest_handlers/background_info.h   static bool HasServiceWorker(const Extension* extension);
extension          32 extensions/common/manifest_handlers/background_info.h   static bool AllowJSAccess(const Extension* extension);
extension          48 extensions/common/manifest_handlers/background_info.h   bool Parse(const Extension* extension, base::string16* error);
extension          51 extensions/common/manifest_handlers/background_info.h   bool LoadServiceWorkerScript(const Extension* extension,
extension          54 extensions/common/manifest_handlers/background_info.h   bool LoadBackgroundScripts(const Extension* extension,
extension          57 extensions/common/manifest_handlers/background_info.h   bool LoadBackgroundPage(const Extension* extension,
extension          60 extensions/common/manifest_handlers/background_info.h   bool LoadBackgroundPage(const Extension* extension, base::string16* error);
extension          61 extensions/common/manifest_handlers/background_info.h   bool LoadBackgroundPersistent(const Extension* extension,
extension          63 extensions/common/manifest_handlers/background_info.h   bool LoadAllowJSAccess(const Extension* extension, base::string16* error);
extension          97 extensions/common/manifest_handlers/background_info.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          98 extensions/common/manifest_handlers/background_info.h   virtual bool Validate(const Extension* extension,
extension          58 extensions/common/manifest_handlers/csp_info.cc     const Extension* extension) {
extension          60 extensions/common/manifest_handlers/csp_info.cc           extension->GetManifestData(keys::kContentSecurityPolicy));
extension          66 extensions/common/manifest_handlers/csp_info.cc     const Extension* extension,
extension          68 extensions/common/manifest_handlers/csp_info.cc   return SandboxedPageInfo::IsSandboxedPage(extension, relative_path) ?
extension          69 extensions/common/manifest_handlers/csp_info.cc       SandboxedPageInfo::GetContentSecurityPolicy(extension) :
extension          70 extensions/common/manifest_handlers/csp_info.cc       GetContentSecurityPolicy(extension);
extension          80 extensions/common/manifest_handlers/csp_info.cc bool CSPHandler::Parse(Extension* extension, base::string16* error) {
extension          82 extensions/common/manifest_handlers/csp_info.cc   if (!extension->manifest()->HasPath(key)) {
extension          83 extensions/common/manifest_handlers/csp_info.cc     if (extension->manifest_version() >= 2) {
extension          91 extensions/common/manifest_handlers/csp_info.cc                                           extension->GetType()));
extension          92 extensions/common/manifest_handlers/csp_info.cc       extension->SetManifestData(keys::kContentSecurityPolicy,
extension          99 extensions/common/manifest_handlers/csp_info.cc   if (!extension->manifest()->GetString(key, &content_security_policy)) {
extension         107 extensions/common/manifest_handlers/csp_info.cc   if (extension->manifest_version() >= 2 &&
extension         109 extensions/common/manifest_handlers/csp_info.cc                                      extension->GetType())) {
extension         114 extensions/common/manifest_handlers/csp_info.cc   extension->SetManifestData(keys::kContentSecurityPolicy,
extension          26 extensions/common/manifest_handlers/csp_info.h       const Extension* extension);
extension          31 extensions/common/manifest_handlers/csp_info.h       const Extension* extension,
extension          41 extensions/common/manifest_handlers/csp_info.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          25 extensions/common/manifest_handlers/incognito_info.cc bool IncognitoInfo::IsSplitMode(const Extension* extension) {
extension          27 extensions/common/manifest_handlers/incognito_info.cc       extension->GetManifestData(keys::kIncognito));
extension          37 extensions/common/manifest_handlers/incognito_info.cc bool IncognitoHandler::Parse(Extension* extension, base::string16* error) {
extension          38 extensions/common/manifest_handlers/incognito_info.cc   if (!extension->manifest()->HasKey(keys::kIncognito)) {
extension          41 extensions/common/manifest_handlers/incognito_info.cc     extension->SetManifestData(
extension          43 extensions/common/manifest_handlers/incognito_info.cc         new IncognitoInfo(extension->is_hosted_app() ||
extension          44 extensions/common/manifest_handlers/incognito_info.cc                           extension->is_legacy_packaged_app()));
extension          50 extensions/common/manifest_handlers/incognito_info.cc   if (!extension->manifest()->GetString(keys::kIncognito, &incognito_string)) {
extension          64 extensions/common/manifest_handlers/incognito_info.cc   extension->SetManifestData(keys::kIncognito, new IncognitoInfo(split_mode));
extension          23 extensions/common/manifest_handlers/incognito_info.h   static bool IsSplitMode(const Extension* extension);
extension          32 extensions/common/manifest_handlers/incognito_info.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          26 extensions/common/manifest_handlers/kiosk_mode_info.cc bool KioskModeInfo::IsKioskEnabled(const Extension* extension) {
extension          28 extensions/common/manifest_handlers/kiosk_mode_info.cc       extension->GetManifestData(keys::kKioskMode));
extension          33 extensions/common/manifest_handlers/kiosk_mode_info.cc bool KioskModeInfo::IsKioskOnly(const Extension* extension) {
extension          35 extensions/common/manifest_handlers/kiosk_mode_info.cc       extension->GetManifestData(keys::kKioskMode));
extension          47 extensions/common/manifest_handlers/kiosk_mode_info.cc bool KioskModeHandler::Parse(Extension* extension, base::string16* error) {
extension          48 extensions/common/manifest_handlers/kiosk_mode_info.cc   const Manifest* manifest = extension->manifest();
extension          74 extensions/common/manifest_handlers/kiosk_mode_info.cc   DCHECK(extension->is_platform_app());
extension          80 extensions/common/manifest_handlers/kiosk_mode_info.cc   extension->SetManifestData(keys::kKioskMode,
extension          31 extensions/common/manifest_handlers/kiosk_mode_info.h   static bool IsKioskEnabled(const Extension* extension);
extension          34 extensions/common/manifest_handlers/kiosk_mode_info.h   static bool IsKioskOnly(const Extension* extension);
extension          43 extensions/common/manifest_handlers/kiosk_mode_info.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          28 extensions/common/manifest_handlers/offline_enabled_info.cc bool OfflineEnabledInfo::IsOfflineEnabled(const Extension* extension) {
extension          30 extensions/common/manifest_handlers/offline_enabled_info.cc       extension->GetManifestData(keys::kOfflineEnabled));
extension          40 extensions/common/manifest_handlers/offline_enabled_info.cc bool OfflineEnabledHandler::Parse(Extension* extension, base::string16* error) {
extension          41 extensions/common/manifest_handlers/offline_enabled_info.cc   if (!extension->manifest()->HasKey(keys::kOfflineEnabled)) {
extension          46 extensions/common/manifest_handlers/offline_enabled_info.cc     DCHECK(extension->is_platform_app());
extension          49 extensions/common/manifest_handlers/offline_enabled_info.cc         !!PermissionsData::GetInitialAPIPermissions(extension)
extension          51 extensions/common/manifest_handlers/offline_enabled_info.cc     extension->SetManifestData(keys::kOfflineEnabled,
extension          58 extensions/common/manifest_handlers/offline_enabled_info.cc   if (!extension->manifest()->GetBoolean(keys::kOfflineEnabled,
extension          64 extensions/common/manifest_handlers/offline_enabled_info.cc   extension->SetManifestData(keys::kOfflineEnabled,
extension          25 extensions/common/manifest_handlers/offline_enabled_info.h   static bool IsOfflineEnabled(const Extension* extension);
extension          34 extensions/common/manifest_handlers/offline_enabled_info.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          36 extensions/common/manifest_handlers/requirements_info.cc     const Extension* extension) {
extension          38 extensions/common/manifest_handlers/requirements_info.cc       extension->GetManifestData(keys::kRequirements));
extension          64 extensions/common/manifest_handlers/requirements_info.cc bool RequirementsHandler::Parse(Extension* extension, base::string16* error) {
extension          66 extensions/common/manifest_handlers/requirements_info.cc       new RequirementsInfo(extension->manifest()));
extension          68 extensions/common/manifest_handlers/requirements_info.cc   if (!extension->manifest()->HasKey(keys::kRequirements)) {
extension          69 extensions/common/manifest_handlers/requirements_info.cc     extension->SetManifestData(keys::kRequirements, requirements.release());
extension          74 extensions/common/manifest_handlers/requirements_info.cc   if (!extension->manifest()->GetDictionary(keys::kRequirements,
extension         155 extensions/common/manifest_handlers/requirements_info.cc   extension->SetManifestData(keys::kRequirements, requirements.release());
extension          27 extensions/common/manifest_handlers/requirements_info.h   static const RequirementsInfo& GetRequirements(const Extension* extension);
extension          36 extensions/common/manifest_handlers/requirements_info.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          30 extensions/common/manifest_handlers/sandboxed_page_info.cc const SandboxedPageInfo& GetSandboxedPageInfo(const Extension* extension) {
extension          32 extensions/common/manifest_handlers/sandboxed_page_info.cc       extension->GetManifestData(keys::kSandboxedPages));
extension          45 extensions/common/manifest_handlers/sandboxed_page_info.cc     const Extension* extension) {
extension          46 extensions/common/manifest_handlers/sandboxed_page_info.cc   return GetSandboxedPageInfo(extension).content_security_policy;
extension          49 extensions/common/manifest_handlers/sandboxed_page_info.cc const URLPatternSet& SandboxedPageInfo::GetPages(const Extension* extension) {
extension          50 extensions/common/manifest_handlers/sandboxed_page_info.cc   return GetSandboxedPageInfo(extension).pages;
extension          53 extensions/common/manifest_handlers/sandboxed_page_info.cc bool SandboxedPageInfo::IsSandboxedPage(const Extension* extension,
extension          55 extensions/common/manifest_handlers/sandboxed_page_info.cc   return extension->ResourceMatches(GetPages(extension), relative_path);
extension          64 extensions/common/manifest_handlers/sandboxed_page_info.cc bool SandboxedPageHandler::Parse(Extension* extension, base::string16* error) {
extension          68 extensions/common/manifest_handlers/sandboxed_page_info.cc   if (!extension->manifest()->GetList(keys::kSandboxedPages, &list_value)) {
extension          81 extensions/common/manifest_handlers/sandboxed_page_info.cc     if (pattern.Parse(extension->url().spec()) != URLPattern::PARSE_SUCCESS) {
extension          83 extensions/common/manifest_handlers/sandboxed_page_info.cc           errors::kInvalidURLPatternError, extension->url().spec());
extension          92 extensions/common/manifest_handlers/sandboxed_page_info.cc   if (extension->manifest()->HasPath(keys::kSandboxedPagesCSP)) {
extension          93 extensions/common/manifest_handlers/sandboxed_page_info.cc     if (!extension->manifest()->GetString(
extension         103 extensions/common/manifest_handlers/sandboxed_page_info.cc             sandboxed_info->content_security_policy, extension->GetType())) {
extension         111 extensions/common/manifest_handlers/sandboxed_page_info.cc         sandboxed_info->content_security_policy, extension->GetType()));
extension         114 extensions/common/manifest_handlers/sandboxed_page_info.cc   extension->SetManifestData(keys::kSandboxedPages, sandboxed_info.release());
extension          23 extensions/common/manifest_handlers/sandboxed_page_info.h       const Extension* extension);
extension          26 extensions/common/manifest_handlers/sandboxed_page_info.h   static const URLPatternSet& GetPages(const Extension* extension);
extension          29 extensions/common/manifest_handlers/sandboxed_page_info.h   static bool IsSandboxedPage(const Extension* extension,
extension          47 extensions/common/manifest_handlers/sandboxed_page_info.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          31 extensions/common/manifest_handlers/shared_module_info.cc const SharedModuleInfo& GetSharedModuleInfo(const Extension* extension) {
extension          33 extensions/common/manifest_handlers/shared_module_info.cc       extension->GetManifestData(kSharedModule));
extension          74 extensions/common/manifest_handlers/shared_module_info.cc bool SharedModuleInfo::IsSharedModule(const Extension* extension) {
extension          75 extensions/common/manifest_handlers/shared_module_info.cc   CHECK(extension);
extension          76 extensions/common/manifest_handlers/shared_module_info.cc   return extension->manifest()->is_shared_module();
extension          80 extensions/common/manifest_handlers/shared_module_info.cc bool SharedModuleInfo::IsExportAllowed(const Extension* extension,
extension          82 extensions/common/manifest_handlers/shared_module_info.cc   return GetSharedModuleInfo(extension).
extension          83 extensions/common/manifest_handlers/shared_module_info.cc       exported_set_.MatchesURL(extension->url().Resolve(relative_path));
extension          87 extensions/common/manifest_handlers/shared_module_info.cc bool SharedModuleInfo::ImportsExtensionById(const Extension* extension,
extension          89 extensions/common/manifest_handlers/shared_module_info.cc   const SharedModuleInfo& info = GetSharedModuleInfo(extension);
extension          98 extensions/common/manifest_handlers/shared_module_info.cc bool SharedModuleInfo::ImportsModules(const Extension* extension) {
extension          99 extensions/common/manifest_handlers/shared_module_info.cc   return GetSharedModuleInfo(extension).imports_.size() > 0;
extension         104 extensions/common/manifest_handlers/shared_module_info.cc     const Extension* extension) {
extension         105 extensions/common/manifest_handlers/shared_module_info.cc   return GetSharedModuleInfo(extension).imports_;
extension         108 extensions/common/manifest_handlers/shared_module_info.cc bool SharedModuleInfo::Parse(const Extension* extension,
extension         110 extensions/common/manifest_handlers/shared_module_info.cc   bool has_import = extension->manifest()->HasKey(keys::kImport);
extension         111 extensions/common/manifest_handlers/shared_module_info.cc   bool has_export = extension->manifest()->HasKey(keys::kExport);
extension         122 extensions/common/manifest_handlers/shared_module_info.cc     if (!extension->manifest()->GetDictionary(keys::kExport, &export_value)) {
extension         138 extensions/common/manifest_handlers/shared_module_info.cc       const GURL& resolved_path = extension->url().Resolve(resource_path);
extension         151 extensions/common/manifest_handlers/shared_module_info.cc     if (!extension->manifest()->GetList(keys::kImport, &import_list)) {
extension         197 extensions/common/manifest_handlers/shared_module_info.cc bool SharedModuleHandler::Parse(Extension* extension, base::string16* error) {
extension         199 extensions/common/manifest_handlers/shared_module_info.cc   if (!info->Parse(extension, error))
extension         201 extensions/common/manifest_handlers/shared_module_info.cc   extension->SetManifestData(kSharedModule, info.release());
extension         206 extensions/common/manifest_handlers/shared_module_info.cc     const Extension* extension,
extension         212 extensions/common/manifest_handlers/shared_module_info.cc   if (SharedModuleInfo::IsSharedModule(extension) &&
extension         213 extensions/common/manifest_handlers/shared_module_info.cc       !extension->GetActivePermissions()->IsEmpty()) {
extension          22 extensions/common/manifest_handlers/shared_module_info.h   bool Parse(const Extension* extension, base::string16* error);
extension          36 extensions/common/manifest_handlers/shared_module_info.h   static bool IsSharedModule(const Extension* extension);
extension          37 extensions/common/manifest_handlers/shared_module_info.h   static bool IsExportAllowed(const Extension* extension,
extension          41 extensions/common/manifest_handlers/shared_module_info.h   static bool ImportsExtensionById(const Extension* extension,
extension          43 extensions/common/manifest_handlers/shared_module_info.h   static bool ImportsModules(const Extension* extension);
extension          44 extensions/common/manifest_handlers/shared_module_info.h   static const std::vector<ImportInfo>& GetImports(const Extension* extension);
extension          60 extensions/common/manifest_handlers/shared_module_info.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          61 extensions/common/manifest_handlers/shared_module_info.h   virtual bool Validate(const Extension* extension,
extension          32 extensions/common/manifest_handlers/shared_module_manifest_unittest.cc   scoped_refptr<Extension> extension = LoadAndExpectSuccess(manifest);
extension          34 extensions/common/manifest_handlers/shared_module_manifest_unittest.cc   EXPECT_TRUE(SharedModuleInfo::IsSharedModule(extension.get()))
extension          36 extensions/common/manifest_handlers/shared_module_manifest_unittest.cc   EXPECT_FALSE(SharedModuleInfo::ImportsModules(extension.get()))
extension          38 extensions/common/manifest_handlers/shared_module_manifest_unittest.cc   EXPECT_TRUE(SharedModuleInfo::IsExportAllowed(extension.get(), "foo"))
extension          40 extensions/common/manifest_handlers/shared_module_manifest_unittest.cc   EXPECT_TRUE(SharedModuleInfo::IsExportAllowed(extension.get(), "foo/bar"))
extension          47 extensions/common/manifest_handlers/shared_module_manifest_unittest.cc   scoped_refptr<Extension> extension = LoadAndExpectSuccess(manifest);
extension          49 extensions/common/manifest_handlers/shared_module_manifest_unittest.cc   EXPECT_TRUE(SharedModuleInfo::IsSharedModule(extension.get()))
extension          51 extensions/common/manifest_handlers/shared_module_manifest_unittest.cc   EXPECT_FALSE(SharedModuleInfo::ImportsModules(extension.get()))
extension          53 extensions/common/manifest_handlers/shared_module_manifest_unittest.cc   EXPECT_TRUE(SharedModuleInfo::IsExportAllowed(extension.get(), "foo"))
extension          55 extensions/common/manifest_handlers/shared_module_manifest_unittest.cc   EXPECT_FALSE(SharedModuleInfo::IsExportAllowed(extension.get(), "foo/bar"))
extension          87 extensions/common/manifest_handlers/shared_module_manifest_unittest.cc   scoped_refptr<Extension> extension = LoadAndExpectSuccess(manifest);
extension          89 extensions/common/manifest_handlers/shared_module_manifest_unittest.cc   EXPECT_FALSE(SharedModuleInfo::IsSharedModule(extension.get()))
extension          91 extensions/common/manifest_handlers/shared_module_manifest_unittest.cc   EXPECT_TRUE(SharedModuleInfo::ImportsModules(extension.get()))
extension          94 extensions/common/manifest_handlers/shared_module_manifest_unittest.cc       SharedModuleInfo::GetImports(extension.get());
extension         101 extensions/common/manifest_handlers/shared_module_manifest_unittest.cc       SharedModuleInfo::ImportsExtensionById(extension.get(), kImportId1));
extension         103 extensions/common/manifest_handlers/shared_module_manifest_unittest.cc       SharedModuleInfo::ImportsExtensionById(extension.get(), kImportId2));
extension         105 extensions/common/manifest_handlers/shared_module_manifest_unittest.cc       SharedModuleInfo::ImportsExtensionById(extension.get(), kNoImport));
extension          22 extensions/common/manifest_handlers/web_accessible_resources_info.cc const WebAccessibleResourcesInfo* GetResourcesInfo(const Extension* extension) {
extension          24 extensions/common/manifest_handlers/web_accessible_resources_info.cc       extension->GetManifestData(keys::kWebAccessibleResources));
extension          37 extensions/common/manifest_handlers/web_accessible_resources_info.cc     const Extension* extension,
extension          41 extensions/common/manifest_handlers/web_accessible_resources_info.cc   if (extension->manifest_version() < 2 &&
extension          42 extensions/common/manifest_handlers/web_accessible_resources_info.cc       !WebAccessibleResourcesInfo::HasWebAccessibleResources(extension))
extension          45 extensions/common/manifest_handlers/web_accessible_resources_info.cc   const WebAccessibleResourcesInfo* info = GetResourcesInfo(extension);
extension          47 extensions/common/manifest_handlers/web_accessible_resources_info.cc          extension->ResourceMatches(
extension          53 extensions/common/manifest_handlers/web_accessible_resources_info.cc     const Extension* extension) {
extension          54 extensions/common/manifest_handlers/web_accessible_resources_info.cc   const WebAccessibleResourcesInfo* info = GetResourcesInfo(extension);
extension          64 extensions/common/manifest_handlers/web_accessible_resources_info.cc bool WebAccessibleResourcesHandler::Parse(Extension* extension,
extension          68 extensions/common/manifest_handlers/web_accessible_resources_info.cc   if (!extension->manifest()->GetList(keys::kWebAccessibleResources,
extension          81 extensions/common/manifest_handlers/web_accessible_resources_info.cc     if (pattern.Parse(extension->url().spec()) != URLPattern::PARSE_SUCCESS) {
extension          83 extensions/common/manifest_handlers/web_accessible_resources_info.cc           errors::kInvalidURLPatternError, extension->url().spec());
extension          91 extensions/common/manifest_handlers/web_accessible_resources_info.cc   extension->SetManifestData(keys::kWebAccessibleResources, info.release());
extension          24 extensions/common/manifest_handlers/web_accessible_resources_info.h   static bool IsResourceWebAccessible(const Extension* extension,
extension          28 extensions/common/manifest_handlers/web_accessible_resources_info.h   static bool HasWebAccessibleResources(const Extension* extension);
extension          40 extensions/common/manifest_handlers/web_accessible_resources_info.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          24 extensions/common/manifest_handlers/webview_info.cc     const Extension& extension) {
extension          26 extensions/common/manifest_handlers/webview_info.cc       extension.GetManifestData(keys::kWebviewAccessibleResources));
extension          72 extensions/common/manifest_handlers/webview_info.cc     const Extension* extension,
extension          75 extensions/common/manifest_handlers/webview_info.cc   if (!extension)
extension          78 extensions/common/manifest_handlers/webview_info.cc   const WebviewInfo* info = GetResourcesInfo(*extension);
extension          85 extensions/common/manifest_handlers/webview_info.cc         extension->ResourceMatches(item->accessible_resources(),
extension         104 extensions/common/manifest_handlers/webview_info.cc bool WebviewHandler::Parse(Extension* extension, base::string16* error) {
extension         108 extensions/common/manifest_handlers/webview_info.cc   if (!extension->manifest()->GetDictionary(keys::kWebview,
extension         167 extensions/common/manifest_handlers/webview_info.cc                          Extension::GetResourceURL(extension->url(),
extension         174 extensions/common/manifest_handlers/webview_info.cc   extension->SetManifestData(keys::kWebviewAccessibleResources, info.release());
extension          28 extensions/common/manifest_handlers/webview_info.h   static bool IsResourceWebviewAccessible(const Extension* extension,
extension          44 extensions/common/manifest_handlers/webview_info.h   virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
extension          44 extensions/common/permissions/permissions_data.cc bool CanSpecifyExperimentalPermission(const Extension* extension) {
extension          45 extensions/common/permissions/permissions_data.cc   if (extension->location() == Manifest::COMPONENT)
extension          56 extensions/common/permissions/permissions_data.cc   if (extension->from_webstore())
extension          64 extensions/common/permissions/permissions_data.cc bool CanSpecifyHostPermission(const Extension* extension,
extension          70 extensions/common/permissions/permissions_data.cc         GetPermittedChromeSchemeHosts(extension, permissions);
extension          75 extensions/common/permissions/permissions_data.cc     if (PermissionsData::CanExecuteScriptEverywhere(extension))
extension          94 extensions/common/permissions/permissions_data.cc bool ParseHelper(Extension* extension,
extension          99 extensions/common/permissions/permissions_data.cc   if (!extension->manifest()->HasKey(key))
extension         103 extensions/common/permissions/permissions_data.cc   if (!extension->manifest()->GetList(key, &permissions)) {
extension         138 extensions/common/permissions/permissions_data.cc         extension->id(),
extension         139 extensions/common/permissions/permissions_data.cc         extension->GetType(),
extension         140 extensions/common/permissions/permissions_data.cc         Feature::ConvertLocation(extension->location()),
extension         141 extensions/common/permissions/permissions_data.cc         extension->manifest_version());
extension         147 extensions/common/permissions/permissions_data.cc       extension->AddInstallWarning(InstallWarning(availability.message(),
extension         154 extensions/common/permissions/permissions_data.cc       if (!CanSpecifyExperimentalPermission(extension)) {
extension         171 extensions/common/permissions/permissions_data.cc       PermissionsData::CanExecuteScriptEverywhere(extension) ?
extension         187 extensions/common/permissions/permissions_data.cc           !PermissionsData::CanExecuteScriptEverywhere(extension)) {
extension         188 extensions/common/permissions/permissions_data.cc         extension->set_wants_file_access(true);
extension         189 extensions/common/permissions/permissions_data.cc         if (!(extension->creation_flags() & Extension::ALLOW_FILE_ACCESS))
extension         194 extensions/common/permissions/permissions_data.cc           !PermissionsData::CanExecuteScriptEverywhere(extension)) {
extension         203 extensions/common/permissions/permissions_data.cc       if (!CanSpecifyHostPermission(extension, pattern, *api_permissions)) {
extension         206 extensions/common/permissions/permissions_data.cc         extension->AddInstallWarning(InstallWarning(
extension         220 extensions/common/permissions/permissions_data.cc                 extension, *api_permissions));
extension         227 extensions/common/permissions/permissions_data.cc     extension->AddInstallWarning(InstallWarning(
extension         266 extensions/common/permissions/permissions_data.cc     const Extension* extension) {
extension         267 extensions/common/permissions/permissions_data.cc   return extension->permissions_data()->optional_permission_set_.get();
extension         272 extensions/common/permissions/permissions_data.cc     const Extension* extension) {
extension         273 extensions/common/permissions/permissions_data.cc   return extension->permissions_data()->required_permission_set_.get();
extension         278 extensions/common/permissions/permissions_data.cc     const Extension* extension) {
extension         279 extensions/common/permissions/permissions_data.cc   return &extension->permissions_data()->
extension         285 extensions/common/permissions/permissions_data.cc     Extension* extension) {
extension         286 extensions/common/permissions/permissions_data.cc   return &extension->permissions_data()->
extension         292 extensions/common/permissions/permissions_data.cc     Extension* extension, const URLPatternSet& scriptable_hosts) {
extension         293 extensions/common/permissions/permissions_data.cc   extension->permissions_data()->
extension         298 extensions/common/permissions/permissions_data.cc void PermissionsData::SetActivePermissions(const Extension* extension,
extension         300 extensions/common/permissions/permissions_data.cc   base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_);
extension         301 extensions/common/permissions/permissions_data.cc   extension->permissions_data()->active_permissions_ = permissions;
extension         306 extensions/common/permissions/permissions_data.cc     const Extension* extension) {
extension         307 extensions/common/permissions/permissions_data.cc   return extension->permissions_data()->active_permissions_;
extension         312 extensions/common/permissions/permissions_data.cc     const Extension* extension,
extension         316 extensions/common/permissions/permissions_data.cc       extension->permissions_data()->tab_specific_permissions_.find(tab_id);
extension         318 extensions/common/permissions/permissions_data.cc       (iter != extension->permissions_data()->tab_specific_permissions_.end())
extension         325 extensions/common/permissions/permissions_data.cc     const Extension* extension,
extension         330 extensions/common/permissions/permissions_data.cc       &extension->permissions_data()->tab_specific_permissions_;
extension         341 extensions/common/permissions/permissions_data.cc     const Extension* extension,
extension         344 extensions/common/permissions/permissions_data.cc   extension->permissions_data()->tab_specific_permissions_.erase(tab_id);
extension         348 extensions/common/permissions/permissions_data.cc bool PermissionsData::HasAPIPermission(const Extension* extension,
extension         350 extensions/common/permissions/permissions_data.cc   base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_);
extension         351 extensions/common/permissions/permissions_data.cc   return GetActivePermissions(extension)->HasAPIPermission(permission);
extension         356 extensions/common/permissions/permissions_data.cc     const Extension* extension,
extension         358 extensions/common/permissions/permissions_data.cc   base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_);
extension         359 extensions/common/permissions/permissions_data.cc   return GetActivePermissions(extension)->HasAPIPermission(permission_name);
extension         364 extensions/common/permissions/permissions_data.cc     const Extension* extension,
extension         367 extensions/common/permissions/permissions_data.cc   if (HasAPIPermission(extension, permission))
extension         372 extensions/common/permissions/permissions_data.cc   base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_);
extension         374 extensions/common/permissions/permissions_data.cc       GetTabSpecificPermissions(extension, tab_id);
extension         380 extensions/common/permissions/permissions_data.cc     const Extension* extension,
extension         383 extensions/common/permissions/permissions_data.cc   base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_);
extension         384 extensions/common/permissions/permissions_data.cc   return GetActivePermissions(extension)->CheckAPIPermissionWithParam(
extension         390 extensions/common/permissions/permissions_data.cc     const Extension* extension) {
extension         391 extensions/common/permissions/permissions_data.cc   base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_);
extension         392 extensions/common/permissions/permissions_data.cc   return GetActivePermissions(extension)->effective_hosts();
extension         397 extensions/common/permissions/permissions_data.cc     const Extension* extension) {
extension         398 extensions/common/permissions/permissions_data.cc   return extension->location() != Manifest::INTERNAL;
extension         402 extensions/common/permissions/permissions_data.cc bool PermissionsData::ShouldSkipPermissionWarnings(const Extension* extension) {
extension         403 extensions/common/permissions/permissions_data.cc   return IsTrustedId(extension->id());
extension         407 extensions/common/permissions/permissions_data.cc bool PermissionsData::HasHostPermission(const Extension* extension,
extension         409 extensions/common/permissions/permissions_data.cc   base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_);
extension         410 extensions/common/permissions/permissions_data.cc   return GetActivePermissions(extension)->HasExplicitAccessToOrigin(url);
extension         414 extensions/common/permissions/permissions_data.cc bool PermissionsData::HasEffectiveAccessToAllHosts(const Extension* extension) {
extension         415 extensions/common/permissions/permissions_data.cc   base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_);
extension         416 extensions/common/permissions/permissions_data.cc   return GetActivePermissions(extension)->HasEffectiveAccessToAllHosts();
extension         421 extensions/common/permissions/permissions_data.cc     const Extension* extension) {
extension         422 extensions/common/permissions/permissions_data.cc   base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_);
extension         423 extensions/common/permissions/permissions_data.cc   if (ShouldSkipPermissionWarnings(extension)) {
extension         427 extensions/common/permissions/permissions_data.cc         GetActivePermissions(extension), extension->GetType());
extension         433 extensions/common/permissions/permissions_data.cc     const Extension* extension) {
extension         434 extensions/common/permissions/permissions_data.cc   base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_);
extension         435 extensions/common/permissions/permissions_data.cc   if (ShouldSkipPermissionWarnings(extension)) {
extension         439 extensions/common/permissions/permissions_data.cc         GetActivePermissions(extension), extension->GetType());
extension         445 extensions/common/permissions/permissions_data.cc     const Extension* extension) {
extension         446 extensions/common/permissions/permissions_data.cc   base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_);
extension         447 extensions/common/permissions/permissions_data.cc   if (ShouldSkipPermissionWarnings(extension)) {
extension         451 extensions/common/permissions/permissions_data.cc         GetActivePermissions(extension), extension->GetType());
extension         456 extensions/common/permissions/permissions_data.cc bool PermissionsData::CanExecuteScriptOnPage(const Extension* extension,
extension         463 extensions/common/permissions/permissions_data.cc   base::AutoLock auto_lock(extension->permissions_data()->runtime_lock_);
extension         465 extensions/common/permissions/permissions_data.cc   bool can_execute_everywhere = CanExecuteScriptEverywhere(extension);
extension         469 extensions/common/permissions/permissions_data.cc            extension, document_url, top_frame_url, tab_id,
extension         489 extensions/common/permissions/permissions_data.cc           Extension::GetBaseURLFromExtensionId(extension->id()).GetOrigin() &&
extension         499 extensions/common/permissions/permissions_data.cc         GetTabSpecificPermissions(extension, tab_id);
extension         514 extensions/common/permissions/permissions_data.cc     can_access = GetActivePermissions(extension)->
extension         527 extensions/common/permissions/permissions_data.cc bool PermissionsData::CanExecuteScriptEverywhere(const Extension* extension) {
extension         528 extensions/common/permissions/permissions_data.cc   if (extension->location() == Manifest::COMPONENT)
extension         534 extensions/common/permissions/permissions_data.cc   return std::find(whitelist.begin(), whitelist.end(), extension->id()) !=
extension         539 extensions/common/permissions/permissions_data.cc bool PermissionsData::CanCaptureVisiblePage(const Extension* extension,
extension         543 extensions/common/permissions/permissions_data.cc       GetActivePermissions(extension);
extension         551 extensions/common/permissions/permissions_data.cc         GetTabSpecificPermissions(extension, tab_id);
extension         566 extensions/common/permissions/permissions_data.cc bool PermissionsData::ParsePermissions(Extension* extension,
extension         569 extensions/common/permissions/permissions_data.cc   if (!ParseHelper(extension,
extension         578 extensions/common/permissions/permissions_data.cc   if (!ParseHelper(extension,
extension         589 extensions/common/permissions/permissions_data.cc void PermissionsData::InitializeManifestPermissions(Extension* extension) {
extension         591 extensions/common/permissions/permissions_data.cc     extension, &initial_required_permissions_->manifest_permissions);
extension         594 extensions/common/permissions/permissions_data.cc void PermissionsData::FinalizePermissions(Extension* extension) {
extension          45 extensions/common/permissions/permissions_data.h     virtual bool CanExecuteScriptOnPage(const Extension* extension,
extension          58 extensions/common/permissions/permissions_data.h       const Extension* extension);
extension          60 extensions/common/permissions/permissions_data.h       const Extension* extension);
extension          65 extensions/common/permissions/permissions_data.h       const Extension* extension);
extension          66 extensions/common/permissions/permissions_data.h   static APIPermissionSet* GetInitialAPIPermissions(Extension* extension);
extension          69 extensions/common/permissions/permissions_data.h   static void SetInitialScriptableHosts(Extension* extension,
extension          74 extensions/common/permissions/permissions_data.h       const Extension* extension);
extension          76 extensions/common/permissions/permissions_data.h   static void SetActivePermissions(const Extension* extension,
extension          82 extensions/common/permissions/permissions_data.h       const Extension* extension,
extension          87 extensions/common/permissions/permissions_data.h       const Extension* extension,
extension          91 extensions/common/permissions/permissions_data.h   static void ClearTabSpecificPermissions(const Extension* extension,
extension         100 extensions/common/permissions/permissions_data.h   static bool HasAPIPermission(const Extension* extension,
extension         102 extensions/common/permissions/permissions_data.h   static bool HasAPIPermission(const Extension* extension,
extension         104 extensions/common/permissions/permissions_data.h   static bool HasAPIPermissionForTab(const Extension* extension,
extension         109 extensions/common/permissions/permissions_data.h       const Extension* extension,
extension         114 extensions/common/permissions/permissions_data.h       const Extension* extension);
extension         122 extensions/common/permissions/permissions_data.h   static bool CanSilentlyIncreasePermissions(const Extension* extension);
extension         126 extensions/common/permissions/permissions_data.h   static bool ShouldSkipPermissionWarnings(const Extension* extension);
extension         129 extensions/common/permissions/permissions_data.h   static bool HasHostPermission(const Extension* extension, const GURL& url);
extension         136 extensions/common/permissions/permissions_data.h   static bool HasEffectiveAccessToAllHosts(const Extension* extension);
extension         140 extensions/common/permissions/permissions_data.h   static PermissionMessages GetPermissionMessages(const Extension* extension);
extension         145 extensions/common/permissions/permissions_data.h       const Extension* extension);
extension         151 extensions/common/permissions/permissions_data.h       const Extension* extension);
extension         160 extensions/common/permissions/permissions_data.h   static bool CanExecuteScriptOnPage(const Extension* extension,
extension         170 extensions/common/permissions/permissions_data.h   static bool CanExecuteScriptEverywhere(const Extension* extension);
extension         176 extensions/common/permissions/permissions_data.h   static bool CanCaptureVisiblePage(const Extension* extension,
extension         181 extensions/common/permissions/permissions_data.h   bool ParsePermissions(Extension* extension, base::string16* error);
extension         184 extensions/common/permissions/permissions_data.h   void InitializeManifestPermissions(Extension* extension);
extension         187 extensions/common/permissions/permissions_data.h   void FinalizePermissions(Extension* extension);
extension          38 extensions/common/permissions/permissions_data_unittest.cc     scoped_refptr<Extension> extension,
extension          44 extensions/common/permissions/permissions_data_unittest.cc       extension.get(), APIPermission::kSocket, &param);
extension          50 extensions/common/permissions/permissions_data_unittest.cc   scoped_refptr<Extension> extension;
extension          53 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("effective_host_permissions", "empty.json");
extension          55 extensions/common/permissions/permissions_data_unittest.cc             PermissionsData::GetEffectiveHostPermissions(extension.get())
extension          58 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_FALSE(PermissionsData::HasEffectiveAccessToAllHosts(extension.get()));
extension          60 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("effective_host_permissions", "one_host.json");
extension          61 extensions/common/permissions/permissions_data_unittest.cc   hosts = PermissionsData::GetEffectiveHostPermissions(extension.get());
extension          64 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_FALSE(PermissionsData::HasEffectiveAccessToAllHosts(extension.get()));
extension          66 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("effective_host_permissions",
extension          68 extensions/common/permissions/permissions_data_unittest.cc   hosts = PermissionsData::GetEffectiveHostPermissions(extension.get());
extension          71 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_FALSE(PermissionsData::HasEffectiveAccessToAllHosts(extension.get()));
extension          73 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("effective_host_permissions", "two_hosts.json");
extension          74 extensions/common/permissions/permissions_data_unittest.cc   hosts = PermissionsData::GetEffectiveHostPermissions(extension.get());
extension          77 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_FALSE(PermissionsData::HasEffectiveAccessToAllHosts(extension.get()));
extension          79 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("effective_host_permissions",
extension          81 extensions/common/permissions/permissions_data_unittest.cc   hosts = PermissionsData::GetEffectiveHostPermissions(extension.get());
extension          84 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_FALSE(PermissionsData::HasEffectiveAccessToAllHosts(extension.get()));
extension          86 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("effective_host_permissions",
extension          88 extensions/common/permissions/permissions_data_unittest.cc   hosts = PermissionsData::GetEffectiveHostPermissions(extension.get());
extension          91 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(extension->GetActivePermissions()->HasEffectiveAccessToURL(
extension          94 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(extension->GetActivePermissions()->HasEffectiveAccessToURL(
extension          96 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_FALSE(PermissionsData::HasEffectiveAccessToAllHosts(extension.get()));
extension          98 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("effective_host_permissions", "all_hosts.json");
extension          99 extensions/common/permissions/permissions_data_unittest.cc   hosts = PermissionsData::GetEffectiveHostPermissions(extension.get());
extension         103 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(PermissionsData::HasEffectiveAccessToAllHosts(extension.get()));
extension         105 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("effective_host_permissions", "all_hosts2.json");
extension         106 extensions/common/permissions/permissions_data_unittest.cc   hosts = PermissionsData::GetEffectiveHostPermissions(extension.get());
extension         109 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(PermissionsData::HasEffectiveAccessToAllHosts(extension.get()));
extension         111 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("effective_host_permissions", "all_hosts3.json");
extension         112 extensions/common/permissions/permissions_data_unittest.cc   hosts = PermissionsData::GetEffectiveHostPermissions(extension.get());
extension         116 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(PermissionsData::HasEffectiveAccessToAllHosts(extension.get()));
extension         122 extensions/common/permissions/permissions_data_unittest.cc   scoped_refptr<Extension> extension;
extension         125 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("socket_permissions", "empty.json");
extension         126 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_FALSE(CheckSocketPermission(extension,
extension         129 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifestUnchecked("socket_permissions",
extension         133 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(extension.get() == NULL);
extension         140 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("socket_permissions", "socket2.json");
extension         141 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(CheckSocketPermission(extension,
extension         144 extensions/common/permissions/permissions_data_unittest.cc         extension, SocketPermissionRequest::UDP_BIND, "", 80));
extension         146 extensions/common/permissions/permissions_data_unittest.cc         extension, SocketPermissionRequest::UDP_BIND, "", 8888));
extension         149 extensions/common/permissions/permissions_data_unittest.cc         extension, SocketPermissionRequest::UDP_SEND_TO, "example.com", 1900));
extension         151 extensions/common/permissions/permissions_data_unittest.cc         extension,
extension         157 extensions/common/permissions/permissions_data_unittest.cc   scoped_refptr<Extension> extension;
extension         158 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("permissions", "many-apis.json");
extension         160 extensions/common/permissions/permissions_data_unittest.cc       PermissionsData::GetPermissionMessageStrings(extension.get());
extension         173 extensions/common/permissions/permissions_data_unittest.cc   scoped_refptr<Extension> extension;
extension         174 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("permissions", "more-than-3-hosts.json");
extension         176 extensions/common/permissions/permissions_data_unittest.cc       PermissionsData::GetPermissionMessageStrings(extension.get());
extension         178 extensions/common/permissions/permissions_data_unittest.cc       PermissionsData::GetPermissionMessageDetailsStrings(extension.get());
extension         187 extensions/common/permissions/permissions_data_unittest.cc   scoped_refptr<Extension> extension;
extension         188 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("permissions",
extension         193 extensions/common/permissions/permissions_data_unittest.cc       PermissionsData::GetPermissionMessageStrings(extension.get());
extension         199 extensions/common/permissions/permissions_data_unittest.cc   scoped_refptr<Extension> extension;
extension         200 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("permissions", "many-hosts.json");
extension         202 extensions/common/permissions/permissions_data_unittest.cc       PermissionsData::GetPermissionMessageStrings(extension.get());
extension         209 extensions/common/permissions/permissions_data_unittest.cc   scoped_refptr<Extension> extension;
extension         210 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("permissions", "plugins.json");
extension         212 extensions/common/permissions/permissions_data_unittest.cc       PermissionsData::GetPermissionMessageStrings(extension.get());
extension         251 extensions/common/permissions/permissions_data_unittest.cc   bool AllowedScript(const Extension* extension, const GURL& url,
extension         253 extensions/common/permissions/permissions_data_unittest.cc     return AllowedScript(extension, url, top_url, -1);
extension         256 extensions/common/permissions/permissions_data_unittest.cc   bool AllowedScript(const Extension* extension, const GURL& url,
extension         259 extensions/common/permissions/permissions_data_unittest.cc         extension, url, top_url, tab_id, NULL, -1, NULL);
extension         262 extensions/common/permissions/permissions_data_unittest.cc   bool BlockedScript(const Extension* extension, const GURL& url,
extension         265 extensions/common/permissions/permissions_data_unittest.cc         extension, url, top_url, -1, NULL, -1, NULL);
extension         268 extensions/common/permissions/permissions_data_unittest.cc   bool Allowed(const Extension* extension, const GURL& url) {
extension         269 extensions/common/permissions/permissions_data_unittest.cc     return Allowed(extension, url, -1);
extension         272 extensions/common/permissions/permissions_data_unittest.cc   bool Allowed(const Extension* extension, const GURL& url, int tab_id) {
extension         274 extensions/common/permissions/permissions_data_unittest.cc                 extension, url, url, tab_id, NULL, -1, NULL) &&
extension         276 extensions/common/permissions/permissions_data_unittest.cc                 extension, tab_id, NULL));
extension         279 extensions/common/permissions/permissions_data_unittest.cc   bool CaptureOnly(const Extension* extension, const GURL& url) {
extension         280 extensions/common/permissions/permissions_data_unittest.cc     return CaptureOnly(extension, url, -1);
extension         283 extensions/common/permissions/permissions_data_unittest.cc   bool CaptureOnly(const Extension* extension, const GURL& url, int tab_id) {
extension         285 extensions/common/permissions/permissions_data_unittest.cc                 extension, url, url, tab_id, NULL, -1, NULL) &&
extension         286 extensions/common/permissions/permissions_data_unittest.cc            PermissionsData::CanCaptureVisiblePage(extension, tab_id, NULL);
extension         289 extensions/common/permissions/permissions_data_unittest.cc   bool ScriptOnly(const Extension* extension, const GURL& url,
extension         291 extensions/common/permissions/permissions_data_unittest.cc     return ScriptOnly(extension, url, top_url, -1);
extension         294 extensions/common/permissions/permissions_data_unittest.cc   bool ScriptOnly(const Extension* extension, const GURL& url,
extension         296 extensions/common/permissions/permissions_data_unittest.cc     return AllowedScript(extension, url, top_url, tab_id) &&
extension         297 extensions/common/permissions/permissions_data_unittest.cc         !PermissionsData::CanCaptureVisiblePage(extension, tab_id, NULL);
extension         300 extensions/common/permissions/permissions_data_unittest.cc   bool Blocked(const Extension* extension, const GURL& url) {
extension         301 extensions/common/permissions/permissions_data_unittest.cc     return Blocked(extension, url, -1);
extension         304 extensions/common/permissions/permissions_data_unittest.cc   bool Blocked(const Extension* extension, const GURL& url, int tab_id) {
extension         306 extensions/common/permissions/permissions_data_unittest.cc                  extension, url, url, tab_id, NULL, -1, NULL) ||
extension         308 extensions/common/permissions/permissions_data_unittest.cc                  extension, tab_id, NULL));
extension         312 extensions/common/permissions/permissions_data_unittest.cc       const Extension* extension,
extension         319 extensions/common/permissions/permissions_data_unittest.cc         result &= AllowedScript(extension, url, url, tab_id);
extension         321 extensions/common/permissions/permissions_data_unittest.cc         result &= Blocked(extension, url, tab_id);
extension         349 extensions/common/permissions/permissions_data_unittest.cc   scoped_refptr<Extension> extension = LoadManifestStrict("script_and_capture",
extension         352 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Allowed(extension.get(), http_url));
extension         353 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Allowed(extension.get(), https_url));
extension         354 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(CaptureOnly(extension.get(), file_url));
extension         355 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(CaptureOnly(extension.get(), settings_url));
extension         356 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(CaptureOnly(extension.get(), favicon_url));
extension         357 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(CaptureOnly(extension.get(), about_url));
extension         358 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(CaptureOnly(extension.get(), extension_url));
extension         361 extensions/common/permissions/permissions_data_unittest.cc   GURL within_extension_url = extension->GetResourceURL("page.html");
extension         362 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(AllowedScript(extension.get(), http_url, http_url_with_path));
extension         363 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(AllowedScript(extension.get(), https_url, http_url_with_path));
extension         364 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(AllowedScript(extension.get(), http_url, within_extension_url));
extension         365 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(AllowedScript(extension.get(), https_url, within_extension_url));
extension         366 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(BlockedScript(extension.get(), http_url, extension_url));
extension         367 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(BlockedScript(extension.get(), https_url, extension_url));
extension         370 extensions/common/permissions/permissions_data_unittest.cc       PermissionsData::HasHostPermission(extension.get(), settings_url));
extension         371 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_FALSE(PermissionsData::HasHostPermission(extension.get(), about_url));
extension         372 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(PermissionsData::HasHostPermission(extension.get(), favicon_url));
extension         375 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifestStrict("script_and_capture",
extension         377 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptOnly(extension.get(), http_url, http_url));
extension         378 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptOnly(extension.get(), https_url, https_url));
extension         379 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), settings_url));
extension         380 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), about_url));
extension         381 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), file_url));
extension         382 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), favicon_url));
extension         383 extensions/common/permissions/permissions_data_unittest.cc   extension =
extension         385 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), settings_url));
extension         390 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifestUnchecked("script_and_capture",
extension         394 extensions/common/permissions/permissions_data_unittest.cc   std::vector<InstallWarning> warnings = extension->install_warnings();
extension         400 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), settings_url));
extension         401 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), favicon_url));
extension         402 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), about_url));
extension         405 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifestStrict("script_and_capture",
extension         407 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), settings_url));
extension         408 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), favicon_url));
extension         409 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), about_url));
extension         410 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(PermissionsData::HasHostPermission(extension.get(), favicon_url));
extension         413 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifestStrict("script_and_capture",
extension         415 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), settings_url));
extension         416 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), favicon_url));
extension         419 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("script_and_capture", "extension_component_all.json",
extension         421 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Allowed(extension.get(), http_url));
extension         422 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Allowed(extension.get(), https_url));
extension         423 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Allowed(extension.get(), settings_url));
extension         424 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Allowed(extension.get(), about_url));
extension         425 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Allowed(extension.get(), favicon_url));
extension         426 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(PermissionsData::HasHostPermission(extension.get(), favicon_url));
extension         429 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("script_and_capture",
extension         432 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptOnly(extension.get(), http_url, http_url));
extension         433 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), https_url));
extension         434 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), file_url));
extension         435 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), settings_url));
extension         436 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), favicon_url));
extension         437 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), about_url));
extension         438 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), extension_url));
extension         440 extensions/common/permissions/permissions_data_unittest.cc       PermissionsData::HasHostPermission(extension.get(), settings_url));
extension         447 extensions/common/permissions/permissions_data_unittest.cc   scoped_refptr<Extension> extension;
extension         450 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifestStrict("script_and_capture",
extension         452 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Allowed(extension.get(), http_url));
extension         453 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Allowed(extension.get(), https_url));
extension         454 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(CaptureOnly(extension.get(), file_url));
extension         455 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(CaptureOnly(extension.get(), settings_url));
extension         456 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Allowed(extension.get(), favicon_url));  // chrome:// requested
extension         457 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(CaptureOnly(extension.get(), about_url));
extension         458 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(CaptureOnly(extension.get(), extension_url));
extension         461 extensions/common/permissions/permissions_data_unittest.cc   GURL within_extension_url = extension->GetResourceURL("page.html");
extension         462 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(AllowedScript(extension.get(), http_url, http_url_with_path));
extension         463 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(AllowedScript(extension.get(), https_url, http_url_with_path));
extension         464 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(AllowedScript(extension.get(), http_url, within_extension_url));
extension         465 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(AllowedScript(extension.get(), https_url, within_extension_url));
extension         466 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(BlockedScript(extension.get(), http_url, extension_url));
extension         467 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(BlockedScript(extension.get(), https_url, extension_url));
extension         470 extensions/common/permissions/permissions_data_unittest.cc       PermissionsData::HasHostPermission(extension.get(), settings_url));
extension         471 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_FALSE(PermissionsData::HasHostPermission(extension.get(), about_url));
extension         472 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(PermissionsData::HasHostPermission(extension.get(), favicon_url));
extension         475 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifestStrict("script_and_capture",
extension         477 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptOnly(extension.get(), http_url, http_url));
extension         478 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptOnly(extension.get(), https_url, https_url));
extension         479 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), settings_url));
extension         480 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), about_url));
extension         481 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), file_url));
extension         482 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), favicon_url));
extension         483 extensions/common/permissions/permissions_data_unittest.cc   extension =
extension         485 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), settings_url));
extension         490 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifestUnchecked("script_and_capture",
extension         494 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_FALSE(extension.get() == NULL);
extension         495 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), http_url));
extension         496 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), https_url));
extension         497 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptOnly(extension.get(), settings_url, settings_url));
extension         498 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), about_url));
extension         499 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), file_url));
extension         500 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptOnly(extension.get(), favicon_url, favicon_url));
extension         503 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifestStrict("script_and_capture",
extension         505 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), settings_url));
extension         506 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptOnly(extension.get(), favicon_url, favicon_url));
extension         507 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), about_url));
extension         508 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(PermissionsData::HasHostPermission(extension.get(), favicon_url));
extension         511 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifestStrict("script_and_capture",
extension         513 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), settings_url));
extension         514 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), favicon_url));
extension         517 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("script_and_capture", "extension_component_all.json",
extension         519 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Allowed(extension.get(), http_url));
extension         520 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Allowed(extension.get(), https_url));
extension         521 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Allowed(extension.get(), settings_url));
extension         522 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Allowed(extension.get(), about_url));
extension         523 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Allowed(extension.get(), favicon_url));
extension         524 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(PermissionsData::HasHostPermission(extension.get(), favicon_url));
extension         527 extensions/common/permissions/permissions_data_unittest.cc   extension = LoadManifest("script_and_capture",
extension         530 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptOnly(extension.get(), http_url, http_url));
extension         531 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), https_url));
extension         532 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), file_url));
extension         533 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), settings_url));
extension         534 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), favicon_url));
extension         535 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), about_url));
extension         536 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(Blocked(extension.get(), extension_url));
extension         538 extensions/common/permissions/permissions_data_unittest.cc       PermissionsData::HasHostPermission(extension.get(), settings_url));
extension         542 extensions/common/permissions/permissions_data_unittest.cc   scoped_refptr<Extension> extension =
extension         545 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_FALSE(PermissionsData::GetTabSpecificPermissions(extension.get(), 0)
extension         547 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_FALSE(PermissionsData::GetTabSpecificPermissions(extension.get(), 1)
extension         549 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_FALSE(PermissionsData::GetTabSpecificPermissions(extension.get(), 2)
extension         554 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptAllowedExclusivelyOnTab(extension.get(), no_urls, 0));
extension         555 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptAllowedExclusivelyOnTab(extension.get(), no_urls, 1));
extension         556 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptAllowedExclusivelyOnTab(extension.get(), no_urls, 2));
extension         573 extensions/common/permissions/permissions_data_unittest.cc         extension.get(), 0, permissions);
extension         575 extensions/common/permissions/permissions_data_unittest.cc               PermissionsData::GetTabSpecificPermissions(extension.get(), 0)
extension         579 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptAllowedExclusivelyOnTab(extension.get(), allowed_urls, 0));
extension         580 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptAllowedExclusivelyOnTab(extension.get(), no_urls, 1));
extension         581 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptAllowedExclusivelyOnTab(extension.get(), no_urls, 2));
extension         583 extensions/common/permissions/permissions_data_unittest.cc   PermissionsData::ClearTabSpecificPermissions(extension.get(), 0);
extension         584 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_FALSE(PermissionsData::GetTabSpecificPermissions(extension.get(), 0)
extension         587 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptAllowedExclusivelyOnTab(extension.get(), no_urls, 0));
extension         588 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptAllowedExclusivelyOnTab(extension.get(), no_urls, 1));
extension         589 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptAllowedExclusivelyOnTab(extension.get(), no_urls, 2));
extension         602 extensions/common/permissions/permissions_data_unittest.cc         extension.get(), 0, permissions);
extension         604 extensions/common/permissions/permissions_data_unittest.cc               PermissionsData::GetTabSpecificPermissions(extension.get(), 0)
extension         612 extensions/common/permissions/permissions_data_unittest.cc         extension.get(), 1, permissions);
extension         614 extensions/common/permissions/permissions_data_unittest.cc               PermissionsData::GetTabSpecificPermissions(extension.get(), 1)
extension         618 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptAllowedExclusivelyOnTab(extension.get(), allowed_urls, 0));
extension         620 extensions/common/permissions/permissions_data_unittest.cc       ScriptAllowedExclusivelyOnTab(extension.get(), more_allowed_urls, 1));
extension         621 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptAllowedExclusivelyOnTab(extension.get(), no_urls, 2));
extension         623 extensions/common/permissions/permissions_data_unittest.cc   PermissionsData::ClearTabSpecificPermissions(extension.get(), 0);
extension         624 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_FALSE(PermissionsData::GetTabSpecificPermissions(extension.get(), 0)
extension         627 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptAllowedExclusivelyOnTab(extension.get(), no_urls, 0));
extension         629 extensions/common/permissions/permissions_data_unittest.cc       ScriptAllowedExclusivelyOnTab(extension.get(), more_allowed_urls, 1));
extension         630 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptAllowedExclusivelyOnTab(extension.get(), no_urls, 2));
extension         632 extensions/common/permissions/permissions_data_unittest.cc   PermissionsData::ClearTabSpecificPermissions(extension.get(), 1);
extension         633 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_FALSE(PermissionsData::GetTabSpecificPermissions(extension.get(), 1)
extension         636 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptAllowedExclusivelyOnTab(extension.get(), no_urls, 0));
extension         637 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptAllowedExclusivelyOnTab(extension.get(), no_urls, 1));
extension         638 extensions/common/permissions/permissions_data_unittest.cc   EXPECT_TRUE(ScriptAllowedExclusivelyOnTab(extension.get(), no_urls, 2));
extension          98 google_apis/drive/gdata_wapi_parser.cc   const char* extension;
extension         529 google_apis/drive/gdata_wapi_parser.cc       if (kEntryKindMap[i].extension)
extension         530 google_apis/drive/gdata_wapi_parser.cc         return std::string(kEntryKindMap[i].extension);
extension         540 google_apis/drive/gdata_wapi_parser.cc     const std::string& extension) {
extension         542 google_apis/drive/gdata_wapi_parser.cc     const char* document_extension = kEntryKindMap[i].extension;
extension         543 google_apis/drive/gdata_wapi_parser.cc     if (document_extension && extension == document_extension)
extension         517 google_apis/drive/gdata_wapi_parser.h   static DriveEntryKind GetEntryKindFromExtension(const std::string& extension);
extension         686 google_apis/gcm/engine/mcs_client.cc       const mcs_proto::Extension& iq_extension = iq_stanza->extension();
extension         166 gpu/GLES2/gl2extchromium.h GL_APICALL void GL_APIENTRY glRequestExtensionCHROMIUM(const char* extension);
extension         171 gpu/GLES2/gl2extchromium.h     const char* extension);
extension         745 gpu/command_buffer/client/gles2_c_lib_autogen.h void GLES2RequestExtensionCHROMIUM(const char* extension) {
extension         746 gpu/command_buffer/client/gles2_c_lib_autogen.h   gles2::GetGLContext()->RequestExtensionCHROMIUM(extension);
extension         415 gpu/command_buffer/client/gles2_implementation.cc     const char* extension, ExtensionStatus* status) {
extension         422 gpu/command_buffer/client/gles2_implementation.cc       bool available = IsExtensionAvailable(extension);
extension        3045 gpu/command_buffer/client/gles2_implementation.cc void GLES2Implementation::RequestExtensionCHROMIUM(const char* extension) {
extension        3048 gpu/command_buffer/client/gles2_implementation.cc                  << extension << ")");
extension        3049 gpu/command_buffer/client/gles2_implementation.cc   SetBucketAsCString(kResultBucketId, extension);
extension        3054 gpu/command_buffer/client/gles2_implementation.cc     const char* extension;
extension        3071 gpu/command_buffer/client/gles2_implementation.cc         !strcmp(extension, check.extension)) {
extension         459 gpu/command_buffer/client/gles2_implementation.h       const char* extension, ExtensionStatus* status);
extension         597 gpu/command_buffer/client/gles2_implementation_autogen.h virtual void RequestExtensionCHROMIUM(const char* extension) OVERRIDE;
extension         405 gpu/command_buffer/client/gles2_interface_autogen.h virtual void RequestExtensionCHROMIUM(const char* extension) = 0;
extension         429 gpu/command_buffer/client/gles2_interface_stub_autogen.h virtual void RequestExtensionCHROMIUM(const char* extension) OVERRIDE;
extension         429 gpu/command_buffer/client/gles2_trace_implementation_autogen.h virtual void RequestExtensionCHROMIUM(const char* extension) OVERRIDE;
extension        1239 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h void GLES2TraceImplementation::RequestExtensionCHROMIUM(const char* extension) {
extension        1241 gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h   gl_->RequestExtensionCHROMIUM(extension);
extension         204 gpu/command_buffer/tests/compressed_texture_test.cc   const char* ext = extension(format);
extension          18 gpu/command_buffer/tests/gl_test_utils.cc bool GLTestHelper::HasExtension(const char* extension) {
extension          21 gpu/command_buffer/tests/gl_test_utils.cc   return extensions.find(extension) != std::string::npos;
extension          17 gpu/command_buffer/tests/gl_test_utils.h   static bool HasExtension(const char* extension);
extension         401 media/ffmpeg/ffmpeg_unittest.cc #define FFMPEG_TEST_CASE(name, extension) \
extension         402 media/ffmpeg/ffmpeg_unittest.cc     INSTANTIATE_TEST_CASE_P(name##_##extension, FFmpegTest, \
extension         403 media/ffmpeg/ffmpeg_unittest.cc                             testing::Values(#name "." #extension));
extension         110 net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java     public static String getMimeTypeFromExtension(String extension) {
extension         111 net/android/java/src/org/chromium/net/AndroidNetworkLibrary.java         return URLConnection.guessContentTypeFromName("foo." + extension);
extension         109 net/android/network_library.cc bool GetMimeTypeFromExtension(const std::string& extension,
extension         114 net/android/network_library.cc       ConvertUTF8ToJavaString(env, extension);
extension          71 net/android/network_library.h bool GetMimeTypeFromExtension(const std::string& extension,
extension         211 net/base/mime_sniffer.cc   const char* extension;
extension         215 net/base/mime_sniffer.cc #define OFFICE_EXTENSION(type, extension) \
extension         216 net/base/mime_sniffer.cc   { (type), (extension), sizeof(extension) - 1 },
extension         469 net/base/mime_sniffer.cc     const char* extension =
extension         472 net/base/mime_sniffer.cc     if (0 == base::strncasecmp(extension, kOfficeExtensionTypes[i].extension,
extension         738 net/base/mime_util.cc                                       base::FilePath::StringType* extension) {
extension         740 net/base/mime_util.cc                                                             extension);
extension         877 net/base/mime_util.cc   base::FilePath::StringType extension;
extension         885 net/base/mime_util.cc         base::FilePath::StringType extension(
extension         888 net/base/mime_util.cc         base::FilePath::StringType extension(this_extensions[j]);
extension         890 net/base/mime_util.cc         extensions->insert(extension);
extension          39 net/base/mime_util.h     base::FilePath::StringType* extension);
extension          15 net/base/mime_util_unittest.cc     const base::FilePath::CharType* extension;
extension          30 net/base/mime_util_unittest.cc     rv = GetMimeTypeFromExtension(tests[i].extension, &mime_type);
extension         829 net/base/net_util.cc bool IsShellIntegratedExtension(const base::FilePath::StringType& extension) {
extension         830 net/base/net_util.cc   base::FilePath::StringType extension_lower = StringToLowerASCII(extension);
extension         906 net/base/net_util.cc   base::FilePath::StringType extension = file_name->Extension();
extension         907 net/base/net_util.cc   if (!extension.empty())
extension         908 net/base/net_util.cc     extension.erase(extension.begin());  // Erase preceding '.'.
extension         910 net/base/net_util.cc   if ((ignore_extension || extension.empty()) && !mime_type.empty()) {
extension         926 net/base/net_util.cc                   extension) != all_mime_extensions.end()) {
extension         929 net/base/net_util.cc       extension = preferred_mime_extension;
extension         940 net/base/net_util.cc   if (IsShellIntegratedExtension(extension))
extension         941 net/base/net_util.cc     extension.assign(default_extension);
extension         944 net/base/net_util.cc   *file_name = file_name->ReplaceExtension(extension);
extension        1208 net/base/net_util.cc   base::FilePath::StringType extension = component.Extension();
extension        1209 net/base/net_util.cc   if (!extension.empty())
extension        1210 net/base/net_util.cc     extension.erase(extension.begin());  // Erase preceding '.'.
extension        1216 net/base/net_util.cc          !IsShellIntegratedExtension(extension) &&
extension          21 net/base/platform_mime_util.h       base::FilePath::StringType* extension) const;
extension         236 net/cert/asn1_util.cc     base::StringPiece extension;
extension         237 net/cert/asn1_util.cc     if (!GetElement(&extensions, kSEQUENCE, &extension))
extension         241 net/cert/asn1_util.cc     if (!GetElement(&extension, kOID, &oid))
extension         254 net/cert/asn1_util.cc     GetElement(&extension, kBOOLEAN, NULL);
extension         258 net/cert/asn1_util.cc     if (!GetElement(&extension, kOCTETSTRING, &extension_value))
extension         354 net/cert/cert_verify_proc_win.cc   PCERT_EXTENSION extension = CertFindExtension(szOID_CERT_POLICIES,
extension         357 net/cert/cert_verify_proc_win.cc   if (!extension)
extension         369 net/cert/cert_verify_proc_win.cc                            extension->Value.pbData,
extension         370 net/cert/cert_verify_proc_win.cc                            extension->Value.cbData,
extension         145 net/cert/ct_objects_extractor_nss.cc   SECItem extension;
extension         146 net/cert/ct_objects_extractor_nss.cc   SECStatus rv = CERT_FindCertExtension(cert, oid, &extension);
extension         150 net/cert/ct_objects_extractor_nss.cc   base::StringPiece raw_data(reinterpret_cast<char*>(extension.data),
extension         151 net/cert/ct_objects_extractor_nss.cc                              extension.len);
extension         160 net/cert/ct_objects_extractor_nss.cc   SECITEM_FreeItem(&extension, PR_FALSE);
extension         454 net/cert/ct_objects_extractor_nss.cc   SECItem extension;
extension         456 net/cert/ct_objects_extractor_nss.cc       leaf_cert.cert.get(), g_ct_singleton.Get().embedded_oid(), &extension);
extension         459 net/cert/ct_objects_extractor_nss.cc   SECITEM_FreeItem(&extension, PR_FALSE);
extension          51 net/cert/x509_certificate_win.cc   PCERT_EXTENSION extension = CertFindExtension(szOID_SUBJECT_ALT_NAME2,
extension          54 net/cert/x509_certificate_win.cc   if (!extension)
extension          66 net/cert/x509_certificate_win.cc                            extension->Value.pbData,
extension          67 net/cert/x509_certificate_win.cc                            extension->Value.cbData,
extension         181 net/filter/filter.cc     base::FilePath::StringType extension = filepath.Extension();
extension         191 net/filter/filter.cc       if (EndsWith(extension, FILE_PATH_LITERAL(".gz"), false) ||
extension         192 net/filter/filter.cc           LowerCaseEqualsASCII(extension, ".tgz") ||
extension         193 net/filter/filter.cc           LowerCaseEqualsASCII(extension, ".svgz"))
extension         200 net/filter/filter.cc       if ((EndsWith(extension, FILE_PATH_LITERAL(".gz"), false) ||
extension         201 net/filter/filter.cc            LowerCaseEqualsASCII(extension, ".tgz")) &&
extension        9884 net/third_party/nss/ssl/ssl3con.c     const char *extension;
extension        9896 net/third_party/nss/ssl/ssl3con.c     extension = (strstr(testdir, "simple") ? "" : ".der");
extension        9906 net/third_party/nss/ssl/ssl3con.c     sprintf(cfn, "%s/%08d%s", testdir, fileNum, extension);
extension         725 net/tools/balsa/balsa_frame.cc   base::StringPiece extension;
extension         728 net/tools/balsa/balsa_frame.cc   SplitStringPiece(all_extensions, ';', &extension, &remaining);
extension         729 net/tools/balsa/balsa_frame.cc   while (!extension.empty()) {
extension         732 net/tools/balsa/balsa_frame.cc     SplitStringPiece(extension, '=', &key, &value);
extension         744 net/tools/balsa/balsa_frame.cc     SplitStringPiece(remaining, ';', &extension, &remaining);
extension         232 net/websockets/websocket_basic_handshake_stream.cc bool ValidatePerMessageDeflateExtension(const WebSocketExtension& extension,
extension         244 net/websockets/websocket_basic_handshake_stream.cc   DCHECK_EQ("permessage-deflate", extension.name());
extension         245 net/websockets/websocket_basic_handshake_stream.cc   const ParameterVector& parameters = extension.parameters();
extension         316 net/websockets/websocket_basic_handshake_stream.cc     if (parser.extension().name() == "permessage-deflate") {
extension         323 net/websockets/websocket_basic_handshake_stream.cc               parser.extension(), failure_message, params))
extension         328 net/websockets/websocket_basic_handshake_stream.cc           parser.extension().name() +
extension          37 net/websockets/websocket_extension_parser.cc void WebSocketExtensionParser::ConsumeExtension(WebSocketExtension* extension) {
extension          42 net/websockets/websocket_extension_parser.cc   *extension = WebSocketExtension(name.as_string());
extension          48 net/websockets/websocket_extension_parser.cc     extension->Add(parameter);
extension          33 net/websockets/websocket_extension_parser.h   const WebSocketExtension& extension() const { return extension_; }
extension          37 net/websockets/websocket_extension_parser.h   void ConsumeExtension(WebSocketExtension* extension);
extension          30 net/websockets/websocket_extension_parser_test.cc   EXPECT_TRUE(expected.Equals(parser.extension()));
extension          41 net/websockets/websocket_extension_parser_test.cc   EXPECT_TRUE(expected.Equals(parser.extension()));
extension          52 net/websockets/websocket_extension_parser_test.cc   EXPECT_TRUE(expected.Equals(parser.extension()));
extension          64 net/websockets/websocket_extension_parser_test.cc   EXPECT_TRUE(expected.Equals(parser.extension()));
extension         117 net/websockets/websocket_extension_parser_test.cc   EXPECT_TRUE(expected.Equals(parser.extension()));
extension        1779 ppapi/lib/gl/include/GLES2/gl2ext.h GL_APICALL void GL_APIENTRY glRequestExtensionCHROMIUM (const GLchar *extension);
extension        1783 ppapi/lib/gl/include/GLES2/gl2ext.h typedef void (GL_APIENTRYP PFNGLREQUESTEXTENSIONCHROMIUM) (const GLchar *extension);
extension          19 sandbox/win/src/handle_closer_test.cc HANDLE GetMarkerFile(const wchar_t *extension) {
extension          37 sandbox/win/src/handle_closer_test.cc   marker_path += extension;
extension         261 sync/internal_api/base_node.cc   return GetEntitySpecifics().extension();
extension         400 sync/protocol/proto_value_conversions.cc   SET(extension, ExtensionSpecificsToValue);
extension         759 sync/protocol/proto_value_conversions.cc   SET_FIELD(extension, ExtensionSpecificsToValue);
extension         282 sync/protocol/proto_value_conversions_unittest.cc   SET_FIELD(extension);
extension        1400 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh     case Extension:		return TRACE_RETURN (u.extension.dispatch (c));
extension        1418 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh     case Extension:		return TRACE_RETURN (u.extension.sanitize (c));
extension        1436 third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh   ExtensionPos		extension;
extension        1091 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh     case Extension:		return TRACE_RETURN (u.extension.dispatch (c));
extension        1108 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh     case Extension:		return TRACE_RETURN (u.extension.sanitize (c));
extension        1125 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh   ExtensionSubst		extension;
extension        1281 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh       unsigned int type = get_subtable (0).u.extension.get_type ();
extension        1284 third_party/harfbuzz-ng/src/hb-ot-layout-gsub-table.hh         if (get_subtable (i).u.extension.get_type () != type)
extension         148 third_party/leveldatabase/env_chromium_unittest.cc                             const base::FilePath::StringType& extension) {
extension         154 third_party/leveldatabase/env_chromium_unittest.cc     if (fname.MatchesExtension(extension))
extension         466 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java           final ExtensionRegistry.ExtensionInfo extension =
extension         469 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java           if (extension == null) {
extension         472 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java             field = extension.descriptor;
extension         473 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java             defaultInstance = extension.defaultInstance;
extension         621 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java       ExtensionRegistry.ExtensionInfo extension = null;
extension         640 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java               extension = ((ExtensionRegistry) extensionRegistry)
extension         647 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java             if (extension != null && ExtensionRegistryLite.isEagerlyParseMessageSets()) {
extension         651 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java                   input, extension, extensionRegistry, builder, extensions);
extension         669 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java         if (extension != null) { // We known the type
extension         671 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java               rawBytes, extension, extensionRegistry, builder, extensions);
extension         683 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java         ExtensionRegistry.ExtensionInfo extension,
extension         688 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java       FieldDescriptor field = extension.descriptor;
extension         697 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java         value = input.readMessage(extension.defaultInstance.getParserForType(),
extension         710 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java         ExtensionRegistry.ExtensionInfo extension,
extension         715 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java       FieldDescriptor field = extension.descriptor;
extension         728 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java           value = extension.defaultInstance.getParserForType()
extension         735 third_party/protobuf/java/src/main/java/com/google/protobuf/AbstractMessage.java             extension.defaultInstance, extensionRegistry, rawBytes);
extension         401 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java       for (final FieldDescriptor extension : extensions) {
extension         402 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java         extension.crossLink();
extension         628 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java       for (final FieldDescriptor extension : extensions) {
extension         629 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java         extension.crossLink();
extension         157 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java   public void add(final GeneratedMessage.GeneratedExtension<?, ?> extension) {
extension         158 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java     if (extension.getDescriptor().getJavaType() ==
extension         160 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java       if (extension.getMessageDefaultInstance() == null) {
extension         163 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java             extension.getDescriptor().getFullName());
extension         165 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java       add(new ExtensionInfo(extension.getDescriptor(),
extension         166 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java                             extension.getMessageDefaultInstance()));
extension         168 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java       add(new ExtensionInfo(extension.getDescriptor(), null));
extension         218 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java   private void add(final ExtensionInfo extension) {
extension         219 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java     if (!extension.descriptor.isExtension()) {
extension         225 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java     extensionsByName.put(extension.descriptor.getFullName(), extension);
extension         227 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java       new DescriptorIntPair(extension.descriptor.getContainingType(),
extension         228 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java                             extension.descriptor.getNumber()),
extension         229 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java       extension);
extension         231 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java     final FieldDescriptor field = extension.descriptor;
extension         239 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistry.java       extensionsByName.put(field.getMessageType().getFullName(), extension);
extension         124 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistryLite.java       final GeneratedMessageLite.GeneratedExtension<?, ?> extension) {
extension         126 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistryLite.java       new ObjectIntPair(extension.getContainingTypeDefaultInstance(),
extension         127 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistryLite.java                         extension.getNumber()),
extension         128 third_party/protobuf/java/src/main/java/com/google/protobuf/ExtensionRegistryLite.java       extension);
extension         513 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         GeneratedExtension<MessageType, Type> extension);
extension         517 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         GeneratedExtension<MessageType, List<Type>> extension);
extension         520 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java     <Type> Type getExtension(GeneratedExtension<MessageType, Type> extension);
extension         524 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         GeneratedExtension<MessageType, List<Type>> extension,
extension         581 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         final GeneratedExtension<MessageType, ?> extension) {
extension         582 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       if (extension.getDescriptor().getContainingType() !=
extension         587 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java           extension.getDescriptor().getContainingType().getFullName() +
extension         596 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         final GeneratedExtension<MessageType, Type> extension) {
extension         597 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       verifyExtensionContainingType(extension);
extension         598 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       return extensions.hasField(extension.getDescriptor());
extension         604 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         final GeneratedExtension<MessageType, List<Type>> extension) {
extension         605 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       verifyExtensionContainingType(extension);
extension         606 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       final FieldDescriptor descriptor = extension.getDescriptor();
extension         614 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         final GeneratedExtension<MessageType, Type> extension) {
extension         615 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       verifyExtensionContainingType(extension);
extension         616 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       FieldDescriptor descriptor = extension.getDescriptor();
extension         623 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java           return (Type) extension.getMessageDefaultInstance();
extension         625 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java           return (Type) extension.fromReflectionType(
extension         629 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         return (Type) extension.fromReflectionType(value);
extension         637 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         final GeneratedExtension<MessageType, List<Type>> extension,
extension         639 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       verifyExtensionContainingType(extension);
extension         640 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       FieldDescriptor descriptor = extension.getDescriptor();
extension         641 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       return (Type) extension.singularFromReflectionType(
extension         893 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         final GeneratedExtension<MessageType, ?> extension) {
extension         894 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       if (extension.getDescriptor().getContainingType() !=
extension         899 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java           extension.getDescriptor().getContainingType().getFullName() +
extension         908 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         final GeneratedExtension<MessageType, Type> extension) {
extension         909 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       verifyExtensionContainingType(extension);
extension         910 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       return extensions.hasField(extension.getDescriptor());
extension         916 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         final GeneratedExtension<MessageType, List<Type>> extension) {
extension         917 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       verifyExtensionContainingType(extension);
extension         918 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       final FieldDescriptor descriptor = extension.getDescriptor();
extension         925 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         final GeneratedExtension<MessageType, Type> extension) {
extension         926 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       verifyExtensionContainingType(extension);
extension         927 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       FieldDescriptor descriptor = extension.getDescriptor();
extension         934 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java           return (Type) extension.getMessageDefaultInstance();
extension         936 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java           return (Type) extension.fromReflectionType(
extension         940 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         return (Type) extension.fromReflectionType(value);
extension         947 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         final GeneratedExtension<MessageType, List<Type>> extension,
extension         949 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       verifyExtensionContainingType(extension);
extension         950 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       FieldDescriptor descriptor = extension.getDescriptor();
extension         951 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       return (Type) extension.singularFromReflectionType(
extension         957 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         final GeneratedExtension<MessageType, Type> extension,
extension         959 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       verifyExtensionContainingType(extension);
extension         961 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       final FieldDescriptor descriptor = extension.getDescriptor();
extension         962 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       extensions.setField(descriptor, extension.toReflectionType(value));
extension         969 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         final GeneratedExtension<MessageType, List<Type>> extension,
extension         971 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       verifyExtensionContainingType(extension);
extension         973 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       final FieldDescriptor descriptor = extension.getDescriptor();
extension         976 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         extension.singularToReflectionType(value));
extension         983 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         final GeneratedExtension<MessageType, List<Type>> extension,
extension         985 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       verifyExtensionContainingType(extension);
extension         987 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       final FieldDescriptor descriptor = extension.getDescriptor();
extension         989 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java           descriptor, extension.singularToReflectionType(value));
extension         996 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java         final GeneratedExtension<MessageType, ?> extension) {
extension         997 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       verifyExtensionContainingType(extension);
extension         999 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessage.java       extensions.clearField(extension.getDescriptor());
extension         130 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         GeneratedExtension<MessageType, Type> extension);
extension         134 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         GeneratedExtension<MessageType, List<Type>> extension);
extension         137 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java     <Type> Type getExtension(GeneratedExtension<MessageType, Type> extension);
extension         141 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         GeneratedExtension<MessageType, List<Type>> extension,
extension         164 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         final GeneratedExtension<MessageType, ?> extension) {
extension         165 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       if (extension.getContainingTypeDefaultInstance() !=
extension         177 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         final GeneratedExtension<MessageType, Type> extension) {
extension         178 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       verifyExtensionContainingType(extension);
extension         179 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       return extensions.hasField(extension.descriptor);
extension         185 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         final GeneratedExtension<MessageType, List<Type>> extension) {
extension         186 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       verifyExtensionContainingType(extension);
extension         187 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       return extensions.getRepeatedFieldCount(extension.descriptor);
extension         194 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         final GeneratedExtension<MessageType, Type> extension) {
extension         195 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       verifyExtensionContainingType(extension);
extension         196 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       final Object value = extensions.getField(extension.descriptor);
extension         198 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         return extension.defaultValue;
extension         208 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         final GeneratedExtension<MessageType, List<Type>> extension,
extension         210 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       verifyExtensionContainingType(extension);
extension         211 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       return (Type) extensions.getRepeatedField(extension.descriptor, index);
extension         269 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java           ExtensionDescriptor extension = next.getKey();
extension         270 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java           if (messageSetWireFormat && extension.getLiteJavaType() ==
extension         272 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java               !extension.isRepeated()) {
extension         273 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java             output.writeMessageSetExtension(extension.getNumber(),
extension         276 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java             FieldSet.writeField(extension, next.getValue(), output);
extension         342 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         final GeneratedExtension<MessageType, ?> extension) {
extension         343 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       if (extension.getContainingTypeDefaultInstance() !=
extension         355 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         final GeneratedExtension<MessageType, Type> extension) {
extension         356 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       verifyExtensionContainingType(extension);
extension         357 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       return extensions.hasField(extension.descriptor);
extension         363 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         final GeneratedExtension<MessageType, List<Type>> extension) {
extension         364 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       verifyExtensionContainingType(extension);
extension         365 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       return extensions.getRepeatedFieldCount(extension.descriptor);
extension         372 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         final GeneratedExtension<MessageType, Type> extension) {
extension         373 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       verifyExtensionContainingType(extension);
extension         374 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       final Object value = extensions.getField(extension.descriptor);
extension         376 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         return extension.defaultValue;
extension         386 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         final GeneratedExtension<MessageType, List<Type>> extension,
extension         388 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       verifyExtensionContainingType(extension);
extension         389 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       return (Type) extensions.getRepeatedField(extension.descriptor, index);
extension         403 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         final GeneratedExtension<MessageType, Type> extension,
extension         405 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       verifyExtensionContainingType(extension);
extension         407 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       extensions.setField(extension.descriptor, value);
extension         413 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         final GeneratedExtension<MessageType, List<Type>> extension,
extension         415 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       verifyExtensionContainingType(extension);
extension         417 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       extensions.setRepeatedField(extension.descriptor, index, value);
extension         423 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         final GeneratedExtension<MessageType, List<Type>> extension,
extension         425 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       verifyExtensionContainingType(extension);
extension         427 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       extensions.addRepeatedField(extension.descriptor, value);
extension         433 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         final GeneratedExtension<MessageType, ?> extension) {
extension         434 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       verifyExtensionContainingType(extension);
extension         436 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       extensions.clearField(extension.descriptor);
extension         485 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java     GeneratedExtension<MessageType, ?> extension =
extension         491 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java     if (extension == null) {
extension         494 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java                  extension.descriptor.getLiteType(),
extension         497 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java     } else if (extension.descriptor.isRepeated &&
extension         498 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java                extension.descriptor.type.isPackable() &&
extension         500 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java                  extension.descriptor.getLiteType(),
extension         514 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       if (extension.descriptor.getLiteType() == WireFormat.FieldType.ENUM) {
extension         518 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java               extension.descriptor.getEnumType().findValueByNumber(rawValue);
extension         524 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java           extensions.addRepeatedField(extension.descriptor, value);
extension         530 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java                                         extension.descriptor.getLiteType());
extension         531 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java           extensions.addRepeatedField(extension.descriptor, value);
extension         537 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       switch (extension.descriptor.getLiteJavaType()) {
extension         540 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java           if (!extension.descriptor.isRepeated()) {
extension         542 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java                 (MessageLite) extensions.getField(extension.descriptor);
extension         548 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java             subBuilder = extension.messageDefaultInstance.newBuilderForType();
extension         550 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java           if (extension.descriptor.getLiteType() ==
extension         552 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java             input.readGroup(extension.getNumber(),
extension         562 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java           value = extension.descriptor.getEnumType()
extension         572 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java               extension.descriptor.getLiteType());
extension         576 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java       if (extension.descriptor.isRepeated()) {
extension         577 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         extensions.addRepeatedField(extension.descriptor, value);
extension         579 third_party/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java         extensions.setField(extension.descriptor, value);
extension        1076 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java     ExtensionRegistry.ExtensionInfo extension = null;
extension        1087 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java       extension = extensionRegistry.findExtensionByName(name.toString());
extension        1089 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java       if (extension == null) {
extension        1092 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java       } else if (extension.descriptor.getContainingType() != type) {
extension        1100 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java       field = extension.descriptor;
extension        1145 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java       if (extension == null) {
extension        1148 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java         subBuilder = extension.defaultInstance.newBuilderForType();
extension         134 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java     FieldDescriptor extension =
extension         136 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java     assertEquals(extension, file.getExtensions().get(0));
extension         137 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java     assertEquals(extension,
extension         203 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java     FieldDescriptor extension =
extension         237 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java     assertEquals("optional_int32_extension", extension.getName());
extension         239 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java                  extension.getFullName());
extension         240 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java     assertEquals(1, extension.getNumber());
extension         242 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java                  extension.getContainingType());
extension         243 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java     assertEquals(UnittestProto.getDescriptor(), extension.getFile());
extension         244 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java     assertEquals(FieldDescriptor.Type.INT32, extension.getType());
extension         245 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java     assertEquals(FieldDescriptor.JavaType.INT, extension.getJavaType());
extension         247 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java                  extension.getOptions());
extension         248 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java     assertTrue(extension.isExtension());
extension         249 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java     assertEquals(null, extension.getExtensionScope());
extension         250 third_party/protobuf/java/src/test/java/com/google/protobuf/DescriptorsTest.java     assertEquals("optional_int32_extension", extension.toProto().getName());
extension        2917 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java         ExtensionRegistry.ExtensionInfo extension =
extension        2920 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java         Assert.assertNotNull(extension);
extension        2921 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java         Assert.assertNotNull(extension.defaultInstance);
extension        2922 third_party/protobuf/java/src/test/java/com/google/protobuf/TestUtil.java         return extension.defaultInstance.newBuilderForType();
extension          83 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_file.cc       new ExtensionGenerator(file->extension(i), options));
extension         316 third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc       new ExtensionGenerator(descriptor->extension(i), options));
extension          79 third_party/protobuf/src/google/protobuf/compiler/java/java_field.cc     FieldGenerator* generator = MakeGenerator(descriptor->extension(i),
extension         211 third_party/protobuf/src/google/protobuf/compiler/java/java_file.cc     ExtensionGenerator(file_->extension(i)).GenerateRegistrationCode(printer);
extension         244 third_party/protobuf/src/google/protobuf/compiler/java/java_file.cc     ExtensionGenerator(file_->extension(i)).Generate(printer);
extension         352 third_party/protobuf/src/google/protobuf/compiler/java/java_file.cc     ExtensionGenerator(file_->extension(i))
extension         474 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc     ExtensionGenerator(descriptor_->extension(i)).Generate(printer);
extension        1233 third_party/protobuf/src/google/protobuf/compiler/java/java_message.cc     ExtensionGenerator(descriptor_->extension(i))
extension        1761 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc   const FieldDescriptorProto& field1 = file_.extension(0);
extension        1762 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc   const FieldDescriptorProto& field2 = file_.extension(1);
extension        1763 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc   const FieldDescriptorProto& field3 = file_.extension(2);
extension        1805 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc   const FieldDescriptorProto& field1 = file_.message_type(0).extension(0);
extension        1806 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc   const FieldDescriptorProto& field2 = file_.message_type(0).extension(1);
extension        1807 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc   const FieldDescriptorProto& field3 = file_.message_type(0).extension(2);
extension         433 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc     const FieldDescriptor& extension_field = *file_->extension(i);
extension         807 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc     FixForeignFieldsInExtension(*file_->extension(i));
extension         845 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc     FixForeignFieldsInExtension(*descriptor.extension(i));
extension         949 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc       &Descriptor::extension_count, &Descriptor::extension);
extension        1066 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc     const FieldDescriptor& field = *file_->extension(i);
extension        1140 third_party/protobuf/src/google/protobuf/compiler/python/python_generator.cc     const FieldDescriptor& field = *descriptor.extension(i);
extension        1494 third_party/protobuf/src/google/protobuf/descriptor.cc     extension(i)->CopyTo(proto->add_extension());
extension        1526 third_party/protobuf/src/google/protobuf/descriptor.cc     extension(i)->CopyTo(proto->add_extension());
extension        1742 third_party/protobuf/src/google/protobuf/descriptor.cc     if (extension(i)->type() == FieldDescriptor::TYPE_GROUP) {
extension        1743 third_party/protobuf/src/google/protobuf/descriptor.cc       groups.insert(extension(i)->message_type());
extension        1763 third_party/protobuf/src/google/protobuf/descriptor.cc     if (extension(i)->containing_type() != containing_type) {
extension        1765 third_party/protobuf/src/google/protobuf/descriptor.cc       containing_type = extension(i)->containing_type();
extension        1769 third_party/protobuf/src/google/protobuf/descriptor.cc     extension(i)->DebugString(1, &contents);
extension        1800 third_party/protobuf/src/google/protobuf/descriptor.cc     if (extension(i)->type() == FieldDescriptor::TYPE_GROUP) {
extension        1801 third_party/protobuf/src/google/protobuf/descriptor.cc       groups.insert(extension(i)->message_type());
extension        1829 third_party/protobuf/src/google/protobuf/descriptor.cc     if (extension(i)->containing_type() != containing_type) {
extension        1831 third_party/protobuf/src/google/protobuf/descriptor.cc       containing_type = extension(i)->containing_type();
extension        1835 third_party/protobuf/src/google/protobuf/descriptor.cc     extension(i)->DebugString(depth + 1, contents);
extension        3208 third_party/protobuf/src/google/protobuf/descriptor.cc   BUILD_ARRAY(proto, result, extension   , BuildExtension, NULL);
extension        3271 third_party/protobuf/src/google/protobuf/descriptor.cc   BUILD_ARRAY(proto, result, extension      , BuildExtension     , result);
extension        3748 third_party/protobuf/src/google/protobuf/descriptor.cc     CrossLinkField(&file->extensions_[i], proto.extension(i));
extension        3779 third_party/protobuf/src/google/protobuf/descriptor.cc     CrossLinkField(&message->extensions_[i], proto.extension(i));
extension        4034 third_party/protobuf/src/google/protobuf/descriptor.cc   VALIDATE_OPTIONS_FROM_ARRAY(file, extension, Field);
extension        4057 third_party/protobuf/src/google/protobuf/descriptor.cc   VALIDATE_OPTIONS_FROM_ARRAY(message, extension, Field);
extension        4788 third_party/protobuf/src/google/protobuf/descriptor.cc         const FieldDescriptor* extension = foreign_type->extension(i);
extension        4789 third_party/protobuf/src/google/protobuf/descriptor.cc         if (extension->containing_type() == descriptor &&
extension        4790 third_party/protobuf/src/google/protobuf/descriptor.cc             extension->type() == FieldDescriptor::TYPE_MESSAGE &&
extension        4791 third_party/protobuf/src/google/protobuf/descriptor.cc             extension->is_optional() &&
extension        4792 third_party/protobuf/src/google/protobuf/descriptor.cc             extension->message_type() == foreign_type) {
extension        4794 third_party/protobuf/src/google/protobuf/descriptor.cc           return extension;
extension         244 third_party/protobuf/src/google/protobuf/descriptor.h   const FieldDescriptor* extension(int index) const;
extension         948 third_party/protobuf/src/google/protobuf/descriptor.h   const FieldDescriptor* extension(int index) const;
extension        1339 third_party/protobuf/src/google/protobuf/descriptor.h PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, extension,
extension        1416 third_party/protobuf/src/google/protobuf/descriptor.h PROTOBUF_DEFINE_ARRAY_ACCESSOR(FileDescriptor, extension,
extension        1300 third_party/protobuf/src/google/protobuf/descriptor.pb.cc       7, this->extension(i), output);
extension        1389 third_party/protobuf/src/google/protobuf/descriptor.pb.cc         7, this->extension(i), target);
extension        1516 third_party/protobuf/src/google/protobuf/descriptor.pb.cc         this->extension(i));
extension        1594 third_party/protobuf/src/google/protobuf/descriptor.pb.cc     if (!this->extension(i).IsInitialized()) return false;
extension        2131 third_party/protobuf/src/google/protobuf/descriptor.pb.cc       6, this->extension(i), output);
extension        2190 third_party/protobuf/src/google/protobuf/descriptor.pb.cc         6, this->extension(i), target);
extension        2239 third_party/protobuf/src/google/protobuf/descriptor.pb.cc         this->extension(i));
extension        2325 third_party/protobuf/src/google/protobuf/descriptor.pb.cc     if (!this->extension(i).IsInitialized()) return false;
extension         399 third_party/protobuf/src/google/protobuf/descriptor.pb.h   inline const ::google::protobuf::FieldDescriptorProto& extension(int index) const;
extension         403 third_party/protobuf/src/google/protobuf/descriptor.pb.h       extension() const;
extension         638 third_party/protobuf/src/google/protobuf/descriptor.pb.h   inline const ::google::protobuf::FieldDescriptorProto& extension(int index) const;
extension         642 third_party/protobuf/src/google/protobuf/descriptor.pb.h       extension() const;
extension        3123 third_party/protobuf/src/google/protobuf/descriptor.pb.h inline const ::google::protobuf::FieldDescriptorProto& FileDescriptorProto::extension(int index) const {
extension        3133 third_party/protobuf/src/google/protobuf/descriptor.pb.h FileDescriptorProto::extension() const {
extension        3371 third_party/protobuf/src/google/protobuf/descriptor.pb.h inline const ::google::protobuf::FieldDescriptorProto& DescriptorProto::extension(int index) const {
extension        3381 third_party/protobuf/src/google/protobuf/descriptor.pb.h DescriptorProto::extension() const {
extension          75 third_party/protobuf/src/google/protobuf/descriptor_database.cc     if (!AddSymbol(path + file.extension(i).name(), value)) return false;
extension          76 third_party/protobuf/src/google/protobuf/descriptor_database.cc     if (!AddExtension(file.extension(i), value)) return false;
extension         144 third_party/protobuf/src/google/protobuf/descriptor_database.cc     if (!AddExtension(message_type.extension(i), value)) return false;
extension         423 third_party/protobuf/src/google/protobuf/descriptor_database.cc   const FieldDescriptor* extension =
extension         425 third_party/protobuf/src/google/protobuf/descriptor_database.cc   if (extension == NULL) return false;
extension         428 third_party/protobuf/src/google/protobuf/descriptor_database.cc   extension->file()->CopyTo(output);
extension         234 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc     foo_extension_ = foo_file_->extension(0);
extension         245 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc     bar_extension_ = bar_file_->extension(0);
extension         728 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("bar_foo", message_->extension(0)->lowercase_name());
extension         729 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("barbar" , message_->extension(1)->lowercase_name());
extension         730 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("barbaz" , message_->extension(2)->lowercase_name());
extension         731 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("barfoo" , message_->extension(3)->lowercase_name());
extension         732 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("barbar" , message_->extension(4)->lowercase_name());
extension         734 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("baz_foo", file_->extension(0)->lowercase_name());
extension         735 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("bazbar" , file_->extension(1)->lowercase_name());
extension         736 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("bazbaz" , file_->extension(2)->lowercase_name());
extension         737 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("bazfoo" , file_->extension(3)->lowercase_name());
extension         738 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("bazbar" , file_->extension(4)->lowercase_name());
extension         748 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("barFoo", message_->extension(0)->camelcase_name());
extension         749 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("barBar", message_->extension(1)->camelcase_name());
extension         750 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("barBaz", message_->extension(2)->camelcase_name());
extension         751 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("barFoo", message_->extension(3)->camelcase_name());
extension         752 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("barbar", message_->extension(4)->camelcase_name());
extension         754 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("bazFoo", file_->extension(0)->camelcase_name());
extension         755 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("bazBar", file_->extension(1)->camelcase_name());
extension         756 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("bazBaz", file_->extension(2)->camelcase_name());
extension         757 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("bazFoo", file_->extension(3)->camelcase_name());
extension         758 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("bazbar", file_->extension(4)->camelcase_name());
extension         773 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(message_->extension(0),
extension         775 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(message_->extension(1),
extension         777 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(message_->extension(2),
extension         784 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(file_->extension(0),
extension         786 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(file_->extension(1),
extension         788 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(file_->extension(2),
extension         807 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(message_->extension(0),
extension         809 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(message_->extension(1),
extension         811 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(message_->extension(2),
extension         818 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(file_->extension(0),
extension         820 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(file_->extension(1),
extension         822 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(file_->extension(2),
extension        1445 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_TRUE(foo_file_->extension(0)->is_extension());
extension        1446 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_TRUE(foo_file_->extension(1)->is_extension());
extension        1447 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_TRUE(bar_->extension(0)->is_extension());
extension        1448 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_TRUE(bar_->extension(1)->is_extension());
extension        1450 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("foo_int32"  , foo_file_->extension(0)->name());
extension        1451 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("foo_enum"   , foo_file_->extension(1)->name());
extension        1452 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("foo_message", bar_->extension(0)->name());
extension        1453 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("foo_group"  , bar_->extension(1)->name());
extension        1455 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(10, foo_file_->extension(0)->number());
extension        1456 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(19, foo_file_->extension(1)->number());
extension        1457 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(30, bar_->extension(0)->number());
extension        1458 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(39, bar_->extension(1)->number());
extension        1460 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(FieldDescriptor::TYPE_INT32  , foo_file_->extension(0)->type());
extension        1461 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(FieldDescriptor::TYPE_ENUM   , foo_file_->extension(1)->type());
extension        1462 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(FieldDescriptor::TYPE_MESSAGE, bar_->extension(0)->type());
extension        1463 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(FieldDescriptor::TYPE_GROUP  , bar_->extension(1)->type());
extension        1465 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(baz_, foo_file_->extension(1)->enum_type());
extension        1466 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(qux_, bar_->extension(0)->message_type());
extension        1467 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(qux_, bar_->extension(1)->message_type());
extension        1469 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(FieldDescriptor::LABEL_OPTIONAL, foo_file_->extension(0)->label());
extension        1470 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(FieldDescriptor::LABEL_REPEATED, foo_file_->extension(1)->label());
extension        1471 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(FieldDescriptor::LABEL_OPTIONAL, bar_->extension(0)->label());
extension        1472 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(FieldDescriptor::LABEL_REPEATED, bar_->extension(1)->label());
extension        1474 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(foo_, foo_file_->extension(0)->containing_type());
extension        1475 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(foo_, foo_file_->extension(1)->containing_type());
extension        1476 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(foo_, bar_->extension(0)->containing_type());
extension        1477 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(foo_, bar_->extension(1)->containing_type());
extension        1479 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_TRUE(foo_file_->extension(0)->extension_scope() == NULL);
extension        1480 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_TRUE(foo_file_->extension(1)->extension_scope() == NULL);
extension        1481 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(bar_, bar_->extension(0)->extension_scope());
extension        1482 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(bar_, bar_->extension(1)->extension_scope());
extension        1501 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(bar_->extension(0), bar_->FindExtensionByName("foo_message"));
extension        1502 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(bar_->extension(1), bar_->FindExtensionByName("foo_group"  ));
extension        1994 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   const Descriptor* extendee = file->extension(0)->containing_type();
extension        4228 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   const FieldDescriptor* extension = pool.FindExtensionByNumber(foo, 5);
extension        4229 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   ASSERT_TRUE(extension != NULL);
extension        4230 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ("foo_ext", extension->name());
extension        4231 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc   EXPECT_EQ(extension->file(), pool.FindFileByName("bar.proto"));
extension         102 third_party/protobuf/src/google/protobuf/extension_set.cc   const ExtensionInfo* extension =
extension         104 third_party/protobuf/src/google/protobuf/extension_set.cc   if (extension == NULL) {
extension         107 third_party/protobuf/src/google/protobuf/extension_set.cc     *output = *extension;
extension         253 third_party/protobuf/src/google/protobuf/extension_set.cc   Extension* extension;                                                        \
extension         254 third_party/protobuf/src/google/protobuf/extension_set.cc   if (MaybeNewExtension(number, descriptor, &extension)) {                     \
extension         255 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->type = type;                                                    \
extension         256 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_##UPPERCASE); \
extension         257 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->is_repeated = false;                                            \
extension         259 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_TYPE(*extension, OPTIONAL, UPPERCASE);                              \
extension         261 third_party/protobuf/src/google/protobuf/extension_set.cc   extension->is_cleared = false;                                               \
extension         262 third_party/protobuf/src/google/protobuf/extension_set.cc   extension->LOWERCASE##_value = value;                                        \
extension         283 third_party/protobuf/src/google/protobuf/extension_set.cc   Extension* extension;                                                        \
extension         284 third_party/protobuf/src/google/protobuf/extension_set.cc   if (MaybeNewExtension(number, descriptor, &extension)) {                     \
extension         285 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->type = type;                                                    \
extension         286 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_##UPPERCASE); \
extension         287 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->is_repeated = true;                                             \
extension         288 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->is_packed = packed;                                             \
extension         289 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->repeated_##LOWERCASE##_value = new RepeatedField<LOWERCASE>();  \
extension         291 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_TYPE(*extension, REPEATED, UPPERCASE);                              \
extension         292 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_EQ(extension->is_packed, packed);                                   \
extension         294 third_party/protobuf/src/google/protobuf/extension_set.cc   extension->repeated_##LOWERCASE##_value->Add(value);                         \
extension         331 third_party/protobuf/src/google/protobuf/extension_set.cc   Extension* extension;
extension         332 third_party/protobuf/src/google/protobuf/extension_set.cc   if (MaybeNewExtension(number, descriptor, &extension)) {
extension         333 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->type = type;
extension         334 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_ENUM);
extension         335 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->is_repeated = false;
extension         337 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_TYPE(*extension, OPTIONAL, ENUM);
extension         339 third_party/protobuf/src/google/protobuf/extension_set.cc   extension->is_cleared = false;
extension         340 third_party/protobuf/src/google/protobuf/extension_set.cc   extension->enum_value = value;
extension         360 third_party/protobuf/src/google/protobuf/extension_set.cc   Extension* extension;
extension         361 third_party/protobuf/src/google/protobuf/extension_set.cc   if (MaybeNewExtension(number, descriptor, &extension)) {
extension         362 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->type = type;
extension         363 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_ENUM);
extension         364 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->is_repeated = true;
extension         365 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->is_packed = packed;
extension         366 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->repeated_enum_value = new RepeatedField<int>();
extension         368 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_TYPE(*extension, REPEATED, ENUM);
extension         369 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_EQ(extension->is_packed, packed);
extension         371 third_party/protobuf/src/google/protobuf/extension_set.cc   extension->repeated_enum_value->Add(value);
extension         391 third_party/protobuf/src/google/protobuf/extension_set.cc   Extension* extension;
extension         392 third_party/protobuf/src/google/protobuf/extension_set.cc   if (MaybeNewExtension(number, descriptor, &extension)) {
extension         393 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->type = type;
extension         394 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_STRING);
extension         395 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->is_repeated = false;
extension         396 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->string_value = new string;
extension         398 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_TYPE(*extension, OPTIONAL, STRING);
extension         400 third_party/protobuf/src/google/protobuf/extension_set.cc   extension->is_cleared = false;
extension         401 third_party/protobuf/src/google/protobuf/extension_set.cc   return extension->string_value;
extension         420 third_party/protobuf/src/google/protobuf/extension_set.cc   Extension* extension;
extension         421 third_party/protobuf/src/google/protobuf/extension_set.cc   if (MaybeNewExtension(number, descriptor, &extension)) {
extension         422 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->type = type;
extension         423 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_STRING);
extension         424 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->is_repeated = true;
extension         425 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->is_packed = false;
extension         426 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->repeated_string_value = new RepeatedPtrField<string>();
extension         428 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_TYPE(*extension, REPEATED, STRING);
extension         430 third_party/protobuf/src/google/protobuf/extension_set.cc   return extension->repeated_string_value->Add();
extension         460 third_party/protobuf/src/google/protobuf/extension_set.cc   Extension* extension;
extension         461 third_party/protobuf/src/google/protobuf/extension_set.cc   if (MaybeNewExtension(number, descriptor, &extension)) {
extension         462 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->type = type;
extension         463 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE);
extension         464 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->is_repeated = false;
extension         465 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->is_lazy = false;
extension         466 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->message_value = prototype.New();
extension         467 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->is_cleared = false;
extension         468 third_party/protobuf/src/google/protobuf/extension_set.cc     return extension->message_value;
extension         470 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_TYPE(*extension, OPTIONAL, MESSAGE);
extension         471 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->is_cleared = false;
extension         472 third_party/protobuf/src/google/protobuf/extension_set.cc     if (extension->is_lazy) {
extension         473 third_party/protobuf/src/google/protobuf/extension_set.cc       return extension->lazymessage_value->MutableMessage(prototype);
extension         475 third_party/protobuf/src/google/protobuf/extension_set.cc       return extension->message_value;
extension         492 third_party/protobuf/src/google/protobuf/extension_set.cc   Extension* extension;
extension         493 third_party/protobuf/src/google/protobuf/extension_set.cc   if (MaybeNewExtension(number, descriptor, &extension)) {
extension         494 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->type = type;
extension         495 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE);
extension         496 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->is_repeated = false;
extension         497 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->is_lazy = false;
extension         498 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->message_value = message;
extension         500 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_TYPE(*extension, OPTIONAL, MESSAGE);
extension         501 third_party/protobuf/src/google/protobuf/extension_set.cc     if (extension->is_lazy) {
extension         502 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->lazymessage_value->SetAllocatedMessage(message);
extension         504 third_party/protobuf/src/google/protobuf/extension_set.cc       delete extension->message_value;
extension         505 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->message_value = message;
extension         508 third_party/protobuf/src/google/protobuf/extension_set.cc   extension->is_cleared = false;
extension         553 third_party/protobuf/src/google/protobuf/extension_set.cc   Extension* extension;
extension         554 third_party/protobuf/src/google/protobuf/extension_set.cc   if (MaybeNewExtension(number, descriptor, &extension)) {
extension         555 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->type = type;
extension         556 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE);
extension         557 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->is_repeated = true;
extension         558 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->repeated_message_value =
extension         561 third_party/protobuf/src/google/protobuf/extension_set.cc     GOOGLE_DCHECK_TYPE(*extension, REPEATED, MESSAGE);
extension         566 third_party/protobuf/src/google/protobuf/extension_set.cc   MessageLite* result = extension->repeated_message_value
extension         570 third_party/protobuf/src/google/protobuf/extension_set.cc     extension->repeated_message_value->AddAllocated(result);
extension         586 third_party/protobuf/src/google/protobuf/extension_set.cc   Extension* extension = &iter->second;
extension         587 third_party/protobuf/src/google/protobuf/extension_set.cc   GOOGLE_DCHECK(extension->is_repeated);
extension         589 third_party/protobuf/src/google/protobuf/extension_set.cc   switch(cpp_type(extension->type)) {
extension         591 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_int32_value->RemoveLast();
extension         594 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_int64_value->RemoveLast();
extension         597 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_uint32_value->RemoveLast();
extension         600 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_uint64_value->RemoveLast();
extension         603 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_float_value->RemoveLast();
extension         606 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_double_value->RemoveLast();
extension         609 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_bool_value->RemoveLast();
extension         612 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_enum_value->RemoveLast();
extension         615 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_string_value->RemoveLast();
extension         618 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_message_value->RemoveLast();
extension         627 third_party/protobuf/src/google/protobuf/extension_set.cc   Extension* extension = &iter->second;
extension         628 third_party/protobuf/src/google/protobuf/extension_set.cc   GOOGLE_DCHECK(extension->is_repeated);
extension         629 third_party/protobuf/src/google/protobuf/extension_set.cc   GOOGLE_DCHECK(cpp_type(extension->type) == WireFormatLite::CPPTYPE_MESSAGE);
extension         630 third_party/protobuf/src/google/protobuf/extension_set.cc   return extension->repeated_message_value->ReleaseLast();
extension         637 third_party/protobuf/src/google/protobuf/extension_set.cc   Extension* extension = &iter->second;
extension         638 third_party/protobuf/src/google/protobuf/extension_set.cc   GOOGLE_DCHECK(extension->is_repeated);
extension         640 third_party/protobuf/src/google/protobuf/extension_set.cc   switch(cpp_type(extension->type)) {
extension         642 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_int32_value->SwapElements(index1, index2);
extension         645 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_int64_value->SwapElements(index1, index2);
extension         648 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_uint32_value->SwapElements(index1, index2);
extension         651 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_uint64_value->SwapElements(index1, index2);
extension         654 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_float_value->SwapElements(index1, index2);
extension         657 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_double_value->SwapElements(index1, index2);
extension         660 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_bool_value->SwapElements(index1, index2);
extension         663 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_enum_value->SwapElements(index1, index2);
extension         666 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_string_value->SwapElements(index1, index2);
extension         669 third_party/protobuf/src/google/protobuf/extension_set.cc       extension->repeated_message_value->SwapElements(index1, index2);
extension         689 third_party/protobuf/src/google/protobuf/extension_set.cc       Extension* extension;
extension         691 third_party/protobuf/src/google/protobuf/extension_set.cc                                       &extension);
extension         694 third_party/protobuf/src/google/protobuf/extension_set.cc         extension->type = other_extension.type;
extension         695 third_party/protobuf/src/google/protobuf/extension_set.cc         extension->is_packed = other_extension.is_packed;
extension         696 third_party/protobuf/src/google/protobuf/extension_set.cc         extension->is_repeated = true;
extension         698 third_party/protobuf/src/google/protobuf/extension_set.cc         GOOGLE_DCHECK_EQ(extension->type, other_extension.type);
extension         699 third_party/protobuf/src/google/protobuf/extension_set.cc         GOOGLE_DCHECK_EQ(extension->is_packed, other_extension.is_packed);
extension         700 third_party/protobuf/src/google/protobuf/extension_set.cc         GOOGLE_DCHECK(extension->is_repeated);
extension         707 third_party/protobuf/src/google/protobuf/extension_set.cc             extension->repeated_##LOWERCASE##_value =                \
extension         710 third_party/protobuf/src/google/protobuf/extension_set.cc           extension->repeated_##LOWERCASE##_value->MergeFrom(        \
extension         727 third_party/protobuf/src/google/protobuf/extension_set.cc             extension->repeated_message_value =
extension         736 third_party/protobuf/src/google/protobuf/extension_set.cc             MessageLite* target = extension->repeated_message_value
extension         740 third_party/protobuf/src/google/protobuf/extension_set.cc               extension->repeated_message_value->AddAllocated(target);
extension         771 third_party/protobuf/src/google/protobuf/extension_set.cc             Extension* extension;
extension         774 third_party/protobuf/src/google/protobuf/extension_set.cc                                             &extension);
extension         776 third_party/protobuf/src/google/protobuf/extension_set.cc               extension->type = other_extension.type;
extension         777 third_party/protobuf/src/google/protobuf/extension_set.cc               extension->is_packed = other_extension.is_packed;
extension         778 third_party/protobuf/src/google/protobuf/extension_set.cc               extension->is_repeated = false;
extension         780 third_party/protobuf/src/google/protobuf/extension_set.cc                 extension->is_lazy = true;
extension         781 third_party/protobuf/src/google/protobuf/extension_set.cc                 extension->lazymessage_value =
extension         783 third_party/protobuf/src/google/protobuf/extension_set.cc                 extension->lazymessage_value->MergeFrom(
extension         786 third_party/protobuf/src/google/protobuf/extension_set.cc                 extension->is_lazy = false;
extension         787 third_party/protobuf/src/google/protobuf/extension_set.cc                 extension->message_value =
extension         789 third_party/protobuf/src/google/protobuf/extension_set.cc                 extension->message_value->CheckTypeAndMergeFrom(
extension         793 third_party/protobuf/src/google/protobuf/extension_set.cc               GOOGLE_DCHECK_EQ(extension->type, other_extension.type);
extension         794 third_party/protobuf/src/google/protobuf/extension_set.cc               GOOGLE_DCHECK_EQ(extension->is_packed,other_extension.is_packed);
extension         795 third_party/protobuf/src/google/protobuf/extension_set.cc               GOOGLE_DCHECK(!extension->is_repeated);
extension         797 third_party/protobuf/src/google/protobuf/extension_set.cc                 if (extension->is_lazy) {
extension         798 third_party/protobuf/src/google/protobuf/extension_set.cc                   extension->lazymessage_value->MergeFrom(
extension         801 third_party/protobuf/src/google/protobuf/extension_set.cc                   extension->message_value->CheckTypeAndMergeFrom(
extension         803 third_party/protobuf/src/google/protobuf/extension_set.cc                           *extension->message_value));
extension         806 third_party/protobuf/src/google/protobuf/extension_set.cc                 if (extension->is_lazy) {
extension         807 third_party/protobuf/src/google/protobuf/extension_set.cc                   extension->lazymessage_value->MutableMessage(
extension         811 third_party/protobuf/src/google/protobuf/extension_set.cc                   extension->message_value->CheckTypeAndMergeFrom(
extension         816 third_party/protobuf/src/google/protobuf/extension_set.cc             extension->is_cleared = false;
extension         834 third_party/protobuf/src/google/protobuf/extension_set.cc     const Extension& extension = iter->second;
extension         835 third_party/protobuf/src/google/protobuf/extension_set.cc     if (cpp_type(extension.type) == WireFormatLite::CPPTYPE_MESSAGE) {
extension         836 third_party/protobuf/src/google/protobuf/extension_set.cc       if (extension.is_repeated) {
extension         837 third_party/protobuf/src/google/protobuf/extension_set.cc         for (int i = 0; i < extension.repeated_message_value->size(); i++) {
extension         838 third_party/protobuf/src/google/protobuf/extension_set.cc           if (!extension.repeated_message_value->Get(i).IsInitialized()) {
extension         843 third_party/protobuf/src/google/protobuf/extension_set.cc         if (!extension.is_cleared) {
extension         844 third_party/protobuf/src/google/protobuf/extension_set.cc           if (extension.is_lazy) {
extension         845 third_party/protobuf/src/google/protobuf/extension_set.cc             if (!extension.lazymessage_value->IsInitialized()) return false;
extension         847 third_party/protobuf/src/google/protobuf/extension_set.cc             if (!extension.message_value->IsInitialized()) return false;
extension         859 third_party/protobuf/src/google/protobuf/extension_set.cc     int* field_number, ExtensionInfo* extension) {
extension         864 third_party/protobuf/src/google/protobuf/extension_set.cc   if (!extension_finder->Find(*field_number, extension)) {
extension         866 third_party/protobuf/src/google/protobuf/extension_set.cc   } else if (extension->is_packed) {
extension         870 third_party/protobuf/src/google/protobuf/extension_set.cc         WireFormatLite::WireTypeForFieldType(real_type(extension->type));
extension         880 third_party/protobuf/src/google/protobuf/extension_set.cc   ExtensionInfo extension;
extension         881 third_party/protobuf/src/google/protobuf/extension_set.cc   if (!FindExtensionInfoFromTag(tag, extension_finder, &number, &extension)) {
extension         884 third_party/protobuf/src/google/protobuf/extension_set.cc     return ParseFieldWithExtensionInfo(number, extension, input, field_skipper);
extension         889 third_party/protobuf/src/google/protobuf/extension_set.cc     int number, const ExtensionInfo& extension,
extension         892 third_party/protobuf/src/google/protobuf/extension_set.cc   if (extension.is_packed) {
extension         897 third_party/protobuf/src/google/protobuf/extension_set.cc     switch (extension.type) {
extension         906 third_party/protobuf/src/google/protobuf/extension_set.cc                              true, value, extension.descriptor);               \
extension         930 third_party/protobuf/src/google/protobuf/extension_set.cc           if (extension.enum_validity_check.func(
extension         931 third_party/protobuf/src/google/protobuf/extension_set.cc                   extension.enum_validity_check.arg, value)) {
extension         933 third_party/protobuf/src/google/protobuf/extension_set.cc                     extension.descriptor);
extension         948 third_party/protobuf/src/google/protobuf/extension_set.cc     switch (extension.type) {
extension         955 third_party/protobuf/src/google/protobuf/extension_set.cc         if (extension.is_repeated) {                                          \
extension         957 third_party/protobuf/src/google/protobuf/extension_set.cc                              false, value, extension.descriptor);              \
extension         960 third_party/protobuf/src/google/protobuf/extension_set.cc                              extension.descriptor);                            \
extension         984 third_party/protobuf/src/google/protobuf/extension_set.cc         if (!extension.enum_validity_check.func(
extension         985 third_party/protobuf/src/google/protobuf/extension_set.cc                 extension.enum_validity_check.arg, value)) {
extension         988 third_party/protobuf/src/google/protobuf/extension_set.cc         } else if (extension.is_repeated) {
extension         990 third_party/protobuf/src/google/protobuf/extension_set.cc                   extension.descriptor);
extension         993 third_party/protobuf/src/google/protobuf/extension_set.cc                   extension.descriptor);
extension         999 third_party/protobuf/src/google/protobuf/extension_set.cc         string* value = extension.is_repeated ?
extension        1000 third_party/protobuf/src/google/protobuf/extension_set.cc           AddString(number, WireFormatLite::TYPE_STRING, extension.descriptor) :
extension        1002 third_party/protobuf/src/google/protobuf/extension_set.cc                         extension.descriptor);
extension        1008 third_party/protobuf/src/google/protobuf/extension_set.cc         string* value = extension.is_repeated ?
extension        1009 third_party/protobuf/src/google/protobuf/extension_set.cc           AddString(number, WireFormatLite::TYPE_BYTES, extension.descriptor) :
extension        1011 third_party/protobuf/src/google/protobuf/extension_set.cc                         extension.descriptor);
extension        1017 third_party/protobuf/src/google/protobuf/extension_set.cc         MessageLite* value = extension.is_repeated ?
extension        1019 third_party/protobuf/src/google/protobuf/extension_set.cc                        *extension.message_prototype, extension.descriptor) :
extension        1021 third_party/protobuf/src/google/protobuf/extension_set.cc                            *extension.message_prototype, extension.descriptor);
extension        1027 third_party/protobuf/src/google/protobuf/extension_set.cc         MessageLite* value = extension.is_repeated ?
extension        1029 third_party/protobuf/src/google/protobuf/extension_set.cc                        *extension.message_prototype, extension.descriptor) :
extension        1031 third_party/protobuf/src/google/protobuf/extension_set.cc                            *extension.message_prototype, extension.descriptor);
extension         511 third_party/protobuf/src/google/protobuf/extension_set.h                                 int* field_number, ExtensionInfo* extension);
extension         518 third_party/protobuf/src/google/protobuf/extension_set.h                                    const ExtensionInfo& extension,
extension         140 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc   Extension* extension;
extension         141 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc   if (MaybeNewExtension(descriptor->number(), descriptor, &extension)) {
extension         142 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     extension->type = descriptor->type();
extension         143 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE);
extension         144 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     extension->is_repeated = false;
extension         145 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     extension->is_packed = false;
extension         148 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     extension->is_lazy = false;
extension         149 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     extension->message_value = prototype->New();
extension         150 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     extension->is_cleared = false;
extension         151 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     return extension->message_value;
extension         153 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     GOOGLE_DCHECK_TYPE(*extension, OPTIONAL, MESSAGE);
extension         154 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     extension->is_cleared = false;
extension         155 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     if (extension->is_lazy) {
extension         156 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc       return extension->lazymessage_value->MutableMessage(
extension         159 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc       return extension->message_value;
extension         187 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc   Extension* extension;
extension         188 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc   if (MaybeNewExtension(descriptor->number(), descriptor, &extension)) {
extension         189 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     extension->type = descriptor->type();
extension         190 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE);
extension         191 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     extension->is_repeated = true;
extension         192 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     extension->repeated_message_value =
extension         195 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     GOOGLE_DCHECK_TYPE(*extension, REPEATED, MESSAGE);
extension         200 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc   MessageLite* result = extension->repeated_message_value
extension         204 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     if (extension->repeated_message_value->size() == 0) {
extension         208 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc       prototype = &extension->repeated_message_value->Get(0);
extension         211 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     extension->repeated_message_value->AddAllocated(result);
extension         222 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc   const FieldDescriptor* extension =
extension         224 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc   if (extension == NULL) {
extension         227 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     output->type = extension->type();
extension         228 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     output->is_repeated = extension->is_repeated();
extension         229 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     output->is_packed = extension->options().packed();
extension         230 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     output->descriptor = extension;
extension         231 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     if (extension->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
extension         233 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc           factory_->GetPrototype(extension->message_type());
extension         236 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc           << extension->full_name();
extension         237 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc     } else if (extension->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) {
extension         239 third_party/protobuf/src/google/protobuf/extension_set_heavy.cc       output->enum_validity_check.arg = extension->enum_type();
extension         179 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc   unittest::TestMessageSetExtension1* extension =
extension         183 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc       extension);
extension         190 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc   EXPECT_EQ(extension, released_extension);
extension         197 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc       extension);
extension         590 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc     FieldDescriptorProto* extension = dynamic_proto.mutable_extension(i);
extension         591 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc     extension->set_extendee(
extension         597 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc     if (extension->has_type_name()) {
extension         598 third_party/protobuf/src/google/protobuf/extension_set_unittest.cc       string* type_name = extension->mutable_type_name();
extension        1124 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc         const FieldDescriptor* extension = type->extension(i);
extension        1125 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc         if (extension->containing_type() == descriptor_ &&
extension        1126 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc             extension->type() == FieldDescriptor::TYPE_MESSAGE &&
extension        1127 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc             extension->is_optional() &&
extension        1128 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc             extension->message_type() == type) {
extension        1130 third_party/protobuf/src/google/protobuf/generated_message_reflection.cc           return extension;
extension         361 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc     unittest::TestMessageSetExtension1::descriptor()->extension(0)->number(),
extension         364 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc     unittest::TestMessageSetExtension2::descriptor()->extension(0)->number(),
extension         437 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc       unittest::TestMessageSetExtension1::descriptor()->extension(0)->number());
extension         446 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc       unittest::TestMessageSetExtension2::descriptor()->extension(0)->number());
extension         500 third_party/protobuf/src/google/protobuf/wire_format_unittest.cc     uint32 type_id = message.GetDescriptor()->extension(0)->number();
extension         170 tools/gn/filesystem_utils.cc   base::StringPiece extension = FindExtension(&file.value());
extension         171 tools/gn/filesystem_utils.cc   if (extension == "cc" || extension == "cpp" || extension == "cxx")
extension         173 tools/gn/filesystem_utils.cc   if (extension == "h")
extension         175 tools/gn/filesystem_utils.cc   if (extension == "c")
extension         180 tools/gn/filesystem_utils.cc       if (extension == "m")
extension         182 tools/gn/filesystem_utils.cc       if (extension == "mm")
extension         187 tools/gn/filesystem_utils.cc       if (extension == "rc")
extension         197 tools/gn/filesystem_utils.cc     if (extension == "S")
extension         132 tools/gn/ninja_helper.cc   const char* extension;
extension         139 tools/gn/ninja_helper.cc       extension = "stamp";
extension         141 tools/gn/ninja_helper.cc       extension = GetExtensionForOutputType(target->output_type(),
extension         145 tools/gn/ninja_helper.cc     extension = target->output_extension().c_str();
extension         162 tools/gn/ninja_helper.cc     if (extension[0]) {
extension         164 tools/gn/ninja_helper.cc       ret.value().append(extension);
extension         175 tools/gn/ninja_helper.cc     if (extension[0]) {
extension         177 tools/gn/ninja_helper.cc       ret.value().append(extension);
extension         189 tools/gn/ninja_helper.cc   if (extension[0]) {
extension         191 tools/gn/ninja_helper.cc     ret.value().append(extension);
extension          65 tools/gn/target.h   void set_output_extension(const std::string& extension) {
extension          66 tools/gn/target.h     output_extension_ = extension;
extension         929 ui/base/dragdrop/os_exchange_data_provider_win.cc   static const wchar_t extension[] = L".url";
extension         930 ui/base/dragdrop/os_exchange_data_provider_win.cc   static const size_t max_length = MAX_PATH - arraysize(extension);
extension         933 ui/base/dragdrop/os_exchange_data_provider_win.cc   *validated += extension;
extension         355 ui/events/x/device_data_manager.cc       native_event->xcookie.extension != xi_opcode_)
extension         150 ui/gfx/text_elider.cc   base::string16 extension = filename.Extension();
extension         155 ui/gfx/text_elider.cc   base::string16 extension = WideToUTF16(base::SysNativeMBToWide(
extension         165 ui/gfx/text_elider.cc   if (rootname.empty() || extension.empty()) {
extension         171 ui/gfx/text_elider.cc   const float ext_width = GetStringWidthF(extension, font_list);
extension         176 ui/gfx/text_elider.cc     const base::string16 elided_name = rootname + extension;
extension         182 ui/gfx/text_elider.cc         rootname + extension, font_list, available_pixel_width,
extension         190 ui/gfx/text_elider.cc   elided_name += extension;
extension          43 ui/shell_dialogs/select_file_dialog_win.cc std::wstring GetExtensionWithoutLeadingDot(const std::wstring& extension) {
extension          44 ui/shell_dialogs/select_file_dialog_win.cc   DCHECK(extension.empty() || extension[0] == L'.');
extension          45 ui/shell_dialogs/select_file_dialog_win.cc   return extension.empty() ? extension : extension.substr(1);
extension         122 webkit/browser/fileapi/file_system_url_request_job.cc   base::FilePath::StringType extension = url_.path().Extension();
extension         123 webkit/browser/fileapi/file_system_url_request_job.cc   if (!extension.empty())
extension         124 webkit/browser/fileapi/file_system_url_request_job.cc     extension = extension.substr(1);
extension         125 webkit/browser/fileapi/file_system_url_request_job.cc   return net::GetWellKnownMimeTypeFromExtension(extension, mime_type);
extension         423 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc     const char* extension) {
extension         426 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc   gl_->RequestExtensionCHROMIUM(extension);
extension         313 win8/metro_driver/file_picker.cc       mswrw::HString extension;
extension         318 win8/metro_driver/file_picker.cc           hr = extension.Set(L"*");
extension         327 win8/metro_driver/file_picker.cc           hr = extension.Set(ext.c_str());
extension         330 win8/metro_driver/file_picker.cc           hr = filter->Append(extension.Get());
extension         251 win8/metro_driver/file_picker_ash.cc       mswrw::HString extension;
extension         256 win8/metro_driver/file_picker_ash.cc           hr = extension.Set(L"*");
extension         265 win8/metro_driver/file_picker_ash.cc           hr = extension.Set(ext.c_str());
extension         268 win8/metro_driver/file_picker_ash.cc           hr = filter->Append(extension.Get());