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

Unified Diff: content/browser/mach_broker_mac.h

Issue 8734017: base::Bind: More random cleanups. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mac build fix 2. Created 9 years, 1 month 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
Index: content/browser/mach_broker_mac.h
diff --git a/content/browser/mach_broker_mac.h b/content/browser/mach_broker_mac.h
index 27a61dd1655941a1af0d194283f673896c85687a..3a1cea329c565ae3fa53b3320e7979fbf2778d9c 100644
--- a/content/browser/mach_broker_mac.h
+++ b/content/browser/mach_broker_mac.h
@@ -86,10 +86,15 @@ class MachBroker : public base::ProcessMetrics::PortProvider,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
private:
- // Private constructor.
+ friend class MachBrokerTest;
+ friend struct DefaultSingletonTraits<MachBroker>;
+
MachBroker();
virtual ~MachBroker();
+ // Callback used to register notifications on the UI thread.
+ void RegisterNotifications();
+
// True if the listener thread has been started.
bool listener_thread_started_;
@@ -104,10 +109,6 @@ class MachBroker : public base::ProcessMetrics::PortProvider,
// Mutex that guards |mach_map_|.
mutable base::Lock lock_;
- friend class MachBrokerTest;
- friend class RegisterNotificationTask;
- // Needed in order to make the constructor private.
- friend struct DefaultSingletonTraits<MachBroker>;
DISALLOW_COPY_AND_ASSIGN(MachBroker);
};
« no previous file with comments | « content/browser/geolocation/gps_location_provider_unittest_linux.cc ('k') | content/browser/mach_broker_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698