/external/chromium_org/chrome/browser/services/gcm/ |
H A D | push_messaging_permission_context_factory.cc | 8 #include "chrome/browser/profiles/profile.h" 17 Profile* profile) { 19 GetInstance()->GetServiceForBrowserContext(profile, true)); 39 content::BrowserContext* profile) const { 40 return new PushMessagingPermissionContext(static_cast<Profile*>(profile)); 16 GetForProfile( Profile* profile) argument
|
/external/chromium_org/chrome/browser/signin/ |
H A D | fake_account_reconcilor.cc | 7 #include "chrome/browser/profiles/profile.h" 21 Profile* profile = Profile::FromBrowserContext(context); local 23 ProfileOAuth2TokenServiceFactory::GetForProfile(profile), 24 SigninManagerFactory::GetForProfile(profile), 25 ChromeSigninClientFactory::GetForProfile(profile));
|
H A D | fake_profile_oauth2_token_service_builder.cc | 5 #include "chrome/browser/profiles/profile.h" 13 Profile* profile = Profile::FromBrowserContext(context); local 16 ChromeSigninClientFactory::GetInstance()->GetForProfile(profile)); 22 Profile* profile = Profile::FromBrowserContext(context); local 26 ChromeSigninClientFactory::GetInstance()->GetForProfile(profile));
|
/external/chromium_org/chrome/browser/ui/app_list/ |
H A D | app_list_controller_delegate.h | 88 virtual void DoCreateShortcutsFlow(Profile* profile, 96 virtual void DoShowAppInfoFlow(Profile* profile, 101 virtual void CreateNewWindow(Profile* profile, bool incognito) = 0; 104 virtual void ActivateApp(Profile* profile, 110 virtual void LaunchApp(Profile* profile, 115 // Show the app list for the profile specified by |profile_path|. 125 bool UserMayModifySettings(Profile* profile, const std::string& app_id); 127 // Uninstall the app identified by |app_id| from |profile|. 128 void UninstallApp(Profile* profile, const std::string& app_id); 131 bool IsAppFromWebStore(Profile* profile, [all...] |
H A D | start_page_service_factory.cc | 9 #include "chrome/browser/profiles/profile.h" 20 StartPageService* StartPageServiceFactory::GetForProfile(Profile* profile) { argument 27 GetInstance()->GetServiceForBrowserContext(profile, true)); 48 Profile* profile = static_cast<Profile*>(context); local 49 return new StartPageService(profile);
|
H A D | app_list_controller_delegate.cc | 11 #include "chrome/browser/profiles/profile.h" 40 const extensions::Extension* GetExtension(Profile* profile, argument 43 extensions::ExtensionSystem::Get(profile)->extension_service(); 81 Profile* profile, 83 const extensions::Extension* extension = GetExtension(profile, app_id); 85 extensions::ExtensionSystem::Get(profile)->management_policy(); 95 Profile* profile, 99 extensions::ExtensionSystem::Get(profile)->extension_service(); 111 profile, local 117 void AppListControllerDelegate::UninstallApp(Profile* profile, argument 80 UserMayModifySettings( Profile* profile, const std::string& app_id) argument 94 DoShowAppInfoFlow( Profile* profile, const std::string& extension_id) argument 125 IsAppFromWebStore( Profile* profile, const std::string& app_id) argument 132 ShowAppInWebStore( Profile* profile, const std::string& app_id, bool is_search_result) argument 156 HasOptionsPage( Profile* profile, const std::string& app_id) argument 164 ShowOptionsPage( Profile* profile, const std::string& app_id) argument 178 GetExtensionLaunchType( Profile* profile, const std::string& app_id) argument 185 SetExtensionLaunchType( Profile* profile, const std::string& extension_id, extensions::LaunchType launch_type) argument 195 IsExtensionInstalled( Profile* profile, const std::string& app_id) argument 200 GetInstallTrackerFor( Profile* profile) argument 207 GetApps(Profile* profile, extensions::ExtensionSet* out_apps) argument [all...] |
/external/chromium_org/chrome/browser/ui/views/frame/ |
H A D | opaque_browser_frame_view_platform_specific.cc | 20 Profile* profile) { 17 Create( OpaqueBrowserFrameView* view, OpaqueBrowserFrameViewLayout* layout, Profile* profile) argument
|
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
H A D | app_resource_cache_factory.cc | 8 #include "chrome/browser/profiles/profile.h" 14 NTPResourceCache* AppResourceCacheFactory::GetForProfile(Profile* profile) { argument 16 GetInstance()->GetServiceForBrowserContext(profile, true)); 36 content::BrowserContext* profile) const { 37 return new NTPResourceCache(static_cast<Profile*>(profile));
|
H A D | ntp_resource_cache_factory.cc | 8 #include "chrome/browser/profiles/profile.h" 14 NTPResourceCache* NTPResourceCacheFactory::GetForProfile(Profile* profile) { argument 16 GetInstance()->GetServiceForBrowserContext(profile, true)); 36 content::BrowserContext* profile) const { 37 return new NTPResourceCache(static_cast<Profile*>(profile));
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/favicon/ |
H A D | FaviconHelper.java | 69 * @param profile Profile used for the FaviconService construction. 79 Profile profile, String pageUrl, int iconTypes, 82 return nativeGetLocalFaviconImageForURL(mNativeFaviconHelper, profile, pageUrl, iconTypes, 91 * @param profile Profile used for the FaviconService construction. 102 Profile profile, String pageUrl, int[] iconTypes, int minSizeThresholdPx, 106 mNativeFaviconHelper, profile, pageUrl, iconTypes, minSizeThresholdPx - 1, 123 * @param profile Profile used for the FaviconService construction. 128 public Bitmap getSyncedFaviconImageForURL(Profile profile, String pageUrl) { argument 130 return nativeGetSyncedFaviconImageForURL(mNativeFaviconHelper, profile, pageUrl); 136 Profile profile, Strin 78 getLocalFaviconImageForURL( Profile profile, String pageUrl, int iconTypes, int desiredSizeInPixel, FaviconImageCallback faviconImageCallback) argument 101 getLargestRawFaviconForUrl( Profile profile, String pageUrl, int[] iconTypes, int minSizeThresholdPx, FaviconImageCallback faviconImageCallback) argument 135 nativeGetLocalFaviconImageForURL(long nativeFaviconHelper, Profile profile, String pageUrl, int iconTypes, int desiredSizeInDip, FaviconImageCallback faviconImageCallback) argument 138 nativeGetLargestRawFaviconForUrl(long nativeFaviconHelper, Profile profile, String pageUrl, int[] iconTypes, int minSizeThresholdPx, FaviconImageCallback faviconImageCallback) argument 141 nativeGetSyncedFaviconImageForURL(long nativeFaviconHelper, Profile profile, String pageUrl) argument [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/prerender/ |
H A D | ExternalPrerenderHandler.java | 23 public long addPrerender(Profile profile, String url, String referrer, int width, int height) { argument 25 if (nativeAddPrerender(mNativeExternalPrerenderHandler, profile, webContentsPtr, 37 public static boolean hasPrerenderedUrl(Profile profile, String url, long webContentsPtr) { argument 38 return nativeHasPrerenderedUrl(profile, url, webContentsPtr); 41 public static boolean hasCookieStoreLoaded(Profile profile) { argument 42 return nativeHasCookieStoreLoaded(profile); 47 long nativeExternalPrerenderHandlerAndroid, Profile profile, 50 Profile profile, String url, long webContentsPtr); 52 Profile profile); 46 nativeAddPrerender( long nativeExternalPrerenderHandlerAndroid, Profile profile, long webContentsPtr, String url, String referrer, int width, int height) argument 49 nativeHasPrerenderedUrl( Profile profile, String url, long webContentsPtr) argument 51 nativeHasCookieStoreLoaded( Profile profile) argument
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/profiles/ |
H A D | ProfileDownloader.java | 26 * Notifies that an account data in the profile has been updated. 52 * @param profile Profile associated with the request 57 Profile profile, String accountId, int imageSidePixels) { 59 nativeStartFetchingAccountInfoFor(profile, accountId, imageSidePixels); 71 * @param profile Profile 72 * @return The profile name if cached, or null. 74 public static String getCachedName(Profile profile) { argument 75 return nativeGetCachedNameForPrimaryAccount(profile); 79 * @param profile Profile 80 * @return The profile avata 56 startFetchingAccountInfoFor( Profile profile, String accountId, int imageSidePixels) argument 82 getCachedAvatar(Profile profile) argument 87 nativeStartFetchingAccountInfoFor( Profile profile, String accountId, int imageSidePixels) argument 89 nativeGetCachedNameForPrimaryAccount(Profile profile) argument 90 nativeGetCachedAvatarForPrimaryAccount(Profile profile) argument [all...] |
/external/chromium_org/chrome/browser/extensions/api/bookmark_manager_private/ |
H A D | bookmark_manager_private_apitest.cc | 15 #include "chrome/browser/profiles/profile.h" 31 Profile* profile = browser()->profile(); local 32 BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile); 34 ChromeBookmarkClientFactory::GetForProfile(profile); 46 profile->GetPrefs()->Set(bookmarks::prefs::kManagedBookmarks, list); 54 Profile* profile = browser()->profile(); local 58 BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile); 68 PrefService* prefs = user_prefs::UserPrefs::Get(profile); [all...] |
/external/chromium_org/chrome/browser/ui/ash/ |
H A D | chrome_new_window_delegate_chromeos.cc | 27 Profile* const profile = ProfileManager::GetActiveUserProfile(); local 29 extensions::ExtensionSystem::Get(profile)->extension_service(); 32 profile)) { 40 OpenApplication(AppLaunchParams(profile, 47 Profile* profile = ProfileManager::GetActiveUserProfile(); local 49 profile); 53 profile, 69 Profile* profile = ProfileManager::GetActiveUserProfile(); local 71 ash::KeyboardOverlayView::ShowDialog(profile,
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
H A D | open_with_browser.cc | 67 bool IsPepperPluginEnabled(Profile* profile, argument 69 DCHECK(profile); 76 scoped_refptr<PluginPrefs> plugin_prefs = PluginPrefs::GetForProfile(profile); 83 bool IsPdfPluginEnabled(Profile* profile) { argument 84 DCHECK(profile); 88 return IsPepperPluginEnabled(profile, plugin_path); 91 bool IsFlashPluginEnabled(Profile* profile) { argument 92 DCHECK(profile); 99 return IsPepperPluginEnabled(profile, plugin_path); 102 void OpenNewTab(Profile* profile, cons argument 133 OpenFileWithBrowser(Profile* profile, const storage::FileSystemURL& file_system_url) argument 181 ShouldBeOpenedWithPlugin( Profile* profile, const base::FilePath::StringType& file_extension) argument [all...] |
H A D | open_util.cc | 39 void ShowWarningMessageBox(Profile* profile, argument 43 profile, false, chrome::HOST_DESKTOP_TYPE_ASH); 54 void ExecuteFileTaskForUrl(Profile* profile, argument 58 GetFileSystemContextForExtensionId(profile, kFileManagerAppId); 61 profile, 76 void OpenFileManagerWithInternalActionId(Profile* profile, argument 87 ExecuteFileTaskForUrl(profile, task, url); 91 void OpenFileWithMimeType(Profile* profile, argument 104 profile, 105 drive::util::GetDriveAppRegistryByProfile(profile), 130 OpenFile(Profile* profile, const base::FilePath& path, const GURL& url, const base::Callback<void(bool)>& callback) argument 141 OnContinueOpenItemCompleted(Profile* profile, const base::FilePath& file_path, bool result) argument 158 ContinueOpenItem(Profile* profile, const base::FilePath& file_path, const GURL& url, base::File::Error error) argument 181 ConvertPath(Profile* profile, const base::FilePath& given_path, base::FilePath* path, GURL* url) argument 202 OpenRemovableDrive(Profile* profile, const base::FilePath& file_path) argument 213 OpenItem(Profile* profile, const base::FilePath& file_path) argument 227 ShowItemInFolder(Profile* profile, const base::FilePath& file_path) argument [all...] |
H A D | open_with_browser.h | 22 // |profile|. This function takes care of the following intricacies: 31 bool OpenFileWithBrowser(Profile* profile, 36 Profile* profile,
|
/external/chromium_org/chrome/browser/supervised_user/ |
H A D | supervised_user_service_browsertest.cc | 10 #include "chrome/browser/profiles/profile.h" 48 // Ensure that a profile that has completed registration is included in the 52 // Artificially mark the profile as omitted. 55 Profile* profile = browser()->profile(); local 56 size_t index = cache.GetIndexOfProfileWithPath(profile->GetPath()); 61 SupervisedUserServiceFactory::GetForProfile(profile); 63 // A registration error does not clear the flag (the profile should be deleted 67 profile, local 75 profile, local 82 Profile* profile = browser()->profile(); local 89 Profile* profile = browser()->profile(); local 102 Profile* profile = browser()->profile(); local 109 Profile* profile = browser()->profile(); local [all...] |
/external/chromium_org/chrome/browser/bookmarks/ |
H A D | bookmark_model_factory.cc | 15 #include "chrome/browser/profiles/profile.h" 29 BookmarkModel* BookmarkModelFactory::GetForProfile(Profile* profile) { argument 31 GetInstance()->GetServiceForBrowserContext(profile, true)); 35 BookmarkModel* BookmarkModelFactory::GetForProfileIfExists(Profile* profile) { argument 37 GetInstance()->GetServiceForBrowserContext(profile, false)); 58 Profile* profile = static_cast<Profile*>(context); local 60 ChromeBookmarkClientFactory::GetForProfile(profile); 63 bookmark_model->Load(profile->GetPrefs(), 64 profile->GetPrefs()->GetString(prefs::kAcceptLanguages), 65 profile [all...] |
/external/chromium_org/chrome/browser/apps/ |
H A D | app_launch_for_metro_restart_win.cc | 16 #include "chrome/browser/profiles/profile.h" 30 void LaunchAppWithId(Profile* profile, argument 33 ExtensionSystem::Get(profile)->extension_service(); 42 AppRuntimeEventRouter::DispatchOnLaunchedEvent(profile, extension); 47 void HandleAppLaunchForMetroRestart(Profile* profile) { argument 52 // This will be called for each profile that had a browser window open before 54 // profile that is starting up matches the profile that initially wanted to 58 if (profile_dir.empty() || profile->GetPath().BaseName() != profile_dir) 75 base::Bind(&LaunchAppWithId, profile, extension_i 79 SetAppLaunchForMetroRestart(Profile* profile, const std::string& extension_id) argument [all...] |
H A D | app_launch_for_metro_restart_win.h | 19 void HandleAppLaunchForMetroRestart(Profile* profile); 22 void SetAppLaunchForMetroRestart(Profile* profile,
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | browsertest_util.h | 17 // an empty string if |extension_id| isn't installed in |profile| or doesn't 19 std::string ExecuteScriptInBackgroundPage(Profile* profile, 25 // isn't installed in |profile| or doesn't have a background page, or if 27 bool ExecuteScriptInBackgroundPageNoWait(Profile* profile,
|
H A D | extension_install_ui_util.cc | 13 void ShowPostInstallUIForApproval(Profile* profile, argument 17 ExtensionInstallUI::Create(profile));
|
/external/chromium_org/chrome/browser/favicon/ |
H A D | chrome_favicon_client.cc | 13 ChromeFaviconClient::ChromeFaviconClient(Profile* profile) : profile_(profile) { argument
|
/external/chromium_org/chrome/browser/local_discovery/ |
H A D | privet_notifications_factory.cc | 28 content::BrowserContext* profile) const { 29 return new PrivetNotificationService(profile);
|