Searched refs:profile (Results 26 - 50 of 3131) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/supervised_user/
H A Dsupervised_user_pref_mapping_service_factory.cc16 content::BrowserContext* profile) {
18 GetInstance()->GetServiceForBrowserContext(profile, true));
39 content::BrowserContext* profile) const {
41 user_prefs::UserPrefs::Get(profile),
43 profile));
15 GetForBrowserContext( content::BrowserContext* profile) argument
/external/chromium_org/chrome/browser/undo/
H A Dbookmark_undo_utils.cc14 UndoManager* GetUndoManager(Profile* profile) { argument
15 BookmarkUndoService* undo_service = profile ?
16 BookmarkUndoServiceFactory::GetForProfile(profile) : NULL;
24 ScopedSuspendBookmarkUndo::ScopedSuspendBookmarkUndo(Profile* profile) argument
25 : profile_(profile) {
/external/chromium_org/chrome/browser/history/
H A Dhistory_service_factory.cc21 Profile* profile, Profile::ServiceAccessType sat) {
23 if (profile->GetPrefs()->GetBoolean(prefs::kSavingBrowserHistoryDisabled) &&
28 GetInstance()->GetServiceForBrowserContext(profile, true));
34 Profile* profile, Profile::ServiceAccessType sat) {
36 if (profile->GetPrefs()->GetBoolean(prefs::kSavingBrowserHistoryDisabled) &&
41 GetInstance()->GetServiceForBrowserContext(profile, false));
46 HistoryServiceFactory::GetForProfileWithoutCreating(Profile* profile) { argument
48 GetInstance()->GetServiceForBrowserContext(profile, false));
57 void HistoryServiceFactory::ShutdownForProfile(Profile* profile) { argument
59 factory->BrowserContextDestroyed(profile);
20 GetForProfile( Profile* profile, Profile::ServiceAccessType sat) argument
33 GetForProfileIfExists( Profile* profile, Profile::ServiceAccessType sat) argument
74 Profile* profile = static_cast<Profile*>(context); local
[all...]
H A Dchrome_history_client_factory.cc11 #include "chrome/browser/profiles/profile.h"
16 Profile* profile) {
18 GetInstance()->GetServiceForBrowserContext(profile, true));
38 Profile* profile = static_cast<Profile*>(context); local
39 return new ChromeHistoryClient(BookmarkModelFactory::GetForProfile(profile),
40 profile,
41 profile->GetTopSites());
15 GetForProfile( Profile* profile) argument
H A Dweb_history_service_factory.cc17 bool IsHistorySyncEnabled(Profile* profile) { argument
19 ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile);
34 Profile* profile) {
35 if (IsHistorySyncEnabled(profile)) {
37 GetInstance()->GetServiceForBrowserContext(profile, true));
44 Profile* profile = static_cast<Profile*>(context); local
48 return IsHistorySyncEnabled(profile) ?
49 new history::WebHistoryService(profile) : NULL;
33 GetForProfile( Profile* profile) argument
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/omnibox/
H A DOmniboxPrerender.java33 * @param profile profile instance corresponding to the active profile.
35 public void clear(Profile profile) { argument
36 nativeClear(mNativeOmniboxPrerender, profile);
40 * Initializes the underlying action predictor for a given profile instance. This should be
44 * @param profile profile instance corresponding to active profile.
46 public void initializeForProfile(Profile profile) { argument
61 prerenderMaybe(String url, String currentUrl, long nativeAutocompleteResult, Profile profile, Tab tab) argument
68 nativeClear(long nativeOmniboxPrerender, Profile profile) argument
69 nativeInitializeForProfile( long nativeOmniboxPrerender, Profile profile) argument
72 nativePrerenderMaybe(long nativeOmniboxPrerender, String url, String currentUrl, long nativeAutocompleteResult, Profile profile, Tab tab) argument
[all...]
H A DAnswersImage.java31 * @param profile Profile that the request is for.
38 Profile profile, String imageUrl, AnswersImageObserver observer) {
39 return nativeRequestAnswersImage(profile, imageUrl, observer);
44 * @param profile Profile the request was issued for.
47 public static void cancelAnswersImageRequest(Profile profile, int requestId) { argument
48 nativeCancelAnswersImageRequest(profile, requestId);
52 * Requests an image at |imageUrl| for the given |profile| with |observer| being notified.
56 Profile profile, String imageUrl, AnswersImageObserver observer);
61 private static native void nativeCancelAnswersImageRequest(Profile profile, int requestId); argument
37 requestAnswersImage( Profile profile, String imageUrl, AnswersImageObserver observer) argument
55 nativeRequestAnswersImage( Profile profile, String imageUrl, AnswersImageObserver observer) argument
/external/chromium_org/chrome/browser/extensions/
H A Dchrome_process_manager_delegate.cc11 #include "chrome/browser/profiles/profile.h"
40 Profile* profile = static_cast<Profile*>(context); local
46 return !(profile->IsGuestSession() && !profile->IsOffTheRecord());
51 Profile* profile = static_cast<Profile*>(context); local
53 // The profile may not be valid yet if it is still being initialized.
54 // In that case, defer loading, since it depends on an initialized profile.
57 if (!g_browser_process->profile_manager()->IsValidProfile(profile))
63 return chrome::GetTotalBrowserCountForProfile(profile) == 0 &&
78 Profile* profile local
83 Profile* profile = content::Source<Profile>(source).ptr(); local
93 Profile* profile = browser->profile(); local
125 OnProfileCreated(Profile* profile) argument
141 OnProfileDestroyed(Profile* profile) argument
[all...]
H A Dextension_warning_badge_service_unittest.cc8 #include "chrome/browser/profiles/profile.h"
22 explicit TestExtensionWarningSet(Profile* profile) : WarningService(profile) { argument
35 TestExtensionWarningBadgeService(Profile* profile, argument
37 : ExtensionWarningBadgeService(profile),
50 bool HasBadge(Profile* profile) { argument
52 GlobalErrorServiceFactory::GetForProfile(profile);
65 TestingProfile profile; local
66 TestExtensionWarningSet warnings(&profile);
67 TestExtensionWarningBadgeService badge_service(&profile,
[all...]
/external/chromium_org/chrome/browser/feedback/
H A Dshow_feedback_page.cc9 #include "chrome/browser/profiles/profile.h"
49 Profile* profile = NULL; local
51 profile = browser->profile();
53 profile = ProfileManager::GetLastUsedProfileAllowedByPolicy();
55 if (!profile) {
56 LOG(ERROR) << "Cannot invoke feedback: No profile found!";
60 // We do not want to launch on an OTR profile.
61 profile = profile
[all...]
/external/chromium_org/chrome/browser/sessions/
H A Dsession_service_factory.h9 #include "chrome/browser/profiles/profile.h"
18 // Returns the session service for |profile|. This may return NULL. If this
19 // profile supports a session service (it isn't incognito), and the session
22 // |profile|.
24 // This returns NULL if the profile is incognito. Callers should always check
26 static SessionService* GetForProfile(Profile* profile);
28 // Returns the session service for |profile|, but do not create it if it
29 // doesn't exist. This returns NULL if the profile is incognito or if session
32 static SessionService* GetForProfileIfExisting(Profile* profile);
34 // Returns the session service for |profile|
47 SetForTestProfile(Profile* profile, SessionService* service) argument
[all...]
/external/chromium_org/components/autofill/core/browser/webdata/
H A Dautofill_change.cc21 Type type, const std::string& key, const AutofillProfile* profile)
23 profile_(profile) {
24 DCHECK(type == ADD ? (profile && profile->guid() == key) : true);
25 DCHECK(type == UPDATE ? (profile && profile->guid() == key) : true);
26 DCHECK(type == REMOVE ? !profile : true);
36 (type() != REMOVE) ? *profile() == *change.profile() : true;
20 AutofillProfileChange( Type type, const std::string& key, const AutofillProfile* profile) argument
/external/chromium_org/chrome/browser/notifications/
H A Ddesktop_notification_profile_util.cc8 #include "chrome/browser/profiles/profile.h"
13 Profile* profile) {
14 profile->GetHostContentSettingsMap()->SetDefaultContentSetting(
20 Profile* profile, const ContentSettingsPattern& pattern) {
21 profile->GetHostContentSettingsMap()->SetContentSetting(
32 Profile* profile, const GURL& origin) {
35 profile->GetHostContentSettingsMap()->SetContentSetting(
44 Profile* profile, const GURL& origin) {
47 profile->GetHostContentSettingsMap()->SetContentSetting(
56 Profile* profile, ContentSettingsForOneTyp
12 ResetToDefaultContentSetting( Profile* profile) argument
19 ClearSetting( Profile* profile, const ContentSettingsPattern& pattern) argument
31 GrantPermission( Profile* profile, const GURL& origin) argument
43 DenyPermission( Profile* profile, const GURL& origin) argument
55 GetNotificationsSettings( Profile* profile, ContentSettingsForOneType* settings) argument
63 GetContentSetting( Profile* profile, const GURL& origin) argument
72 UsePermission(Profile* profile, const GURL& origin) argument
[all...]
/external/chromium_org/chrome/browser/password_manager/
H A Dsync_metrics.cc16 std::string GetSyncUsername(Profile* profile) { argument
18 if (ProfileSyncServiceFactory::HasProfileSyncService(profile)) {
20 ProfileSyncServiceFactory::GetForProfile(profile);
26 SigninManagerFactory::GetForProfile(profile);
34 bool IsSyncAccountCredential(Profile* profile, argument
40 return gaia::AreEmailsSame(username, GetSyncUsername(profile));
/external/chromium_org/chrome/browser/ui/ash/
H A Dapp_sync_ui_state_factory.cc7 #include "chrome/browser/profiles/profile.h"
14 AppSyncUIState* AppSyncUIStateFactory::GetForProfile(Profile* profile) { argument
15 if (!AppSyncUIState::ShouldObserveAppSyncForProfile(profile))
19 GetInstance()->GetServiceForBrowserContext(profile, true));
40 Profile* profile = static_cast<Profile*>(context); local
41 DCHECK(AppSyncUIState::ShouldObserveAppSyncForProfile(profile));
42 return new AppSyncUIState(profile);
/external/e2fsprogs/e2fsck/
H A Dprofile_helpers.h2 * profile_helpers.h -- Function prototypes for profile helper functions
13 (profile_t profile, const char *const *names, char ***ret_values);
19 (profile_t profile, const char **names, char ***ret_names);
22 (profile_t profile, const char **names, char ***ret_names);
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dapps_helper.h17 // Returns true iff the profile with index |index| has the same apps (hosted,
25 // Installs the app for the given index to |profile|, and returns the extension
27 std::string InstallApp(Profile* profile, int index);
29 // Installs the platform app for the given index to |profile|, and returns the
32 std::string InstallPlatformApp(Profile* profile, int index);
38 // Uninstalls the app for the given index from |profile|. Assumes that it was
40 void UninstallApp(Profile* profile, int index);
42 // Installs all pending synced apps for |profile|.
43 void InstallAppsPendingForSync(Profile* profile);
45 // Enables the app for the given index on |profile|
[all...]
/external/chromium_org/chrome/browser/autocomplete/
H A Dautocomplete_classifier_factory.cc12 #include "chrome/browser/profiles/profile.h"
23 Profile* profile) {
25 GetInstance()->GetServiceForBrowserContext(profile, true));
36 Profile* profile = static_cast<Profile*>(context); local
39 profile, TemplateURLServiceFactory::GetForProfile(profile), NULL,
42 new ChromeAutocompleteSchemeClassifier(profile)));
72 content::BrowserContext* profile) const {
73 return BuildInstanceFor(static_cast<Profile*>(profile));
22 GetForProfile( Profile* profile) argument
/external/chromium_org/chrome/browser/google/
H A Dgoogle_profile_helper.cc14 GURL GetGoogleHomePageURL(Profile* profile) { argument
16 GoogleURLTrackerFactory::GetForProfile(profile);
/external/chromium_org/chrome/browser/search_engines/
H A Dtemplate_url_fetcher_factory.cc8 #include "chrome/browser/profiles/profile.h"
15 Profile* profile) {
17 GetInstance()->GetServiceForBrowserContext(profile, true));
26 void TemplateURLFetcherFactory::ShutdownForProfile(Profile* profile) { argument
28 factory->BrowserContextShutdown(profile);
29 factory->BrowserContextDestroyed(profile);
43 content::BrowserContext* profile) const {
45 TemplateURLServiceFactory::GetForProfile(static_cast<Profile*>(profile)),
46 profile->GetRequestContext());
14 GetForProfile( Profile* profile) argument
/external/chromium_org/chrome/browser/ui/startup/
H A Ddefault_browser_prompt.h18 void ShowDefaultBrowserPrompt(Profile* profile, HostDesktopType desktop_type);
22 bool ShowFirstRunDefaultBrowserPrompt(Profile* profile);
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLHeadElement.idl21 [Reflect, TreatNullAs=NullString, DeprecateAs=HTMLHeadElementProfile] attribute DOMString profile;
/external/chromium_org/apps/
H A Dapp_restore_service_factory.cc9 #include "chrome/browser/profiles/profile.h"
15 AppRestoreService* AppRestoreServiceFactory::GetForProfile(Profile* profile) { argument
17 GetInstance()->GetServiceForBrowserContext(profile, true));
35 content::BrowserContext* profile) const {
36 return new AppRestoreService(static_cast<Profile*>(profile));
/external/chromium_org/chrome/browser/apps/
H A Dshortcut_manager_factory.cc8 #include "chrome/browser/profiles/profile.h"
12 AppShortcutManager* AppShortcutManagerFactory::GetForProfile(Profile* profile) { argument
14 GetInstance()->GetServiceForBrowserContext(profile,
32 content::BrowserContext* profile) const {
33 return new AppShortcutManager(static_cast<Profile*>(profile));
/external/chromium_org/chrome/browser/captive_portal/
H A Dcaptive_portal_service_factory.cc9 #include "chrome/browser/profiles/profile.h"
14 Profile* profile) {
16 GetInstance()->GetServiceForBrowserContext(profile, true));
34 content::BrowserContext* profile) const {
35 return new CaptivePortalService(static_cast<Profile*>(profile));
13 GetForProfile( Profile* profile) argument

Completed in 3180 milliseconds

1234567891011>>