Fix common/ coding style
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 30 Aug 2013 20:36:54 +0000 (17:36 -0300)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 30 Aug 2013 21:16:44 +0000 (18:16 -0300)
common/extension_adapter.h
common/utils.h
tools/check-coding-style

index 66030ad..a0c080e 100644 (file)
@@ -2,11 +2,11 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#ifndef EXTENSION_ADAPTER_H_
-#define EXTENSION_ADAPTER_H_
+#ifndef COMMON_EXTENSION_ADAPTER_H_
+#define COMMON_EXTENSION_ADAPTER_H_
 
 #include <cstdlib>
-#include "xwalk_extension_public.h"
+#include "xwalk_extension_public.h" // NOLINT
 
 class ContextAPI {
  public:
@@ -107,4 +107,4 @@ void ExtensionAdapter<T>::ContextDestroy(CXWalkExtensionContext* context) {
     return ExtensionAdapter<NAME>::Initialize();                \
   }
 
-#endif  // EXTENSION_ADAPTER_H_
+#endif  // COMMON_EXTENSION_ADAPTER_H_
index 20e7c8a..ea866c4 100644 (file)
@@ -3,7 +3,7 @@
 // found in the LICENSE file.
 
 #ifndef COMMON_UTILS_H_
-#define COMMON_UTILS_H_ 
+#define COMMON_UTILS_H_
 
 // Put this in the private: declarations for a class to be uncopyable.
 #define DISALLOW_COPY(TypeName) \
index 499f931..a13226a 100755 (executable)
@@ -19,7 +19,6 @@ cpplint.py --filter=$FILTERS $(find \
                                ! -name 'xwalk_extension_public.h' \
                                ! -name 'picojson.*' \
                                ! -path './bluetooth/*' \
-                               ! -path './common/*' \
                                ! -path './download/*' \
                                ! -path './network_bearer_selection/*' \
                                ! -path './notification/*' \