/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
H A D | bookmark_context_menu_unittest.cc | 68 profile_.reset(new TestingProfile()); 69 profile_->CreateBookmarkModel(true); 71 model_ = BookmarkModelFactory::GetForProfile(profile_.get()); 91 scoped_ptr<TestingProfile> profile_; member in class:BookmarkContextMenuTest 128 NULL, NULL, profile_.get(), NULL, nodes[0]->parent(), nodes, false); 160 NULL, NULL, profile_.get(), NULL, model_->other_node(), 180 NULL, NULL, profile_.get(), NULL, nodes[0]->parent(), nodes, false); 199 NULL, NULL, profile_.get(), NULL, nodes[0]->parent(), nodes, false); 217 NULL, NULL, profile_.get(), NULL, nodes[0]->parent(), nodes, false); 237 NULL, NULL, profile_ [all...] |
/external/chromium_org/chrome/browser/net/ |
H A D | chrome_extensions_network_delegate.cc | 141 event_router_.get(), profile_, request->status().error()); 148 ForwardRequestStatus(REQUEST_STARTED, request, profile_); 153 ForwardRequestStatus(REQUEST_DONE, request, profile_); 161 profile_, extension_info_map_.get(), request, callback, new_url); 169 profile_, extension_info_map_.get(), request, callback, headers); 176 profile_, extension_info_map_.get(), request, headers); 186 profile_, 199 profile_, extension_info_map_.get(), request, new_location); 206 profile_, extension_info_map_.get(), request); 219 profile_, extension_info_map [all...] |
/external/chromium_org/chrome/browser/notifications/ |
H A D | desktop_notification_service.cc | 103 profile_(profile), 115 profile_->GetPrefs(), 123 profile_->GetPrefs(), 131 extensions::ExtensionRegistry::Get(profile_)); 174 g_browser_process->notification_ui_manager()->Add(notification, profile_); 178 DesktopNotificationProfileUtil::UsePermission(profile_, origin); 187 extensions::ExtensionSystem::Get(profile_)->info_map(); 216 profile_, notifier_id.url) == CONTENT_SETTING_ALLOW; 260 ListPrefUpdate update(profile_->GetPrefs(), pref_name); 275 const PrefService* pref_service = profile_ [all...] |
/external/chromium_org/chrome/browser/renderer_host/ |
H A D | chrome_extension_message_filter.cc | 72 profile_(profile), 154 if (profile_) { 155 extensions::MessageService::Get(profile_) 188 if (profile_) { 189 extensions::MessageService::Get(profile_) 218 if (profile_) { 219 extensions::MessageService::Get(profile_) 232 if (!profile_) 235 extensions::MessageService::Get(profile_)->PostMessage(port_id, message); 275 if (!profile_) [all...] |
/external/chromium_org/chrome/browser/chromeos/app_mode/ |
H A D | kiosk_diagnosis_runner.cc | 67 : profile_(profile), 87 ->Get(profile_) 100 feedback_data->set_context(profile_); 116 ->Get(profile_) 119 service->SendFeedback(profile_,
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_gcm_app_handler.cc | 44 : profile_(Profile::FromBrowserContext(context)), 47 extension_registry_observer_.Add(ExtensionRegistry::Get(profile_)); 48 js_event_router_.reset(new extensions::GcmJsEventRouter(profile_)); 53 ExtensionRegistry::Get(profile_)->enabled_extensions(); 148 return gcm::GCMProfileServiceFactory::GetForProfile(profile_)->driver();
|
H A D | external_policy_loader_unittest.cc | 53 profile_.reset(new TestingProfile); 54 profile_->GetTestingPrefService()->SetManagedPref( 59 ExtensionManagementFactory::GetForBrowserContext(profile_.get())), 60 profile_.get(), 113 scoped_ptr<TestingProfile> profile_; member in class:extensions::MockExternalPolicyProviderVisitor
|
H A D | suspicious_extension_bubble_controller.cc | 61 Profile* profile_; member in class:__anon4020::SuspiciousExtensionBubbleDelegate 68 : profile_(profile) {} 75 extensions::ExtensionPrefs* prefs = extensions::ExtensionPrefs::Get(profile_); 89 extensions::ExtensionPrefs* prefs = extensions::ExtensionPrefs::Get(profile_); 170 profile_(profile) {} 176 return !g_shown_for_profiles.Get().count(profile_->GetOriginalProfile()) && 181 g_shown_for_profiles.Get().insert(profile_->GetOriginalProfile());
|
/external/chromium_org/chrome/browser/prerender/ |
H A D | prerender_message_filter.cc | 38 profile_(profile) { 70 base::Bind(&OnChannelClosingInUIThread, profile_, render_process_id_)); 81 PrerenderLinkManagerFactory::GetForProfile(profile_); 94 PrerenderLinkManagerFactory::GetForProfile(profile_); 104 PrerenderLinkManagerFactory::GetForProfile(profile_);
|
/external/chromium_org/chrome/browser/speech/extension_api/ |
H A D | tts_engine_extension_observer.cc | 66 : extension_registry_observer_(this), profile_(profile) { 68 extensions::ExtensionRegistry::Get(profile_)); 71 extensions::ExtensionSystem::Get(profile_); 95 extensions::EventRouter::Get(profile_)->UnregisterObserver(this); 101 extensions::ExtensionSystem::Get(profile_);
|
/external/chromium_org/chrome/browser/sync/sessions/ |
H A D | session_data_type_controller.cc | 33 profile_(profile), 58 content::Source<Profile>(profile_)); 80 return !profile_->GetPrefs()->GetBoolean( 100 DCHECK_EQ(profile_, content::Source<Profile>(source).ptr()); 117 if (profile_->GetPrefs()->GetBoolean(prefs::kSavingBrowserHistoryDisabled)) {
|
/external/chromium_org/chrome/browser/ui/bookmarks/ |
H A D | bookmark_context_menu_controller_unittest.cc | 55 profile_ = builder.Build(); 56 profile_->CreateBookmarkModel(true); 57 model_ = BookmarkModelFactory::GetForProfile(profile_.get()); 97 scoped_ptr<TestingProfile> profile_; member in class:BookmarkContextMenuControllerTest 107 NULL, NULL, NULL, profile_.get(), NULL, nodes[0]->parent(), nodes); 129 NULL, NULL, NULL, profile_.get(), NULL, model_->other_node(), 149 NULL, NULL, NULL, profile_.get(), NULL, nodes[0]->parent(), nodes); 169 NULL, NULL, NULL, profile_.get(), NULL, nodes[0]->parent(), nodes); 188 NULL, NULL, NULL, profile_.get(), NULL, nodes[0]->parent(), nodes); 208 NULL, NULL, NULL, profile_ [all...] |
/external/chromium_org/chrome/browser/apps/drive/ |
H A D | drive_app_provider.cc | 38 : profile_(profile), 43 ExtensionRegistry::Get(profile_)->AddObserver(this); 47 ExtensionRegistry::Get(profile_)->RemoveObserver(this); 81 ExtensionRegistry::Get(profile_)->GetExtensionById( 84 extensions::ExtensionSystem::Get(profile_) 96 const Extension* app = ExtensionRegistry::Get(profile_)->GetExtensionById( 141 const Extension* url_app = ExtensionRegistry::Get(profile_)->GetExtensionById( 155 ExtensionRegistry::Get(profile_)->GetExtensionById( 176 new DriveAppConverter(profile_, 191 ExtensionRegistry::Get(profile_) [all...] |
/external/chromium_org/chrome/browser/autocomplete/ |
H A D | zero_suggest_provider_unittest.cc | 44 // |profile_|. 54 TestingProfile profile_; member in class:ZeroSuggestProviderTest 71 &profile_, &TemplateURLServiceFactory::BuildInstanceFor); 73 &profile_, &AutocompleteClassifierFactory::BuildInstanceFor); 76 TemplateURLServiceFactory::GetForProfile(&profile_); 89 provider_ = ZeroSuggestProvider::Create(this, turl_model, &profile_); 124 PrefService* prefs = profile_.GetPrefs(); 132 ChromeAutocompleteSchemeClassifier(&profile_)); 162 ChromeAutocompleteSchemeClassifier(&profile_)); 168 PrefService* prefs = profile_ [all...] |
/external/chromium_org/chrome/browser/ui/app_list/search/webstore/ |
H A D | webstore_result.cc | 71 : profile_(profile), 94 profile_->GetRequestContext(), 113 chrome::NavigateParams params(profile_, 132 return scoped_ptr<ChromeSearchResult>(new WebstoreResult(profile_, 145 extensions::InstallTrackerFactory::GetForBrowserContext(profile_); 146 extension_registry_ = extensions::ExtensionRegistry::Get(profile_); 162 const bool is_otr = profile_->IsOffTheRecord(); 164 extensions::util::IsExtensionInstalledPermanently(app_id_, profile_); 220 profile_, 231 profile_, [all...] |
/external/chromium_org/apps/ |
H A D | app_lifetime_monitor.cc | 24 : profile_(profile) { 36 AppWindowRegistry::Factory::GetForBrowserContext(profile_, 103 AppWindowRegistry::Factory::GetForBrowserContext(profile_, 124 FOR_EACH_OBSERVER(Observer, observers_, OnAppStart(profile_, app_id)); 128 FOR_EACH_OBSERVER(Observer, observers_, OnAppActivated(profile_, app_id)); 132 FOR_EACH_OBSERVER(Observer, observers_, OnAppDeactivated(profile_, app_id)); 136 FOR_EACH_OBSERVER(Observer, observers_, OnAppStop(profile_, app_id));
|
/external/chromium_org/chrome/browser/ui/app_list/search/people/ |
H A D | people_result.cc | 64 : profile_(profile), person_(person.Pass()), weak_factory_(this) { 77 profile_->GetRequestContext(), 114 new PeopleResult(profile_, person_->Duplicate().Pass())).Pass(); 153 SigninManagerFactory::GetInstance()->GetForProfile(profile_); 168 extensions::EventRouter::Get(profile_) 175 chrome::NavigateParams params(profile_, 188 if (extensions::EventRouter::Get(profile_)->ExtensionHasEventListener(
|
/external/chromium_org/chrome/browser/profile_resetter/ |
H A D | profile_resetter.cc | 65 : profile_(profile), 66 template_url_service_(TemplateURLServiceFactory::GetForProfile(profile_)), 71 DCHECK(profile_); 158 PrefService* prefs = profile_->GetPrefs(); 161 profile_->GetPrefs()); 181 GoogleURLTrackerFactory::GetForProfile(profile_); 198 PrefService* prefs = profile_->GetPrefs(); 220 PrefService* prefs = profile_->GetPrefs(); 221 HostContentSettingsMap* map = profile_->GetHostContentSettingsMap(); 239 cookies_remover_ = BrowsingDataRemover::CreateForUnboundedRange(profile_); [all...] |
/external/chromium_org/chrome/browser/ui/views/ |
H A D | select_file_dialog_extension.cc | 186 profile_(NULL), 211 profile_ = NULL; 235 if (profile_) { 239 base::Unretained(extensions::ExtensionSystem::Get(profile_) 347 profile_ = Profile::FromBrowserContext(web_contents->GetBrowserContext()); 348 CHECK(profile_); 356 const PrefService* pref_service = profile_->GetPrefs(); 365 base::FilePath fallback_path = profile_->last_selected_directory().empty() ? 366 download_default_path : profile_->last_selected_directory(); 371 profile_, [all...] |
/external/chromium_org/chrome/browser/background/ |
H A D | background_mode_manager_unittest.cc | 161 profile_ = profile_manager_->CreateTestingProfile("p1"); 189 TestingProfile* profile_; member in class:BackgroundModeManagerTest 228 manager_->RegisterProfile(profile_); 303 manager.RegisterProfile(profile_); 309 manager.OnApplicationListChanged(profile_); 318 manager.OnApplicationListChanged(profile_); 328 manager.OnApplicationListChanged(profile_); 336 manager.RegisterProfile(profile_); 346 manager.OnApplicationListChanged(profile_); 350 manager.OnApplicationListChanged(profile_); [all...] |
/external/chromium_org/chrome/browser/supervised_user/ |
H A D | supervised_user_service.cc | 159 : profile_(profile), 188 ProfileSyncServiceFactory::GetForProfile(profile_); 195 return profile_->IsSupervised(); 291 return profile_->GetPrefs()->GetString(prefs::kSupervisedUserCustodianEmail); 303 std::string name = profile_->GetPrefs()->GetString( 415 ProfileSyncServiceFactory::GetForProfile(profile_); 437 ProfileSyncServiceFactory::GetForProfile(profile_)->SetSetupInProgress(true); 447 ProfileSyncServiceFactory::GetForProfile(profile_); 459 ProfileSyncServiceFactory::GetForProfile(profile_); 493 extensions::ExtensionSystem::Get(profile_) [all...] |
H A D | supervised_user_service_unittest.cc | 81 profile_ = builder.Build(); 83 SupervisedUserServiceFactory::GetForProfile(profile_.get()); 87 profile_.reset(); 94 scoped_ptr<TestingProfile> profile_; member in class:__anon4742::SupervisedUserServiceTest 107 DictionaryPrefUpdate update(profile_->GetPrefs(), 135 DictionaryPrefUpdate update(profile_->GetPrefs(), 161 CustodianProfileDownloaderServiceFactory::GetForProfile(profile_.get()); 165 profile_->GetPrefs()->SetString(prefs::kGoogleServicesUsername, "Logged In"); 184 SupervisedUserServiceFactory::GetForProfile(profile_.get())->Init(); 239 SupervisedUserServiceFactory::GetForProfile(profile_ [all...] |
/external/chromium_org/chrome/browser/chromeos/ |
H A D | locale_change_guard.cc | 49 : profile_(profile), 53 DCHECK(profile_); 68 if (profile_ == NULL || 78 profile_->ChangeAppLocale( 91 if (profile_ == NULL) { 105 if (profile_ == 120 PrefService* prefs = profile_->GetPrefs(); 147 PrefService* prefs = profile_->GetPrefs(); 188 if (profile_ == NULL || 199 PrefService* prefs = profile_ [all...] |
/external/chromium_org/chrome/browser/extensions/error_console/ |
H A D | error_console_unittest.cc | 42 profile_.reset(new TestingProfile); 43 profile_->GetPrefs()->SetBoolean(prefs::kExtensionsUIDeveloperMode, true); 44 error_console_ = ErrorConsole::Get(profile_.get()); 48 scoped_ptr<TestingProfile> profile_; member in class:extensions::ErrorConsoleUnitTest 68 profile_->GetPrefs()->SetBoolean(prefs::kExtensionsUIDeveloperMode, false); 78 profile_->GetPrefs()->SetBoolean(prefs::kExtensionsUIDeveloperMode, true); 90 profile_->GetPrefs()->SetBoolean(prefs::kExtensionsUIDeveloperMode, false); 91 profile_->GetPrefs()->SetBoolean(prefs::kExtensionsUIDeveloperMode, true); 112 ExtensionRegistry* registry = ExtensionRegistry::Get(profile_.get()); 219 ExtensionRegistry* registry = ExtensionRegistry::Get(profile_ [all...] |
/external/chromium_org/chrome/browser/sync/ |
H A D | profile_sync_components_factory_impl_unittest.cc | 35 profile_.reset(new TestingProfile()); 108 ProfileOAuth2TokenServiceFactory::GetForProfile(profile_.get()); 112 profile_.get(), 116 profile_->GetRequestContext())), 117 profile_.get(), 129 scoped_ptr<Profile> profile_; member in class:ProfileSyncComponentsFactoryImplTest 136 ProfileOAuth2TokenServiceFactory::GetForProfile(profile_.get()); 140 profile_.get(), 144 profile_->GetRequestContext())), 145 profile_ [all...] |