Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1886)

Unified Diff: base/threading/thread_restrictions.h

Issue 653243004: Remove some friend declarations in ThreadRestrictions that are no more needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/threading/thread_restrictions.h
diff --git a/base/threading/thread_restrictions.h b/base/threading/thread_restrictions.h
index 3653c960b5f5ca1f75a6cede82d73bdf25a52c3f..39f32a7bfdec34a955c22b1e3823c8948a0b4e24 100644
--- a/base/threading/thread_restrictions.h
+++ b/base/threading/thread_restrictions.h
@@ -15,22 +15,16 @@
#define ENABLE_THREAD_RESTRICTIONS 0
#endif
-class AcceleratedPresenter;
class BrowserProcessImpl;
class HistogramSynchronizer;
class NativeBackendKWallet;
class ScopedAllowWaitForLegacyWebViewApi;
class TestingAutomationProvider;
-namespace browser_sync {
-class NonFrontendDataTypeController;
-class UIModelWorker;
-}
namespace cc {
class CompletionEvent;
}
namespace chromeos {
-class AudioMixerAlsa;
class BlockingMethodCaller;
namespace system {
class StatisticsProviderImpl;
@@ -44,7 +38,6 @@ class BrowserGpuChannelHostFactory;
class BrowserGpuMemoryBufferManager;
class BrowserShutdownProfileDumper;
class BrowserTestBase;
-class GLHelper;
class GpuChannelHost;
class NestedMessagePumpAndroid;
class RenderWidgetResizeHelper;
@@ -58,20 +51,12 @@ namespace disk_cache {
class BackendImpl;
class InFlightIO;
}
-namespace media {
-class AudioOutputController;
-}
-namespace metrics {
-class MetricsService;
-}
namespace mojo {
namespace common {
class WatcherThreadManager;
}
}
namespace net {
-class FileStreamPosix;
-class FileStreamWin;
namespace internal {
class AddressTrackerLinux;
}
@@ -206,29 +191,20 @@ class BASE_EXPORT ThreadRestrictions {
// END ALLOWED USAGE.
// BEGIN USAGE THAT NEEDS TO BE FIXED.
- friend class ::chromeos::AudioMixerAlsa; // http://crbug.com/125206
friend class ::chromeos::BlockingMethodCaller; // http://crbug.com/125360
friend class ::chromeos::system::StatisticsProviderImpl; // http://crbug.com/125385
- friend class browser_sync::NonFrontendDataTypeController; // http://crbug.com/19757
- friend class browser_sync::UIModelWorker; // http://crbug.com/19757
friend class chrome_browser_net::Predictor; // http://crbug.com/78451
friend class
content::BrowserGpuChannelHostFactory; // http://crbug.com/125248
friend class
content::BrowserGpuMemoryBufferManager; // http://crbug.com/420368
- friend class content::GLHelper; // http://crbug.com/125415
friend class content::GpuChannelHost; // http://crbug.com/125264
friend class content::TextInputClientMac; // http://crbug.com/121917
friend class dbus::Bus; // http://crbug.com/125222
friend class disk_cache::BackendImpl; // http://crbug.com/74623
friend class disk_cache::InFlightIO; // http://crbug.com/74623
- friend class media::AudioOutputController; // http://crbug.com/120973
- friend class net::FileStreamPosix; // http://crbug.com/115067
- friend class net::FileStreamWin; // http://crbug.com/115067
friend class net::internal::AddressTrackerLinux; // http://crbug.com/125097
- friend class ::AcceleratedPresenter; // http://crbug.com/125391
friend class ::BrowserProcessImpl; // http://crbug.com/125207
- friend class metrics::MetricsService; // http://crbug.com/124954
friend class ::NativeBackendKWallet; // http://crbug.com/125331
// END USAGE THAT NEEDS TO BE FIXED.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698