Searched refs:profile_ (Results 1 - 25 of 451) sorted by relevance

1234567891011>>

/external/chromium/chrome/browser/ui/cocoa/
H A Dbrowser_test_helper.cc11 profile_.reset(new TestingProfile());
12 profile_->CreateBookmarkModel(true);
13 profile_->BlockUntilBookmarkModelLoaded();
20 profile_->CreateAutocompleteClassifier();
21 profile_->CreateTemplateURLModel();
23 browser_.reset(new Browser(Browser::TYPE_NORMAL, profile_.get()));
30 message_loop_.DeleteSoon(FROM_HERE, profile_.release());
43 return profile_.get();
/external/chromium/android/content/browser/tab_contents/
H A Dtab_contents.h25 : profile_(ProfileImplAndroid::CreateProfile(FilePath()))
30 Profile* profile() { return profile_.get(); }
31 void SetProfileRequestContext(net::URLRequestContextGetter* context) { static_cast<ProfileImplAndroid*>(profile_.get())->SetRequestContext(context); }
36 scoped_ptr<Profile> profile_; member in class:TabContents
/external/chromium/chrome/browser/sync/
H A Dsignin_manager.cc18 : profile_(NULL), had_two_factor_error_(false) {}
28 profile_ = profile;
29 username_ = profile_->GetPrefs()->GetString(prefs::kGoogleServicesUsername);
30 profile_->GetTokenService()->Initialize(
31 GaiaConstants::kChromeSource, profile_);
33 profile_->GetTokenService()->LoadTokensFromDB();
56 DCHECK(!profile_->GetTokenService()->AreCredentialsValid());
63 profile_->GetRequestContext()));
79 profile_->GetRequestContext()));
89 if (!profile_)
[all...]
H A Dsignin_manager_unittest.cc25 Source<Profile>(profile_.get()));
27 Source<Profile>(profile_.get()));
61 manager_->Initialize(profile_.get());
75 manager_->Initialize(profile_.get());
80 manager_->Initialize(profile_.get());
90 manager_->Initialize(profile_.get());
95 manager_->Initialize(profile_.get());
107 manager_->Initialize(profile_.get());
112 manager_->Initialize(profile_.get());
130 manager_->Initialize(profile_
[all...]
/external/chromium/chrome/browser/printing/cloud_print/
H A Dcloud_print_url.h15 explicit CloudPrintURL(Profile* profile) : profile_(profile) {}
29 Profile* profile_; member in class:CloudPrintURL
H A Dcloud_print_proxy_service.cc55 : profile_(profile), token_expired_delegate_(NULL) {
62 if (profile_->GetPrefs()->HasPrefPath(prefs::kCloudPrintEmail) &&
63 !profile_->GetPrefs()->GetString(prefs::kCloudPrintEmail).empty()) {
105 g_browser_process->notification_ui_manager()->Add(notification, profile_);
123 profile_->GetPrefs()->SetString(prefs::kCloudPrintEmail, std::string());
126 profile_, cloud_print_setup_handler_->AsWeakPtr(), NULL);
147 ServiceProcessControlManager::GetInstance()->GetProcessControl(profile_);
158 ServiceProcessControlManager::GetInstance()->GetProcessControl(profile_);
162 profile_->GetPrefs()->SetString(prefs::kCloudPrintEmail, email);
167 ServiceProcessControlManager::GetInstance()->GetProcessControl(profile_);
[all...]
/external/chromium/chrome/browser/ui/gtk/bookmarks/
H A Dbookmark_bar_gtk_unittest.cc33 profile_.reset(new TestingProfile());
34 profile_->CreateBookmarkModel(true);
35 profile_->BlockUntilBookmarkModelLoaded();
36 browser_.reset(new Browser(Browser::TYPE_NORMAL, profile_.get()));
39 bookmark_bar_.reset(new BookmarkBarGtk(NULL, profile_.get(), browser_.get(),
49 profile_.reset();
56 scoped_ptr<TestingProfile> profile_; member in class:BookmarkBarGtkUnittest
63 BookmarkModel* model = profile_->GetBookmarkModel();
72 BookmarkModel* model = profile_->GetBookmarkModel();
83 BookmarkModel* model = profile_
[all...]
/external/chromium/chrome/browser/chromeos/login/
H A Dcookie_fetcher.cc22 CookieFetcher::CookieFetcher(Profile* profile) : profile_(profile) {
23 CHECK(profile_);
25 new ClientLoginResponseHandler(profile_->GetRequestContext()));
27 new IssueResponseHandler(profile_->GetRequestContext()));
/external/chromium/chrome/browser/search_engines/
H A Dtemplate_url_model_test_util.cc149 profile_.reset(new TemplateURLModelTestingProfile());
150 profile_->SetUp();
151 profile_->SetTemplateURLModel(new TestingTemplateURLModel(profile_.get()));
152 profile_->GetTemplateURLModel()->AddObserver(this);
156 if (profile_.get()) {
157 profile_->TearDown();
158 profile_.reset();
198 model()->service_ = profile_->GetWebDataService(Profile::EXPLICIT_ACCESS);
202 profile_
[all...]
H A Dtemplate_url_fetcher.h53 Profile* profile() const { return profile_; }
58 Profile* profile_; member in class:TemplateURLFetcher
/external/chromium/chrome/browser/extensions/
H A Dexternal_policy_extension_loader.cc40 : profile_(profile) {
41 pref_change_registrar_.Init(profile_->GetPrefs());
45 Source<Profile>(profile_));
50 profile_->GetPrefs()->GetList(prefs::kExtensionInstallForceList);
79 if (profile_ == NULL) return;
82 if (Source<PrefService>(source).ptr() == profile_->GetPrefs()) {
93 if (Source<Profile>(source).ptr() == profile_) {
96 profile_ = NULL;
H A Dextension_context_menu_model.cc37 profile_(browser->profile()),
45 if (profile_->GetPrefs()->GetBoolean(prefs::kExtensionsUIDeveloperMode) &&
119 profile_->GetExtensionProcessManager()->OpenOptionsPage(extension,
123 ExtensionService* extension_service = profile_->GetExtensionService();
128 ExtensionService* extension_service = profile_->GetExtensionService();
134 extension_uninstall_dialog_.reset(new ExtensionUninstallDialog(profile_));
155 profile_->GetExtensionService()->UninstallExtension(extension_id_, false,
166 ExtensionService* extension_service = profile_->GetExtensionService();
H A Dextension_devtools_bridge.cc25 profile_(profile),
30 extension_devtools_manager_ = profile_->GetExtensionDevToolsManager();
54 if (ExtensionTabUtil::GetTabById(tab_id_, profile_, true,
104 profile_->GetExtensionEventRouter()->DispatchEventToRenderers(
105 on_tab_close_event_name_, json, profile_, GURL());
120 DCHECK_EQ(profile_, new_tab->profile());
130 profile_->GetExtensionEventRouter()->DispatchEventToRenderers(
131 on_page_event_name_, json, profile_, GURL());
/external/chromium/chrome/browser/bookmarks/
H A Dbookmark_context_menu_controller.cc32 profile_(profile),
37 DCHECK(profile_);
116 profile_);
121 profile_);
126 profile_);
128 bookmark_utils::OpenAll(parent_window_, profile_, navigator_, selection_,
137 profile_);
145 BookmarkEditor::Show(parent_window_, profile_, parent_,
149 BookmarkFolderEditorController::Show(profile_, parent_window_,
158 profile_);
[all...]
/external/chromium/chrome/browser/ui/views/bookmarks/
H A Dbookmark_context_menu_controller_views.cc31 profile_(profile),
36 DCHECK(profile_);
105 profile_);
110 profile_);
115 profile_);
117 bookmark_utils::OpenAll(parent_window_, profile_, navigator_, selection_,
125 UserMetricsAction("BookmarkBar_ContextMenu_Edit"), profile_);
133 BookmarkEditor::Show(parent_window_, profile_, parent_,
137 BookmarkFolderEditorController::Show(profile_, parent_window_,
145 UserMetricsAction("BookmarkBar_ContextMenu_Remove"), profile_);
[all...]
/external/chromium/chrome/browser/sync/glue/
H A Dtheme_change_processor.cc23 profile_(NULL) {
33 DCHECK(profile_);
50 GetThemeSpecificsFromCurrentTheme(profile_, &new_theme_specifics);
100 DCHECK(profile_);
104 SetCurrentThemeFromThemeSpecificsIfNecessary(theme_specifics, profile_);
110 profile_ = profile;
116 profile_ = NULL;
120 DCHECK(profile_);
125 ThemeServiceFactory::GetForProfile(profile_)));
129 DCHECK(profile_);
[all...]
/external/chromium/chrome/browser/download/
H A Ddownload_history.cc21 : profile_(profile),
31 HistoryService* hs = profile_->GetHistoryService(Profile::EXPLICIT_ACCESS);
56 HistoryService* hs = profile_->GetHistoryService(Profile::EXPLICIT_ACCESS);
75 HistoryService* hs = profile_->GetHistoryService(Profile::EXPLICIT_ACCESS);
91 HistoryService* hs = profile_->GetHistoryService(Profile::EXPLICIT_ACCESS);
102 HistoryService* hs = profile_->GetHistoryService(Profile::EXPLICIT_ACCESS);
110 HistoryService* hs = profile_->GetHistoryService(Profile::EXPLICIT_ACCESS);
/external/chromium/chrome/browser/ui/webui/
H A Dhtml_dialog_tab_contents_delegate.cc21 : profile_(profile->GetOriginalProfile()) {}
25 Profile* HtmlDialogTabContentsDelegate::profile() const { return profile_; }
28 profile_ = NULL;
34 if (profile_) {
39 params.profile = profile_;
61 if (profile_) {
68 params.profile = profile_;
/external/chromium/chrome/browser/tabs/
H A Dpinned_tab_service.cc26 : profile_(profile),
47 browser->profile() == profile_) {
55 if (has_normal_browser_ && browser->profile() == profile_) {
60 PinnedTabCodec::WritePinnedTabs(profile_);
80 PinnedTabCodec::WritePinnedTabs(profile_);
/external/chromium/chrome/browser/geolocation/
H A Dgeolocation_content_settings_map.cc41 : profile_(profile) {
43 prefs_registrar_.Init(profile_->GetPrefs());
47 Source<Profile>(profile_));
60 if (!profile_)
62 const PrefService* prefs = profile_->GetPrefs();
72 if (!profile_)
74 return profile_->GetPrefs()->IsManagedPreference(
87 if (!profile_)
90 profile_->GetPrefs()->GetDictionary(prefs::kGeolocationContentSettings);
115 profile_
[all...]
/external/chromium/chrome/browser/
H A Dfavicon_service.cc13 FaviconService::FaviconService(Profile* profile) : profile_(profile) {
23 HistoryService* hs = profile_->GetHistoryService(Profile::EXPLICIT_ACCESS);
39 HistoryService* hs = profile_->GetHistoryService(Profile::EXPLICIT_ACCESS);
58 profile_, request, page_url);
60 HistoryService* hs = profile_->GetHistoryService(Profile::EXPLICIT_ACCESS);
70 HistoryService* hs = profile_->GetHistoryService(Profile::EXPLICIT_ACCESS);
77 HistoryService* hs = profile_->GetHistoryService(Profile::EXPLICIT_ACCESS);
86 HistoryService* hs = profile_->GetHistoryService(Profile::EXPLICIT_ACCESS);
/external/chromium/chrome/browser/instant/
H A Dpromo_counter.cc27 : profile_(profile),
65 if (profile_->GetPrefs())
66 profile_->GetPrefs()->SetBoolean((pref_key_ + kShowKey).c_str(), false);
70 PrefService* prefs = profile_->GetPrefs();
104 if (profile_->GetPrefs())
105 profile_->GetPrefs()->SetBoolean((pref_key_ + kShowKey).c_str(), false);
113 if (profile_->GetPrefs())
114 profile_->GetPrefs()->SetBoolean((pref_key_ + kShowKey).c_str(), false);
/external/chromium/chrome/browser/ui/options/
H A Doptions_page_base.h43 Profile* profile() const { return profile_; }
57 Profile* profile_; member in class:OptionsPageBase
/external/chromium/chrome/browser/chromeos/
H A Dlocale_change_guard.cc42 : profile_(profile),
45 DCHECK(profile_);
57 profile_ == NULL ||
67 profile_->ChangeAppLocale(
70 Browser* browser = Browser::GetTabbedBrowser(profile_, false);
78 if (profile_ == NULL) {
94 PrefService* prefs = profile_->GetPrefs();
128 PrefService* prefs = profile_->GetPrefs();
157 profile_,
170 profile_
[all...]
/external/chromium/chrome/browser/profiles/
H A Dprofile.cc164 : profile_(real_profile),
214 virtual FilePath GetPath() { return profile_->GetPath(); }
234 return profile_;
324 return profile_->GetHistoryService(sat);
331 return profile_->GetHistoryServiceWithoutCreating();
336 return profile_->GetFaviconService(sat);
343 return profile_->GetAutocompleteClassifier();
348 return profile_->GetWebDataService(sat);
355 return profile_->GetWebDataServiceWithoutCreating();
360 return profile_
686 Profile* profile_; member in class:OffTheRecordProfileImpl
[all...]

Completed in 369 milliseconds

1234567891011>>