Searched refs:profile_ (Results 176 - 200 of 1032) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/ui/views/bookmarks/
H A Dbookmark_context_menu_unittest.cc68 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 Dchrome_extensions_network_delegate.cc141 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 Ddesktop_notification_service.cc103 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 Dchrome_extension_message_filter.cc72 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 Dkiosk_diagnosis_runner.cc67 : 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 Dextension_gcm_app_handler.cc44 : 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 Dexternal_policy_loader_unittest.cc53 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 Dsuspicious_extension_bubble_controller.cc61 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 Dprerender_message_filter.cc38 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 Dtts_engine_extension_observer.cc66 : 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 Dsession_data_type_controller.cc33 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 Dbookmark_context_menu_controller_unittest.cc55 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 Ddrive_app_provider.cc38 : 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 Dzero_suggest_provider_unittest.cc44 // |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 Dwebstore_result.cc71 : 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 Dapp_lifetime_monitor.cc24 : 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 Dpeople_result.cc64 : 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 Dprofile_resetter.cc65 : 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 Dselect_file_dialog_extension.cc186 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 Dbackground_mode_manager_unittest.cc161 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 Dsupervised_user_service.cc159 : 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 Dsupervised_user_service_unittest.cc81 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 Dlocale_change_guard.cc49 : 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 Derror_console_unittest.cc42 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 Dprofile_sync_components_factory_impl_unittest.cc35 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...]

Completed in 2795 milliseconds

1234567891011>>