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

Unified Diff: resource.cc

Issue 6575006: Add initial sketch to shill repository (Closed) Base URL: ssh://git@gitrw.chromium.org/shill.git@master
Patch Set: Add device and service mockups Created 9 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 side-by-side diff with in-line comments
Download patch
Index: resource.cc
diff --git a/resource.cc b/resource.cc
new file mode 100644
index 0000000000000000000000000000000000000000..d7ca4b486f64215a20311caedad9a9199ee7b098
--- /dev/null
+++ b/resource.cc
@@ -0,0 +1,15 @@
+// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include <shill/resource.h>
+
+namespace shill {
+void Resource::Release() {
+ freeing_ = 1;
+}
+
+bool Resource::IsFreeing() {
+ return freeing_;
+}
+} // namespace shill

Powered by Google App Engine
This is Rietveld 408576698