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

Side by Side Diff: cros-disks-server-impl.cc

Issue 6824032: First batch of cros-disk changes (Closed) Base URL: ssh://gitrw.chromium.org:9222/cros-disks.git@master
Patch Set: adds set_ and removes j's 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cros-disks-server-impl.h ('k') | disk.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "cros-disks-server-impl.h"
6
7 #include "disk.h"
8
9 #include <sys/mount.h>
10
11 namespace cros_disks {
12
13 // TODO(rtc): this should probably be a flag.
14 static const char* kServicePath = "/org/chromium/CrosDisks";
15
16 CrosDisksServer::CrosDisksServer(DBus::Connection& connection)
17 : DBus::ObjectAdaptor(connection, kServicePath) { }
18
19 CrosDisksServer::~CrosDisksServer() { }
20
21 bool CrosDisksServer::IsAlive(DBus::Error& error) { // NOLINT
22 return true;
23 }
24
25 void CrosDisksServer::FilesystemMount(
26 const std::string& nullArgument,
27 const std::vector<std::string>& mountOptions,
28 DBus::Error& error) { // NOLINT
29
30 return;
31 }
32
33 void CrosDisksServer::FilesystemUnmount(
34 const std::vector<std::string>& mountOptions,
35 DBus::Error& error) { // NOLINT
36
37 return;
38 }
39
40 DBusDisks CrosDisksServer::GetAll(DBus::Error& error) { // NOLINT
41 DBusDisks v;
42 return v;
43 }
44
45 } // namespace cros_disks
OLDNEW
« no previous file with comments | « cros-disks-server-impl.h ('k') | disk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698