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

Unified Diff: base/message_pump_mac.h

Issue 6831009: Remove code rendered pointless by r65322 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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 | base/message_pump_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_mac.h
===================================================================
--- base/message_pump_mac.h (revision 81519)
+++ base/message_pump_mac.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -34,7 +34,6 @@
#include "base/message_pump.h"
#include <CoreFoundation/CoreFoundation.h>
-#include <IOKit/IOKitLib.h>
#if !defined(__OBJC__)
class NSAutoreleasePool;
@@ -142,12 +141,6 @@
// the basis of run loops starting and stopping.
virtual void EnterExitRunLoop(CFRunLoopActivity activity);
- // IOKit power state change notification callback, called when the system
- // enters and leaves the sleep state.
- static void PowerStateNotification(void* info, io_service_t service,
- uint32_t message_type,
- void* message_argument);
-
// The thread's run loop.
CFRunLoopRef run_loop_;
@@ -161,11 +154,6 @@
CFRunLoopObserverRef pre_source_observer_;
CFRunLoopObserverRef enter_exit_observer_;
- // Objects used for power state notification. See PowerStateNotification.
- io_connect_t root_power_domain_;
- IONotificationPortRef power_notification_port_;
- io_object_t power_notification_object_;
-
// (weak) Delegate passed as an argument to the innermost Run call.
Delegate* delegate_;
« no previous file with comments | « no previous file | base/message_pump_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698