diff options
author | Ben Murdoch <benm@google.com> | 2010-11-18 19:44:20 +0000 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2010-11-19 14:54:37 +0000 |
commit | 81e333ba9bbaf09cb5411cb0966ae032d4539e12 (patch) | |
tree | 11624960dbf1448a41b1d0463ae0d9f066956f6e | |
parent | 595099a8c1be642bb6603f1b82669d721fe5d5df (diff) | |
download | external_chromium-81e333ba9bbaf09cb5411cb0966ae032d4539e12.zip external_chromium-81e333ba9bbaf09cb5411cb0966ae032d4539e12.tar.gz external_chromium-81e333ba9bbaf09cb5411cb0966ae032d4539e12.tar.bz2 |
Merge Chromium at r65505: Add new Profile functions to ProfileAndroid
Add a bunch of new functions with empty implementations to our Profile
implementation. Also update the use of Extension type to incorporate
const.
http://src.chromium.org/viewvc/chrome?view=rev&revision=64988
http://src.chromium.org/viewvc/chrome?view=rev&revision=64517
http://src.chromium.org/viewvc/chrome?view=rev&revision=64072
http://src.chromium.org/viewvc/chrome?view=rev&revision=63717
Change-Id: I959c361575686ccee2f311360289a0d824412ef7
-rw-r--r-- | android/autofill/profile_android.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/android/autofill/profile_android.h b/android/autofill/profile_android.h index 86083d8..f9c6828 100644 --- a/android/autofill/profile_android.h +++ b/android/autofill/profile_android.h @@ -59,6 +59,7 @@ class DatabaseTracker; class AutocompleteClassifier; class BackgroundContentsService; class BookmarkModel; +class BrowserSignin; class BrowserThemeProvider; class ChromeURLRequestContextGetter; class DesktopNotificationService; @@ -146,17 +147,17 @@ class ProfileImplAndroid : public Profile { virtual DownloadManager* GetDownloadManager() { NOTREACHED(); return NULL; } virtual FileSystemHostContext* GetFileSystemHostContext() { NOTREACHED(); return NULL; } virtual void InitThemes() { NOTREACHED(); } - virtual void SetTheme(Extension* extension) { NOTREACHED(); } + virtual void SetTheme(const Extension* extension) { NOTREACHED(); } virtual void SetNativeTheme() { NOTREACHED(); } virtual void ClearTheme() { NOTREACHED(); } - virtual Extension* GetTheme() { NOTREACHED(); return NULL; } + virtual const Extension* GetTheme() { NOTREACHED(); return NULL; } virtual BrowserThemeProvider* GetThemeProvider() { NOTREACHED(); return NULL; } virtual bool HasCreatedDownloadManager() const { NOTREACHED(); return false; } virtual URLRequestContextGetter* GetRequestContext() { NOTREACHED(); return NULL; } virtual URLRequestContextGetter* GetRequestContextForMedia() { NOTREACHED(); return NULL; } virtual URLRequestContextGetter* GetRequestContextForExtensions() { NOTREACHED(); return NULL; } - virtual void RegisterExtensionWithRequestContexts(Extension* extension) { NOTREACHED(); } - virtual void UnregisterExtensionWithRequestContexts(Extension* extension) { NOTREACHED(); } + virtual void RegisterExtensionWithRequestContexts(const Extension* extension) { NOTREACHED(); } + virtual void UnregisterExtensionWithRequestContexts(const Extension* extension) { NOTREACHED(); } virtual net::SSLConfigService* GetSSLConfigService() { NOTREACHED(); return NULL; } virtual HostContentSettingsMap* GetHostContentSettingsMap() { NOTREACHED(); return NULL; } virtual HostZoomMap* GetHostZoomMap() { NOTREACHED(); return NULL; } @@ -194,6 +195,11 @@ class ProfileImplAndroid : public Profile { virtual CloudPrintProxyService* GetCloudPrintProxyService() { NOTREACHED(); return NULL; } void InitCloudPrintProxyService() { NOTREACHED(); } + virtual history::TopSites* GetTopSitesWithoutCreating() { NOTREACHED(); return NULL; } + virtual BrowserSignin* GetBrowserSignin() { NOTREACHED(); return NULL; } + virtual bool HasProfileSyncService() const { NOTREACHED(); return false; } + + private: friend class Profile; |