| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_DBUS_SCREEN_LOCK_SERVICE_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DBUS_SCREEN_LOCK_SERVICE_PROVIDER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DBUS_SCREEN_LOCK_SERVICE_PROVIDER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DBUS_SCREEN_LOCK_SERVICE_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "chromeos/dbus/services/cros_dbus_service.h" | 14 #include "chromeos/dbus/services/cros_dbus_service.h" |
| 15 #include "dbus/exported_object.h" | 15 #include "dbus/exported_object.h" |
| 16 | 16 |
| 17 namespace dbus { | 17 namespace dbus { |
| 18 class MethodCall; | 18 class MethodCall; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace chromeos { | 21 namespace chromeos { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 45 // Keep this last so that all weak pointers will be invalidated at the | 45 // Keep this last so that all weak pointers will be invalidated at the |
| 46 // beginning of destruction. | 46 // beginning of destruction. |
| 47 base::WeakPtrFactory<ScreenLockServiceProvider> weak_ptr_factory_; | 47 base::WeakPtrFactory<ScreenLockServiceProvider> weak_ptr_factory_; |
| 48 | 48 |
| 49 DISALLOW_COPY_AND_ASSIGN(ScreenLockServiceProvider); | 49 DISALLOW_COPY_AND_ASSIGN(ScreenLockServiceProvider); |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace chromeos | 52 } // namespace chromeos |
| 53 | 53 |
| 54 #endif // CHROME_BROWSER_CHROMEOS_DBUS_SCREEN_LOCK_SERVICE_PROVIDER_H_ | 54 #endif // CHROME_BROWSER_CHROMEOS_DBUS_SCREEN_LOCK_SERVICE_PROVIDER_H_ |
| OLD | NEW |