summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-09 23:46:54 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-09 23:46:54 +0000
commit613eef6fa590053eba18074aef8b2e25e9b6ded9 (patch)
tree2eaa7e10f148a873697fc49d08078f832ac963c1 /base
parent61b5ab0a7bfa7ebd7ee8319604614dda30a38fd4 (diff)
downloadchromium_src-613eef6fa590053eba18074aef8b2e25e9b6ded9.zip
chromium_src-613eef6fa590053eba18074aef8b2e25e9b6ded9.tar.gz
chromium_src-613eef6fa590053eba18074aef8b2e25e9b6ded9.tar.bz2
Move global_descriptors to base/posix.
This file represents a posix-only concept. BUG= Review URL: https://codereview.chromium.org/11293210 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167008 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/base.gypi4
-rw-r--r--base/posix/global_descriptors.cc (renamed from base/global_descriptors_posix.cc)2
-rw-r--r--base/posix/global_descriptors.h (renamed from base/global_descriptors_posix.h)6
3 files changed, 6 insertions, 6 deletions
diff --git a/base/base.gypi b/base/base.gypi
index 465ab81..8007926 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -153,8 +153,6 @@
'files/important_file_writer.cc',
'float_util.h',
'format_macros.h',
- 'global_descriptors_posix.cc',
- 'global_descriptors_posix.h',
'gtest_prod_util.h',
'guid.cc',
'guid.h',
@@ -310,6 +308,8 @@
'platform_file_posix.cc',
'platform_file_win.cc',
'port.h',
+ 'posix/global_descriptors.cc',
+ 'posix/global_descriptors.h',
'posix/unix_domain_socket.cc',
'posix/unix_domain_socket.h',
'process.h',
diff --git a/base/global_descriptors_posix.cc b/base/posix/global_descriptors.cc
index 50526ec..bcca443 100644
--- a/base/global_descriptors_posix.cc
+++ b/base/posix/global_descriptors.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/global_descriptors_posix.h"
+#include "base/posix/global_descriptors.h"
#include <vector>
#include <utility>
diff --git a/base/global_descriptors_posix.h b/base/posix/global_descriptors.h
index 4739923..c7b9f87 100644
--- a/base/global_descriptors_posix.h
+++ b/base/posix/global_descriptors.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BASE_GLOBAL_DESCRIPTORS_POSIX_H_
-#define BASE_GLOBAL_DESCRIPTORS_POSIX_H_
+#ifndef BASE_POSIX_GLOBAL_DESCRIPTORS_H_
+#define BASE_POSIX_GLOBAL_DESCRIPTORS_H_
#include "build/build_config.h"
@@ -67,4 +67,4 @@ class BASE_EXPORT GlobalDescriptors {
} // namespace base
-#endif // BASE_GLOBAL_DESCRIPTORS_POSIX_H_
+#endif // BASE_POSIX_GLOBAL_DESCRIPTORS_H_