Chromium Code Reviews| 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_ |