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

Side by Side Diff: chromeos/dbus/permission_broker_client.h

Issue 91413002: Remove fake client creation from DBusClients' Create() functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « chromeos/dbus/nfc_tag_client.cc ('k') | chromeos/dbus/shill_device_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROMEOS_DBUS_PERMISSION_BROKER_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_PERMISSION_BROKER_CLIENT_H_
6 #define CHROMEOS_DBUS_PERMISSION_BROKER_CLIENT_H_ 6 #define CHROMEOS_DBUS_PERMISSION_BROKER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "chromeos/chromeos_export.h" 12 #include "chromeos/chromeos_export.h"
13 #include "chromeos/dbus/dbus_client.h" 13 #include "chromeos/dbus/dbus_client.h"
14 #include "chromeos/dbus/dbus_client_implementation_type.h"
15 14
16 namespace chromeos { 15 namespace chromeos {
17 16
18 // PermissionBrokerClient is used to communicate with the permission broker, a 17 // PermissionBrokerClient is used to communicate with the permission broker, a
19 // process that allows requesting permission to access specific device nodes. 18 // process that allows requesting permission to access specific device nodes.
20 // For example, one place that this client is used is within the USB extension 19 // For example, one place that this client is used is within the USB extension
21 // API code, where it is used to request explicit access to USB peripherals 20 // API code, where it is used to request explicit access to USB peripherals
22 // which the user the browser runs under normally wouldn't have access to. For 21 // which the user the browser runs under normally wouldn't have access to. For
23 // more details on the permission broker see: 22 // more details on the permission broker see:
24 // http://git.chromium.org/gitweb/?p=chromiumos/platform/permission_broker.git 23 // http://git.chromium.org/gitweb/?p=chromiumos/platform/permission_broker.git
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 protected: 57 protected:
59 PermissionBrokerClient(); 58 PermissionBrokerClient();
60 59
61 private: 60 private:
62 DISALLOW_COPY_AND_ASSIGN(PermissionBrokerClient); 61 DISALLOW_COPY_AND_ASSIGN(PermissionBrokerClient);
63 }; 62 };
64 63
65 } // namespace chromeos 64 } // namespace chromeos
66 65
67 #endif // CHROMEOS_DBUS_PERMISSION_BROKER_CLIENT_H_ 66 #endif // CHROMEOS_DBUS_PERMISSION_BROKER_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/nfc_tag_client.cc ('k') | chromeos/dbus/shill_device_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698