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

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: A few object renames and pointer conversions 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « resource.h ('k') | service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « resource.h ('k') | service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698