summaryrefslogtreecommitdiffstats
path: root/extensions/common
diff options
context:
space:
mode:
authorhaibane84@gmail.com <haibane84@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-16 07:13:13 +0000
committerhaibane84@gmail.com <haibane84@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-16 07:13:13 +0000
commitb1248eb73c20ca69fc8e9e88667b416989e413f7 (patch)
treee14013cbb75498208ee956846d729e5378299e4c /extensions/common
parentf5ac0d7595d7fdcdac2592d8b91c80a21b4bbf6e (diff)
downloadchromium_src-b1248eb73c20ca69fc8e9e88667b416989e413f7.zip
chromium_src-b1248eb73c20ca69fc8e9e88667b416989e413f7.tar.gz
chromium_src-b1248eb73c20ca69fc8e9e88667b416989e413f7.tar.bz2
Clean-up coding style
BUG= Review URL: https://codereview.chromium.org/238383004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264144 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common')
-rw-r--r--extensions/common/csp_validator.cc2
-rw-r--r--extensions/common/event_filter.cc2
-rw-r--r--extensions/common/event_filter_unittest.cc2
-rw-r--r--extensions/common/extension_builder.h4
-rw-r--r--extensions/common/message_bundle.h2
5 files changed, 10 insertions, 2 deletions
diff --git a/extensions/common/csp_validator.cc b/extensions/common/csp_validator.cc
index c56556f..0ee0116 100644
--- a/extensions/common/csp_validator.cc
+++ b/extensions/common/csp_validator.cc
@@ -4,6 +4,8 @@
#include "extensions/common/csp_validator.h"
+#include <vector>
+
#include "base/strings/string_split.h"
#include "base/strings/string_tokenizer.h"
#include "base/strings/string_util.h"
diff --git a/extensions/common/event_filter.cc b/extensions/common/event_filter.cc
index ad954c9..ff2d1f6 100644
--- a/extensions/common/event_filter.cc
+++ b/extensions/common/event_filter.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <string>
+
#include "extensions/common/event_filter.h"
#include "components/url_matcher/url_matcher_factory.h"
diff --git a/extensions/common/event_filter_unittest.cc b/extensions/common/event_filter_unittest.cc
index f95c023..0b1bd7b 100644
--- a/extensions/common/event_filter_unittest.cc
+++ b/extensions/common/event_filter_unittest.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <string>
+
#include "base/memory/scoped_ptr.h"
#include "base/values.h"
#include "extensions/common/event_filter.h"
diff --git a/extensions/common/extension_builder.h b/extensions/common/extension_builder.h
index afb7f88..4b40178 100644
--- a/extensions/common/extension_builder.h
+++ b/extensions/common/extension_builder.h
@@ -5,6 +5,8 @@
#ifndef EXTENSIONS_COMMON_EXTENSION_BUILDER_H_
#define EXTENSIONS_COMMON_EXTENSION_BUILDER_H_
+#include <string>
+
#include "base/files/file_path.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
@@ -58,6 +60,6 @@ class ExtensionBuilder {
std::string id_;
};
-} // namespace extensions
+} // namespace extensions
#endif // EXTENSIONS_COMMON_EXTENSION_BUILDER_H_
diff --git a/extensions/common/message_bundle.h b/extensions/common/message_bundle.h
index e77deb3..42e8625 100644
--- a/extensions/common/message_bundle.h
+++ b/extensions/common/message_bundle.h
@@ -168,6 +168,6 @@ L10nMessagesMap* GetL10nMessagesMap(const std::string& extension_id);
// Erases the L10nMessagesMap for the given |extension_id|.
void EraseL10nMessagesMap(const std::string& extension_id);
-} // namsepace extensions
+} // namespace extensions
#endif // EXTENSIONS_COMMON_MESSAGE_BUNDLE_H_