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

Side by Side Diff: chromeos/dbus/services/display_power_service_provider.cc

Issue 947173002: Remove duplicate includes from chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "chromeos/dbus/services/display_power_service_provider.h" 5 #include "chromeos/dbus/services/display_power_service_provider.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "dbus/message.h" 8 #include "dbus/message.h"
9 #include "third_party/cros_system_api/dbus/service_constants.h"
10 9
11 namespace chromeos { 10 namespace chromeos {
12 11
13 namespace { 12 namespace {
14 13
15 void RunConfigurationCallback( 14 void RunConfigurationCallback(
16 dbus::MethodCall* method_call, 15 dbus::MethodCall* method_call,
17 dbus::ExportedObject::ResponseSender response_sender, 16 dbus::ExportedObject::ResponseSender response_sender,
18 bool status) { 17 bool status) {
19 response_sender.Run(dbus::Response::FromMethodCall(method_call)); 18 response_sender.Run(dbus::Response::FromMethodCall(method_call));
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 if (reader.PopBool(&dimmed)) { 79 if (reader.PopBool(&dimmed)) {
81 delegate_->SetDimming(dimmed); 80 delegate_->SetDimming(dimmed);
82 } else { 81 } else {
83 LOG(ERROR) << "Unable to parse " << kSetDisplaySoftwareDimming 82 LOG(ERROR) << "Unable to parse " << kSetDisplaySoftwareDimming
84 << " request"; 83 << " request";
85 } 84 }
86 response_sender.Run(dbus::Response::FromMethodCall(method_call)); 85 response_sender.Run(dbus::Response::FromMethodCall(method_call));
87 } 86 }
88 87
89 } // namespace chromeos 88 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/dbus/services/cros_dbus_service.cc ('k') | chromeos/dbus/services/proxy_resolution_service_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698