diff options
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-11 19:01:43 +0000 |
---|---|---|
committer | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-11 19:01:43 +0000 |
commit | 01c86ece0232e9b15bff05f1ee508c7f6bdc2ef0 (patch) | |
tree | ce78aa58908c7bc64bcb3596bd1298b872b85701 /tools/json_schema_compiler | |
parent | a19317f99fd8f35cd2bf8ebe3d0f34dc71866574 (diff) | |
download | chromium_src-01c86ece0232e9b15bff05f1ee508c7f6bdc2ef0.zip chromium_src-01c86ece0232e9b15bff05f1ee508c7f6bdc2ef0.tar.gz chromium_src-01c86ece0232e9b15bff05f1ee508c7f6bdc2ef0.tar.bz2 |
Remove the rest of #pragma once in one big CL.
For context see this thread:
https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II
TBR=thakis,pkasting,jam
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/json_schema_compiler')
-rw-r--r-- | tools/json_schema_compiler/any.h | 1 | ||||
-rw-r--r-- | tools/json_schema_compiler/h_generator.py | 1 | ||||
-rw-r--r-- | tools/json_schema_compiler/schema_bundle_generator.py | 1 | ||||
-rw-r--r-- | tools/json_schema_compiler/util.h | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/tools/json_schema_compiler/any.h b/tools/json_schema_compiler/any.h index 8169313..9e44048 100644 --- a/tools/json_schema_compiler/any.h +++ b/tools/json_schema_compiler/any.h @@ -4,7 +4,6 @@ #ifndef TOOLS_JSON_SCHEMA_COMPILER_ANY_H__ #define TOOLS_JSON_SCHEMA_COMPILER_ANY_H__ -#pragma once #include "base/basictypes.h" #include "base/memory/scoped_ptr.h" diff --git a/tools/json_schema_compiler/h_generator.py b/tools/json_schema_compiler/h_generator.py index 5e7e700..b5801ef 100644 --- a/tools/json_schema_compiler/h_generator.py +++ b/tools/json_schema_compiler/h_generator.py @@ -32,7 +32,6 @@ class HGenerator(object): self._target_namespace) (c.Append('#ifndef %s' % ifndef_name) .Append('#define %s' % ifndef_name) - .Append('#pragma once') .Append() .Append('#include <string>') .Append('#include <vector>') diff --git a/tools/json_schema_compiler/schema_bundle_generator.py b/tools/json_schema_compiler/schema_bundle_generator.py index 21e453c..08cc4a8 100644 --- a/tools/json_schema_compiler/schema_bundle_generator.py +++ b/tools/json_schema_compiler/schema_bundle_generator.py @@ -35,7 +35,6 @@ class SchemaBundleGenerator(object): c.Append() c.Append('#ifndef %s' % ifndef_name) c.Append('#define %s' % ifndef_name) - c.Append('#pragma once') c.Append() c.Concat(body_code) c.Append() diff --git a/tools/json_schema_compiler/util.h b/tools/json_schema_compiler/util.h index c3e3b1d..f0459dc 100644 --- a/tools/json_schema_compiler/util.h +++ b/tools/json_schema_compiler/util.h @@ -4,7 +4,6 @@ #ifndef TOOLS_JSON_SCHEMA_COMPILER_UTIL_H__ #define TOOLS_JSON_SCHEMA_COMPILER_UTIL_H__ -#pragma once #include <string> #include <vector> |