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

Unified Diff: resource.h

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 | « manager.cc ('k') | resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: resource.h
diff --git a/resource.h b/resource.h
new file mode 100644
index 0000000000000000000000000000000000000000..153526fdec1a5ce1afc4605768bc48037013d20f
--- /dev/null
+++ b/resource.h
@@ -0,0 +1,22 @@
+// 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.
+
+#ifndef SHILL_RESOURCE_
+#define SHILL_RESOURCE_
+
+namespace shill {
+
+class Resource {
+ public:
+ Resource() : freeing_(false) {}
+ void Release();
+ bool IsFreeing();
+
+ private:
+ bool freeing_;
+};
+
+} // namespace shill
+
+#endif // SHILL_MANAGER_
« no previous file with comments | « manager.cc ('k') | resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698