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

Unified Diff: base/mac/scoped_launch_data.h

Issue 9837098: Move launchd code from chrome/browser/mac to base/mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 9 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/launchd.cc ('k') | chrome/browser/mac/dock.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/scoped_launch_data.h
diff --git a/chrome/browser/mac/scoped_launch_data.h b/base/mac/scoped_launch_data.h
similarity index 82%
rename from chrome/browser/mac/scoped_launch_data.h
rename to base/mac/scoped_launch_data.h
index 750b296a2500553de8e90bae8aa34a978867ff27..955c3e7f06a07b14d78d37ae9eafbada4b5ef492 100644
--- a/chrome/browser/mac/scoped_launch_data.h
+++ b/base/mac/scoped_launch_data.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_LAUNCH_DATA_H_
-#define CHROME_BROWSER_MAC_SCOPED_LAUNCH_DATA_H_
+#ifndef BASE_MAC_SCOPED_LAUNCH_DATA_H_
+#define BASE_MAC_SCOPED_LAUNCH_DATA_H_
#pragma once
#include <launch.h>
@@ -13,7 +13,8 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
-namespace launchd {
+namespace base {
+namespace mac {
// Just like scoped_ptr<> but for launch_data_t.
class ScopedLaunchData {
@@ -69,6 +70,7 @@ class ScopedLaunchData {
DISALLOW_COPY_AND_ASSIGN(ScopedLaunchData);
};
-} // namespace launchd
+} // namespace mac
+} // namespace base
-#endif // CHROME_BROWSER_MAC_SCOPED_LAUNCH_DATA_H_
+#endif // BASE_MAC_SCOPED_LAUNCH_DATA_H_
« no previous file with comments | « base/mac/launchd.cc ('k') | chrome/browser/mac/dock.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698