/external/chromium_org/chrome/browser/services/gcm/ |
H A D | gcm_profile_service.cc | 61 Profile* profile_; member in class:gcm::GCMProfileService::IdentityObserver 77 : profile_(profile), driver_(driver), weak_ptr_factory_(this) { 105 profile_->GetRequestContext())); 156 : profile_(profile), 166 : profile_(profile), 172 profile_->GetPrefs(), 173 profile_->GetPath().Append(chrome::kGCMStoreDirname), 174 profile_->GetRequestContext()); 187 : profile_(NULL),
|
/external/chromium_org/chrome/browser/signin/ |
H A D | signin_error_notifier_ash.cc | 71 Profile* profile_; member in class:__anon4690::SigninNotificationDelegate 80 profile_(profile) { 119 LoginUIService* login_ui = LoginUIServiceFactory::GetForProfile(profile_); 127 profile_, chrome::HOST_DESKTOP_TYPE_ASH); 140 profile_(profile) { 191 new SigninNotificationDelegate(notification_id_, profile_); 198 notifier_id.profile_id = multi_user_util::GetUserIDFromProfile(profile_); 216 notification_ui_manager->Update(notification, profile_); 218 notification_ui_manager->Add(notification, profile_);
|
H A D | signin_global_error_unittest.cc | 37 profile_ = builder.Build(); 39 profile_->GetPrefs()->SetString( 41 SigninManagerFactory::GetForProfile(profile_.get()) 44 global_error_ = SigninGlobalErrorFactory::GetForProfile(profile_.get()); 46 profile_.get())->signin_error_controller(); 50 scoped_ptr<TestingProfile> profile_; member in class:SigninGlobalErrorTest
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
H A D | bookmark_editor_view_unittest.cc | 39 profile_.reset(new TestingProfile()); 40 profile_->CreateBookmarkModel(true); 42 model_ = BookmarkModelFactory::GetForProfile(profile_.get()); 117 scoped_ptr<TestingProfile> profile_; member in class:BookmarkEditorViewTest 155 CreateEditor(profile_.get(), NULL, 186 CreateEditor(profile_.get(), NULL, 194 BookmarkModelFactory::GetForProfile(profile_.get())->bookmark_bar_node(); 204 CreateEditor(profile_.get(), NULL, 213 BookmarkModelFactory::GetForProfile(profile_.get())->bookmark_bar_node(); 222 CreateEditor(profile_ [all...] |
/external/chromium_org/third_party/webrtc/base/ |
H A D | winfirewall.cc | 31 WinFirewall::WinFirewall() : mgr_(NULL), policy_(NULL), profile_(NULL) { 53 hr = policy_->get_CurrentProfile(&profile_); 57 return SUCCEEDED(hr) && (profile_ != NULL); 61 RELEASE(profile_); 67 if (!profile_) 71 profile_->get_FirewallEnabled(&fwEnabled); 85 if (!profile_) 91 HRESULT hr = profile_->get_AuthorizedApplications(&apps); 129 HRESULT hr = profile_->get_AuthorizedApplications(&apps);
|
/external/chromium_org/chrome/browser/chromeos/file_system_provider/ |
H A D | mount_path_util_unittest.cc | 76 profile_ = profile_manager_->CreateTestingProfile("testing-profile"); 79 user_manager_->AddUser(profile_->GetProfileName()); 80 ServiceFactory::GetInstance()->SetTestingFactory(profile_, &CreateService); 81 file_system_provider_service_ = Service::Get(profile_); 89 ServiceFactory::GetInstance()->SetTestingFactory(profile_, NULL); 94 TestingProfile* profile_; // Owned by TestingProfileManager. member in class:chromeos::file_system_provider::util::FileSystemProviderMountPathUtilTest 102 GetMountPath(profile_, kExtensionId, kFileSystemId); 111 GetMountPath(profile_, kExtensionId, kFileSystemId); 141 CreateFileSystemURL(profile_, file_system_info, kFilePath); 164 CreateFileSystemURL(profile_, file_system_inf [all...] |
/external/chromium_org/chrome/browser/chromeos/first_run/ |
H A D | drive_first_run_controller.cc | 85 : profile_(profile) {} 98 Profile* profile_; member in class:chromeos::DriveOfflineNotificationDelegate 110 profile_, 181 Profile* profile_; member in class:chromeos::DriveWebContentsManager 198 : profile_(profile), 206 content::Source<Profile>(profile_)); 216 profile_, content::SiteInstance::CreateForURL(profile_, url)); 294 extensions::ExtensionRegistry::Get(profile_) 302 BackgroundContentsServiceFactory::GetForProfile(profile_); [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | navigation_observer.cc | 23 NavigationObserver::NavigationObserver(Profile* profile) : profile_(profile) { 39 if (!profile_->IsSameProfile( 61 ExtensionRegistry* registry = extensions::ExtensionRegistry::Get(profile_); 73 ExtensionPrefs* extension_prefs = ExtensionPrefs::Get(profile_); 88 extensions::ExtensionSystem::Get(profile_)->extension_service(); 107 extensions::ExtensionSystem::Get(profile_)->extension_service();
|
H A D | zipfile_installer_unittest.cc | 71 profile_.reset(new TestingProfile()); 73 static_cast<TestExtensionSystem*>(ExtensionSystem::Get(profile_.get())); 76 ExtensionRegistry* registry(ExtensionRegistry::Get(profile_.get())); 84 ExtensionRegistry* registry(ExtensionRegistry::Get(profile_.get())); 86 profile_.reset(); 111 scoped_ptr<TestingProfile> profile_; member in class:extensions::ZipFileInstallerTest
|
H A D | settings_api_bubble_controller.cc | 64 Profile* profile_; member in class:extensions::__anon4010::SettingsApiBubbleDelegate 81 : service_(service), profile_(profile), type_(type) {} 87 ExtensionRegistry* registry = ExtensionRegistry::Get(profile_); 93 ExtensionPrefs* prefs = ExtensionPrefs::Get(profile_); 100 override = extensions::GetExtensionOverridingHomepage(profile_); 103 override = extensions::GetExtensionOverridingStartupPages(profile_); 106 override = extensions::GetExtensionOverridingSearchEngine(profile_); 121 ExtensionPrefs* prefs = ExtensionPrefs::Get(profile_); 133 ExtensionToolbarModel* toolbar_model = ExtensionToolbarModel::Get(profile_); 156 ExtensionRegistry* registry = ExtensionRegistry::Get(profile_); [all...] |
H A D | extension_system_impl.cc | 101 : profile_(profile) { 108 lazy_background_task_queue_.reset(new LazyBackgroundTaskQueue(profile_)); 109 event_router_.reset(new EventRouter(profile_, ExtensionPrefs::Get(profile_))); 114 profile_, 115 profile_->GetPath().AppendASCII(extensions::kStateStoreName), 121 profile_, 122 profile_->GetPath().AppendASCII(extensions::kRulesStoreName), 125 blacklist_.reset(new Blacklist(ExtensionPrefs::Get(profile_))); 142 ExtensionManagementFactory::GetForBrowserContext(profile_) [all...] |
/external/chromium_org/chrome/browser/printing/cloud_print/ |
H A D | cloud_print_proxy_service_unittest.cc | 220 TestingProfile profile_; member in class:CloudPrintProxyPolicyTest 238 TestCloudPrintProxyService service(&profile_); 243 TestingPrefServiceSyncable* prefs = profile_.GetTestingPrefService(); 254 TestCloudPrintProxyService service(&profile_); 259 TestingPrefServiceSyncable* prefs = profile_.GetTestingPrefService(); 271 TestCloudPrintProxyService service(&profile_); 276 TestingPrefServiceSyncable* prefs = profile_.GetTestingPrefService(); 288 TestCloudPrintProxyService service(&profile_); 294 TestingPrefServiceSyncable* prefs = profile_.GetTestingPrefService(); 306 TestCloudPrintProxyService service(&profile_); [all...] |
H A D | cloud_print_proxy_service.cc | 37 : profile_(profile), 50 if (profile_->GetPrefs()->HasPrefPath(prefs::kCloudPrintEmail) && 51 (!profile_->GetPrefs()->GetString(prefs::kCloudPrintEmail).empty() || 52 !profile_->GetPrefs()->GetBoolean(prefs::kCloudPrintProxyEnabled))) { 64 pref_change_registrar_.Init(profile_->GetPrefs()); 97 if (profile_->GetPrefs()->GetBoolean(prefs::kCloudPrintProxyEnabled)) { 117 if (!profile_->GetPrefs()->GetBoolean(prefs::kCloudPrintProxyEnabled)) { 119 profile_->GetPrefs()->GetString(prefs::kCloudPrintEmail); 126 profile_->GetPrefs()->SetString(prefs::kCloudPrintEmail, std::string()); 144 if (!profile_ [all...] |
/external/chromium_org/chrome/browser/profiles/ |
H A D | profile_android.cc | 41 return profile_android->profile_; 69 profile_->GetOriginalProfile()); 77 profile_->GetOffTheRecordProfile()); 83 return profile_->HasOffTheRecordProfile(); 87 return profile_->IsOffTheRecord(); 96 : profile_(profile) {
|
H A D | off_the_record_profile_impl.cc | 104 : profile_(real_profile), 130 DCHECK(profile_->IsGuestSession() || 131 IncognitoModePrefs::GetAvailability(profile_->GetPrefs()) != 157 new extensions::ExtensionIconSource(profile_); 162 base::Bind(&NotifyOTRProfileCreatedOnIOThread, profile_, this)); 184 base::Bind(&NotifyOTRProfileDestroyedOnIOThread, profile_, this)); 205 HostZoomMap::GetDefaultForBrowserContext(profile_); 240 return profile_->GetPath(); 245 return profile_->GetIOTaskRunner(); 266 return profile_; [all...] |
/external/chromium_org/chrome/browser/ui/search_engines/ |
H A D | edit_search_engine_controller.cc | 25 profile_(profile) { 26 DCHECK(profile_); 49 TemplateURLServiceFactory::GetForProfile(profile_); 74 TemplateURLServiceFactory::GetForProfile(profile_)-> 88 TemplateURLServiceFactory::GetForProfile(profile_); 143 TemplateURLServiceFactory::GetForProfile(profile_)->search_terms_data()));
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/ |
H A D | slow_ui.cc | 74 Profile* profile_; member in class:chromeos::SlowHandler 82 SlowHandler::SlowHandler(Profile* profile) : profile_(profile) { 97 user_pref_registrar_->Init(profile_->GetPrefs()); 104 PrefService* pref_service = profile_->GetPrefs(); 109 PrefService* pref_service = profile_->GetPrefs(); 118 PrefService* pref_service = profile_->GetPrefs();
|
/external/chromium_org/chrome/browser/extensions/api/preference/ |
H A D | preference_apitest.cc | 33 ExtensionPreferenceApiTest() : profile_(NULL) {} 36 PrefService* prefs = profile_->GetPrefs(); 56 PrefService* prefs = profile_->GetPrefs(); 80 profile_ = browser()->profile(); 98 Profile* profile_; member in class:ExtensionPreferenceApiTest 108 PrefService* prefs = profile_->GetPrefs(); 134 extensions::ExtensionRegistry::Get(profile_), last_loaded_extension_id()); 144 PrefService* prefs = profile_->GetPrefs(); 152 EXPECT_FALSE(profile_->HasOffTheRecordProfile()); 154 PrefService* otr_prefs = profile_ [all...] |
H A D | chrome_direct_setting_api.cc | 78 : profile_(Profile::FromBrowserContext(context)) { 79 preference_whitelist.Get().RegisterEventListeners(profile_, this); 95 EventRouter::Get(profile_)->UnregisterObserver(this); 96 registrar_.Init(profile_->GetPrefs()); 98 profile_, 124 EventRouter* router = EventRouter::Get(profile_); 127 profile_->GetPrefs()->FindPreference(pref_key.c_str()); 136 ExtensionSystem::Get(profile_)->extension_service();
|
/external/chromium_org/chrome/browser/notifications/ |
H A D | extension_welcome_notification.cc | 43 : profile_(profile), 77 profile_->GetPrefs()->SetBoolean(prefs::kWelcomeNotificationDismissedLocal, 83 profile_, 103 Profile* const profile_; member in class:__anon4356::NotificationCallbacks 144 profile_(profile), 148 profile_->GetPrefs(), 154 profile_->GetPrefs()); 172 PrefServiceSyncable::FromProfile(profile_)->RemoveObserver(this); 181 PrefServiceSyncable::FromProfile(profile_); 194 PrefServiceSyncable::FromProfile(profile_); [all...] |
/external/chromium_org/chrome/browser/ui/app_list/ |
H A D | extension_app_item.cc | 120 profile_(profile), 138 GetAppSorting(profile_)->EnsureValidOrdinals(extension_id_, 157 ? extensions::GetLaunchType(extensions::ExtensionPrefs::Get(profile_), 187 profile_); 209 extensions::ExtensionPrefs* prefs = extensions::ExtensionPrefs::Get(profile_); 210 extensions::AppSorting* sorting = GetAppSorting(profile_); 235 extensions::ExtensionSystem::Get(profile_)->extension_service(); 242 profile_, 252 if (extensions::util::IsAppLaunchableWithoutEnabling(extension_id_, profile_)) 260 profile_, extension_id [all...] |
/external/chromium_org/chrome/browser/chromeos/accessibility/ |
H A D | accessibility_manager.cc | 327 : profile_(NULL), 418 if (!profile_) 420 PrefService* pref_service = profile_->GetPrefs(); 432 if (!profile_) 435 PrefService* pref_service = profile_->GetPrefs(); 441 if (!profile_) 445 profile_->GetPrefs()->GetBoolean(prefs::kAccessibilityLargeCursorEnabled); 485 if (!profile_) 487 PrefService* pref_service = profile_->GetPrefs(); 497 if (!profile_) [all...] |
/external/chromium_org/chrome/browser/google/ |
H A D | google_search_counter_android.cc | 18 : profile_(profile) { 39 prerender::PrerenderManagerFactory::GetForProfile(profile_);
|
/external/chromium_org/chrome/browser/importer/ |
H A D | external_process_importer_host.cc | 26 profile_(NULL), 50 DCHECK(!profile_); 53 profile_ = target_profile; 95 DCHECK(profile_); 96 BookmarkModelFactory::GetForProfile(profile_)->RemoveObserver(this); 189 DCHECK(profile_); 194 BookmarkModelFactory::GetForProfile(profile_)->AddObserver(this); 205 TemplateURLServiceFactory::GetForProfile(profile_);
|
/external/chromium_org/chrome/browser/policy/cloud/ |
H A D | user_cloud_policy_invalidator.cc | 27 profile_(profile) { 68 invalidation::ProfileInvalidationProviderFactory::GetForProfile(profile_);
|