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

Unified Diff: base/mac/scoped_nsautorelease_pool.h

Issue 3828009: Move scoped_nsdisable_screen_update from base to app/mac... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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 | « base/mac/scoped_aedesc.h ('k') | base/mac/scoped_nsautorelease_pool.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/scoped_nsautorelease_pool.h
===================================================================
--- base/mac/scoped_nsautorelease_pool.h (revision 62887)
+++ base/mac/scoped_nsautorelease_pool.h (working copy)
@@ -1,9 +1,9 @@
-// Copyright (c) 2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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 BASE_SCOPED_NSAUTORELEASE_POOL_H_
-#define BASE_SCOPED_NSAUTORELEASE_POOL_H_
+#ifndef BASE_MAC_SCOPED_NSAUTORELEASE_POOL_H_
+#define BASE_MAC_SCOPED_NSAUTORELEASE_POOL_H_
#pragma once
#include "base/basictypes.h"
@@ -17,6 +17,7 @@
#endif // OS_MACOSX
namespace base {
+namespace mac {
// On the Mac, ScopedNSAutoreleasePool allocates an NSAutoreleasePool when
// instantiated and sends it a -drain message when destroyed. This allows an
@@ -48,6 +49,7 @@
DISALLOW_COPY_AND_ASSIGN(ScopedNSAutoreleasePool);
};
+} // namespace mac
} // namespace base
-#endif // BASE_SCOPED_NSAUTORELEASE_POOL_H_
+#endif // BASE_MAC_SCOPED_NSAUTORELEASE_POOL_H_
« no previous file with comments | « base/mac/scoped_aedesc.h ('k') | base/mac/scoped_nsautorelease_pool.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698