Fix incorrect guards in base/.

This doesn't change _H_ vs _H__, it just fixes guards that didn't properly match the filename.  Adds a guard to clipboard_util.h which was previously guardless.

Review URL: http://codereview.chromium.org/42278


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11856 0039d316-1c4b-4281-b951-d872f2087c98
Esse commit está contido em:
deanm@chromium.org
2009-03-17 12:47:14 +00:00
commit 5694785a25
8 arquivos alterados com 22 adições e 17 exclusões
+1 -1
Ver Arquivo
@@ -43,4 +43,4 @@ class BaseDragSource : public IDropSource {
DISALLOW_EVIL_CONSTRUCTORS(BaseDragSource);
};
#endif // #ifndef BASE_DRAG_SOURCE_H_
#endif // BASE_BASE_DRAG_SOURCE_H_
+3 -3
Ver Arquivo
@@ -4,8 +4,8 @@
// Defines all the "base" command-line switches.
#ifndef BASE_SWITCHES_H_
#define BASE_SWITCHES_H_
#ifndef BASE_BASE_SWITCHES_H_
#define BASE_BASE_SWITCHES_H_
namespace switches {
@@ -20,4 +20,4 @@ extern const wchar_t kForceHTTPS[];
} // namespace switches
#endif // BASE_SWITCHES_H_
#endif // BASE_BASE_SWITCHES_H_
+5
Ver Arquivo
@@ -4,6 +4,9 @@
//
// Some helper functions for working with the clipboard and IDataObjects.
#ifndef BASE_CLIPBOARD_UTIL_H_
#define BASE_CLIPBOARD_UTIL_H_
#include <shlobj.h>
#include <string>
#include <vector>
@@ -56,3 +59,5 @@ class ClipboardUtil {
static void CFHtmlToHtml(const std::string& cf_html, std::string* html,
std::string* base_url);
};
#endif // BASE_CLIPBOARD_UTIL_H_
+3 -3
Ver Arquivo
@@ -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_NO_WINDOWS2000_UNITTEST_H__
#define BASE_NO_WINDOWS2000_UNITTEST_H__
#ifndef BASE_NO_WINDOWS2000_UNITTEST_H_
#define BASE_NO_WINDOWS2000_UNITTEST_H_
#include "testing/gtest/include/gtest/gtest.h"
#include "base/win_util.h"
@@ -18,4 +18,4 @@ class NoWindows2000Test : public Parent {
}
};
#endif // BASE_NO_WINDOWS2000_UNITTEST_H__op
#endif // BASE_NO_WINDOWS2000_UNITTEST_H_
+3 -3
Ver Arquivo
@@ -8,8 +8,8 @@
// Win32 Portable Executable File Format" by Matt Pietrek:
// http://msdn.microsoft.com/msdnmag/issues/02/02/PE/default.aspx
#ifndef BASE_SRC_PE_IMAGE_H__
#define BASE_SRC_PE_IMAGE_H__
#ifndef BASE_PE_IMAGE_H_
#define BASE_PE_IMAGE_H_
#include <windows.h>
#include <DelayIMP.h>
@@ -254,4 +254,4 @@ inline PIMAGE_EXPORT_DIRECTORY PEImage::GetExportDirectory() const {
GetImageDirectoryEntryAddr(IMAGE_DIRECTORY_ENTRY_EXPORT));
}
#endif // BASE_SRC_PE_IMAGE_H__
#endif // BASE_PE_IMAGE_H_
+3 -3
Ver Arquivo
@@ -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_PERFTTIMER_H_
#define BASE_PERFTTIMER_H_
#ifndef BASE_PERFTIMER_H_
#define BASE_PERFTIMER_H_
#include <string>
#include "base/basictypes.h"
@@ -78,4 +78,4 @@ class PerfTimeLogger {
PerfTimer timer_;
};
#endif // BASE_PERFTTIMER_H_
#endif // BASE_PERFTIMER_H_
+1 -1
Ver Arquivo
@@ -69,4 +69,4 @@ class ScopedClipboardWriter {
DISALLOW_COPY_AND_ASSIGN(ScopedClipboardWriter);
};
#endif // SCOPED_CLIPBOARD_WRITER_H_
#endif // BASE_SCOPED_CLIPBOARD_WRITER_H_
+3 -3
Ver Arquivo
@@ -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 THREAD_COLLISION_WARNER_H_
#define THREAD_COLLISION_WARNER_H_
#ifndef BASE_THREAD_COLLISION_WARNER_H_
#define BASE_THREAD_COLLISION_WARNER_H_
#include <memory>
@@ -239,4 +239,4 @@ class ThreadCollisionWarner {
} // namespace base
#endif // THREAD_COLLISION_WARNER_H_
#endif // BASE_THREAD_COLLISION_WARNER_H_