diff options
author | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-07 20:26:50 +0000 |
---|---|---|
committer | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-07 20:26:50 +0000 |
commit | 8919c55c25dda90fcc7443855f8f96e4a0947e86 (patch) | |
tree | 61f004f948397a75e878d5792456ea0db654a57e /chrome/browser/browser_process.h | |
parent | fde2cb0bc16de6a5be9e671f90370fed30dc83e5 (diff) | |
download | chromium_src-8919c55c25dda90fcc7443855f8f96e4a0947e86.zip chromium_src-8919c55c25dda90fcc7443855f8f96e4a0947e86.tar.gz chromium_src-8919c55c25dda90fcc7443855f8f96e4a0947e86.tar.bz2 |
Change how ui::Clipboard is accessed so there's only one per thread.
Currently, there can be any number of Clipboard objects, which can be massively simplified. This removes interfaces for fetching the Clipboard and makes everyone go through a single static ui::Clipboard::GetForCurrentThread() access point.
BUG=130805
TBR=tc (change in webkit/ is trivial)
Review URL: https://chromiumcodereview.appspot.com/10911074
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155468 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process.h')
-rw-r--r-- | chrome/browser/browser_process.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/browser_process.h b/chrome/browser/browser_process.h index b31ae0a..bc5a56b 100644 --- a/chrome/browser/browser_process.h +++ b/chrome/browser/browser_process.h @@ -71,10 +71,6 @@ namespace safe_browsing { class ClientSideDetectionService; } -namespace ui { -class Clipboard; -} - // NOT THREAD SAFE, call only from the main thread. // These functions shouldn't return NULL unless otherwise noted. class BrowserProcess { @@ -95,7 +91,6 @@ class BrowserProcess { virtual MetricsService* metrics_service() = 0; virtual ProfileManager* profile_manager() = 0; virtual PrefService* local_state() = 0; - virtual ui::Clipboard* clipboard() = 0; virtual net::URLRequestContextGetter* system_request_context() = 0; virtual chrome_variations::VariationsService* variations_service() = 0; |