Index: base/mac/scoped_authorizationref.h |
diff --git a/chrome/browser/mac/scoped_authorizationref.h b/base/mac/scoped_authorizationref.h |
similarity index 87% |
rename from chrome/browser/mac/scoped_authorizationref.h |
rename to base/mac/scoped_authorizationref.h |
index fbe0b9d823bccb2df7606be78322192c13b82c05..28ebce9f1629a91426a03963304ec93b60059aa0 100644 |
--- a/chrome/browser/mac/scoped_authorizationref.h |
+++ b/base/mac/scoped_authorizationref.h |
@@ -1,9 +1,9 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium 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 CHROME_BROWSER_MAC_SCOPED_AUTHORIZATIONREF_H_ |
-#define CHROME_BROWSER_MAC_SCOPED_AUTHORIZATIONREF_H_ |
+#ifndef BASE_MAC_SCOPED_AUTHORIZATIONREF_H_ |
+#define BASE_MAC_SCOPED_AUTHORIZATIONREF_H_ |
#pragma once |
#include <Security/Authorization.h> |
@@ -14,6 +14,9 @@ |
// ScopedAuthorizationRef maintains ownership of an AuthorizationRef. It is |
// patterned after the scoped_ptr interface. |
+namespace base { |
+namespace mac { |
+ |
class ScopedAuthorizationRef { |
public: |
explicit ScopedAuthorizationRef(AuthorizationRef authorization = NULL) |
@@ -77,4 +80,7 @@ class ScopedAuthorizationRef { |
DISALLOW_COPY_AND_ASSIGN(ScopedAuthorizationRef); |
}; |
-#endif // CHROME_BROWSER_MAC_SCOPED_AUTHORIZATIONREF_H_ |
+} // namespace mac |
+} // namespace base |
+ |
+#endif // BASE_MAC_SCOPED_AUTHORIZATIONREF_H_ |