]> khamidou — GitHub mirrors - electron.git/commitdiff
Bring back build/header_guard cpplint.
authorCheng Zhao <zcbenz@gmail.com>
Sun, 16 Mar 2014 00:58:59 +0000 (08:58 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Sun, 16 Mar 2014 00:58:59 +0000 (08:58 +0800)
26 files changed:
atom/app/atom_library_main.h
atom/app/atom_main.h
atom/app/atom_main_delegate.h
atom/browser/api/atom_api_event.h
atom/browser/api/atom_browser_bindings.h
atom/browser/atom_browser_client.h
atom/browser/atom_browser_main_parts.h
atom/browser/atom_javascript_dialog_manager.h
atom/browser/browser_observer.h
atom/browser/net/atom_url_request_job_factory.h
atom/browser/ui/accelerator_util.h
atom/browser/ui/file_dialog.h
atom/browser/ui/message_box.h
atom/browser/ui/win/menu_2.h
atom/browser/ui/win/native_menu_win.h
atom/browser/window_list_observer.h
atom/common/api/atom_bindings.h
atom/common/crash_reporter/win/crash_service.h
atom/common/crash_reporter/win/crash_service_main.h
atom/common/node_bindings_mac.h
atom/common/node_bindings_win.h
atom/common/options_switches.h
atom/common/v8/scoped_persistent.h
atom/renderer/api/atom_renderer_bindings.h
atom/renderer/atom_render_view_observer.h
script/cpplint.py

index d5d7dd9f443c187eeb150a3686ecc361d91f5c89..738de5ef09e4676e0986f86fcc3632a17098acf5 100644 (file)
@@ -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 ATOM_APP_ATOM_LIBRARY_MAIN_
-#define ATOM_APP_ATOM_LIBRARY_MAIN_
+#ifndef ATOM_APP_ATOM_LIBRARY_MAIN_H_
+#define ATOM_APP_ATOM_LIBRARY_MAIN_H_
 
 #include "base/basictypes.h"
 
@@ -14,4 +14,4 @@ int AtomMain(int argc, const char* argv[]);
 }
 #endif  // OS_MACOSX
 
-#endif  // ATOM_APP_ATOM_LIBRARY_MAIN_
+#endif  // ATOM_APP_ATOM_LIBRARY_MAIN_H_
index bd4c268cd5db883b845d4f4612a38e9160bc398f..f8437d7ba1383f5762dd4eb7e80f4460a79daf2d 100644 (file)
@@ -2,4 +2,9 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
+#ifndef ATOM_APP_ATOM_MAIN_H_
+#define ATOM_APP_ATOM_MAIN_H_
+
 #include "content/public/app/content_main.h"
+
+#endif  // ATOM_APP_ATOM_MAIN_H_
index 8a11c086cd9fb7290d8b2c5e3871c2a69c441014..531836ea28b790cc31b2d2475510ef81137bbd58 100644 (file)
@@ -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 ATOM_APP_ATOM_MAIN_DELEGATE_
-#define ATOM_APP_ATOM_MAIN_DELEGATE_
+#ifndef ATOM_APP_ATOM_MAIN_DELEGATE_H_
+#define ATOM_APP_ATOM_MAIN_DELEGATE_H_
 
 #include "brightray/common/main_delegate.h"
 
@@ -38,4 +38,4 @@ class AtomMainDelegate : public brightray::MainDelegate {
 
 }  // namespace atom
 
-#endif  // ATOM_APP_ATOM_MAIN_DELEGATE_
+#endif  // ATOM_APP_ATOM_MAIN_DELEGATE_H_
index 298efde22569f6c5cd6bc5964a9282490e1a9c95..315b3953920006b26eb2459e1790022fb91e8df7 100644 (file)
@@ -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 ATOM_BROWSER_ATOM_API_EVENT_H_
-#define ATOM_BROWSER_ATOM_API_EVENT_H_
+#ifndef ATOM_BROWSER_API_ATOM_API_EVENT_H_
+#define ATOM_BROWSER_API_ATOM_API_EVENT_H_
 
 #include "base/basictypes.h"
 #include "base/compiler_specific.h"
@@ -64,4 +64,4 @@ class Event : public node::ObjectWrap,
 
 }  // namespace atom
 
-#endif  // ATOM_BROWSER_ATOM_API_EVENT_H_
+#endif  // ATOM_BROWSER_API_ATOM_API_EVENT_H_
index 4aedcd5a24f4a4ead09c117c1a64cbccea45ba90..026cbaf40f33f76ad4da1e22c1d14c4ec20493be 100644 (file)
@@ -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 ATOM_BROWSER_API_ATOM_BROWSER_BINDINGS_
-#define ATOM_BROWSER_API_ATOM_BROWSER_BINDINGS_
+#ifndef ATOM_BROWSER_API_ATOM_BROWSER_BINDINGS_H_
+#define ATOM_BROWSER_API_ATOM_BROWSER_BINDINGS_H_
 
 #include "base/strings/string16.h"
 #include "atom/common/api/atom_bindings.h"
@@ -46,4 +46,4 @@ class AtomBrowserBindings : public AtomBindings {
 
 }  // namespace atom
 
-#endif  // ATOM_BROWSER_API_ATOM_BINDINGS_
+#endif  // ATOM_BROWSER_API_ATOM_BROWSER_BINDINGS_H_
index 4fe1131dc428ed4c0d50af2b5f14faf51dc8a9e6..744e4a8c9c6ded59ac4a732f8fcd38abe619078f 100644 (file)
@@ -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 ATOM_BROWSER_ATOM_BROWSER_CLIENT_
-#define ATOM_BROWSER_ATOM_BROWSER_CLIENT_
+#ifndef ATOM_BROWSER_ATOM_BROWSER_CLIENT_H_
+#define ATOM_BROWSER_ATOM_BROWSER_CLIENT_H_
 
 #include "brightray/browser/browser_client.h"
 
@@ -40,4 +40,4 @@ class AtomBrowserClient : public brightray::BrowserClient {
 
 }  // namespace atom
 
-#endif  // ATOM_BROWSER_ATOM_BROWSER_CLIENT_
+#endif  // ATOM_BROWSER_ATOM_BROWSER_CLIENT_H_
index a7fd1809328ce954171add384a2e1b2c324dfe8c..896f36e00e0225debb9e82bcadc390f21fb5ad5b 100644 (file)
@@ -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 ATOM_BROWSER_ATOM_BROWSER_MAIN_PARTS_
-#define ATOM_BROWSER_ATOM_BROWSER_MAIN_PARTS_
+#ifndef ATOM_BROWSER_ATOM_BROWSER_MAIN_PARTS_H_
+#define ATOM_BROWSER_ATOM_BROWSER_MAIN_PARTS_H_
 
 #include "brightray/browser/browser_main_parts.h"
 
@@ -48,4 +48,4 @@ class AtomBrowserMainParts : public brightray::BrowserMainParts {
 
 }  // namespace atom
 
-#endif  // ATOM_BROWSER_ATOM_BROWSER_MAIN_PARTS_
+#endif  // ATOM_BROWSER_ATOM_BROWSER_MAIN_PARTS_H_
index 65f4e9f927a92f6833aec91f5c985751f35f4d15..c15f7e99e8a8e4801cb27b3ab6533c44aa975bb3 100644 (file)
@@ -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 ATOM_BROSER_ATOM_JAVASCRIPT_DIALOG_MANAGER_H_
-#define ATOM_BROSER_ATOM_JAVASCRIPT_DIALOG_MANAGER_H_
+#ifndef ATOM_BROWSER_ATOM_JAVASCRIPT_DIALOG_MANAGER_H_
+#define ATOM_BROWSER_ATOM_JAVASCRIPT_DIALOG_MANAGER_H_
 
 #include "content/public/browser/javascript_dialog_manager.h"
 
@@ -34,4 +34,4 @@ class AtomJavaScriptDialogManager : public content::JavaScriptDialogManager {
 
 }  // namespace atom
 
-#endif  // ATOM_BROSER_ATOM_JAVASCRIPT_DIALOG_MANAGER_H_
+#endif  // ATOM_BROWSER_ATOM_JAVASCRIPT_DIALOG_MANAGER_H_
index e7f1cd92216565e6d4c9a3283747077da52912d6..c560c6dd9e34879b5380a6bfba307df0f626bf2d 100644 (file)
@@ -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 ATOM_BROSER_BROWSER_OBSERVER_H_
-#define ATOM_BROSER_BROWSER_OBSERVER_H_
+#ifndef ATOM_BROWSER_BROWSER_OBSERVER_H_
+#define ATOM_BROWSER_BROWSER_OBSERVER_H_
 
 #include <string>
 
@@ -40,4 +40,4 @@ class BrowserObserver {
 
 }  // namespace atom
 
-#endif  // ATOM_BROSER_BROWSER_OBSERVER_H_
+#endif  // ATOM_BROWSER_BROWSER_OBSERVER_H_
index e18883610a47a280a13c47c737584d7b7f97bc1d..4299d2387caa1fd1b8ddb8e6fddd1414cd55b17c 100644 (file)
@@ -3,8 +3,8 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#ifndef ATOM_BROWSER_NET_ATOM_URL_REQUEST_URL_REQUEST_JOB_FACTORY_H_
-#define ATOM_BROWSER_NET_ATOM_URL_REQUEST_URL_REQUEST_JOB_FACTORY_H_
+#ifndef ATOM_BROWSER_NET_ATOM_URL_REQUEST_JOB_FACTORY_H_
+#define ATOM_BROWSER_NET_ATOM_URL_REQUEST_JOB_FACTORY_H_
 
 #include <map>
 #include <vector>
@@ -59,4 +59,4 @@ class AtomURLRequestJobFactory : public net::URLRequestJobFactory {
 
 }  // namespace atom
 
-#endif  // ATOM_BROWSER_NET_ATOM_URL_REQUEST_URL_REQUEST_JOB_FACTORY_H_
+#endif  // ATOM_BROWSER_NET_ATOM_URL_REQUEST_JOB_FACTORY_H_
index fc9b792b2f921f1c98ae4d15a5c9134335e836e5..1db760a575acc1fe9027848fb4a7fc4289c46371 100644 (file)
@@ -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 BROWSER_UI_ACCELERATOR_UTIL_H_
-#define BROWSER_UI_ACCELERATOR_UTIL_H_
+#ifndef ATOM_BROWSER_UI_ACCELERATOR_UTIL_H_
+#define ATOM_BROWSER_UI_ACCELERATOR_UTIL_H_
 
 #include <map>
 #include <string>
@@ -35,4 +35,4 @@ bool TriggerAcceleratorTableCommand(AcceleratorTable* table,
 
 }  // namespace accelerator_util
 
-#endif  // BROWSER_UI_ACCELERATOR_UTIL_H_
+#endif  // ATOM_BROWSER_UI_ACCELERATOR_UTIL_H_
index 96c0061cdb9a9d561c913c98c09d3be24117376a..58399dca91161d914a697702d72a2301a186a6ef 100644 (file)
@@ -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 BROWSER_UI_FILE_DIALOG_H_
-#define BROWSER_UI_FILE_DIALOG_H_
+#ifndef ATOM_BROWSER_UI_FILE_DIALOG_H_
+#define ATOM_BROWSER_UI_FILE_DIALOG_H_
 
 #include <string>
 #include <vector>
@@ -54,4 +54,4 @@ void ShowSaveDialog(atom::NativeWindow* parent_window,
 
 }  // namespace file_dialog
 
-#endif  // BROWSER_UI_FILE_DIALOG_H_
+#endif  // ATOM_BROWSER_UI_FILE_DIALOG_H_
index 529e46595cc7d022e769a3a6ef8940af066ff361..033ee3f36d2ea4f4424b91f64be87fe311abf1e4 100644 (file)
@@ -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 BROWSER_UI_MESSAGE_BOX_H_
-#define BROWSER_UI_MESSAGE_BOX_H_
+#ifndef ATOM_BROWSER_UI_MESSAGE_BOX_H_
+#define ATOM_BROWSER_UI_MESSAGE_BOX_H_
 
 #include <string>
 #include <vector>
@@ -39,4 +39,4 @@ void ShowMessageBox(NativeWindow* parent_window,
 
 }  // namespace atom
 
-#endif  // BROWSER_UI_MESSAGE_BOX_H_
+#endif  // ATOM_BROWSER_UI_MESSAGE_BOX_H_
index 396d3302272ad95fb8c2df0e7c2b23b810f89c6a..a6a822aa652bfa48b34ec3fac306f756a3109c9b 100644 (file)
@@ -3,8 +3,8 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#ifndef BROWSER_UI_WIN_MENU_2_H_
-#define BROWSER_UI_WIN_MENU_2_H_
+#ifndef ATOM_BROWSER_UI_WIN_MENU_2_H_
+#define ATOM_BROWSER_UI_WIN_MENU_2_H_
 
 #include "base/basictypes.h"
 #include "base/memory/scoped_ptr.h"
@@ -93,4 +93,4 @@ class Menu2 {
 
 }  // namespace atom
 
-#endif  // BROWSER_UI_WIN_MENU_2_H_
+#endif  // ATOM_BROWSER_UI_WIN_MENU_2_H_
index 4b6a674230316f4f897dbbe7021b609f2ca61deb..83ce2a063610b5b0943761580ac34c7d725bba6f 100644 (file)
@@ -3,8 +3,8 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#ifndef BROWSER_UI_WIN_NATIVE_MENU_WIN_H_
-#define BROWSER_UI_WIN_NATIVE_MENU_WIN_H_
+#ifndef ATOM_BROWSER_UI_WIN_NATIVE_MENU_WIN_H_
+#define ATOM_BROWSER_UI_WIN_NATIVE_MENU_WIN_H_
 
 #include <vector>
 
@@ -189,4 +189,4 @@ class NativeMenuWin {
 
 }  // namespace atom
 
-#endif  // BROWSER_UI_WIN_NATIVE_MENU_WIN_H_
+#endif  // ATOM_BROWSER_UI_WIN_NATIVE_MENU_WIN_H_
index e68e4925f86d32a658f83dd47c4179bd18fba155..9b5b00a2719972fa693e8c4633b4537c42175c44 100644 (file)
@@ -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 ATOM_BROSER_WINDOW_LIST_OBSERVER_H_
-#define ATOM_BROSER_WINDOW_LIST_OBSERVER_H_
+#ifndef ATOM_BROWSER_WINDOW_LIST_OBSERVER_H_
+#define ATOM_BROWSER_WINDOW_LIST_OBSERVER_H_
 
 namespace atom {
 
@@ -27,7 +27,6 @@ class WindowListObserver {
   virtual ~WindowListObserver() {}
 };
 
-
 }  // namespace atom
 
-#endif  // ATOM_BROSER_WINDOW_LIST_OBSERVER_H_
+#endif  // ATOM_BROWSER_WINDOW_LIST_OBSERVER_H_
index 27b2cee908c0619187d9fd20c1ef32cdb34df8c3..ef4867003f8ec71673cc5befe338dc2933aae0b7 100644 (file)
@@ -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 ATOM_COMMON_API_ATOM_BINDINGS_
-#define ATOM_COMMON_API_ATOM_BINDINGS_
+#ifndef ATOM_COMMON_API_ATOM_BINDINGS_H_
+#define ATOM_COMMON_API_ATOM_BINDINGS_H_
 
 #include "base/basictypes.h"
 #include "v8/include/v8.h"
@@ -33,4 +33,4 @@ class AtomBindings {
 
 }  // namespace atom
 
-#endif  // ATOM_COMMON_API_ATOM_BINDINGS_
+#endif  // ATOM_COMMON_API_ATOM_BINDINGS_H_
index 195857155665bac9534c034e8fb74240225f6e49..6b945c6b77c83f06f033b01da7168dc43c34736a 100644 (file)
@@ -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 COMMON_CRASH_REPORTER_WIN_CRASH_SERVICE_H_
-#define COMMON_CRASH_REPORTER_WIN_CRASH_SERVICE_H_
+#ifndef ATOM_COMMON_CRASH_REPORTER_WIN_CRASH_SERVICE_H_
+#define ATOM_COMMON_CRASH_REPORTER_WIN_CRASH_SERVICE_H_
 
 #include <string>
 
@@ -128,4 +128,4 @@ class CrashService {
 
 }  // namespace breakpad
 
-#endif  // COMMON_CRASH_REPORTER_WIN_CRASH_SERVICE_H_
+#endif  // ATOM_COMMON_CRASH_REPORTER_WIN_CRASH_SERVICE_H_
index 3dd06f207f23446a99ea4a492be1d3a64861e4b7..0e553c00c43799e948cc82efd50643095323ccb3 100644 (file)
@@ -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 COMMON_CRASH_REPORTER_WIN_CRASH_SERVICE_MAIN_H_
-#define COMMON_CRASH_REPORTER_WIN_CRASH_SERVICE_MAIN_H_
+#ifndef ATOM_COMMON_CRASH_REPORTER_WIN_CRASH_SERVICE_MAIN_H_
+#define ATOM_COMMON_CRASH_REPORTER_WIN_CRASH_SERVICE_MAIN_H_
 
 namespace crash_service {
 
@@ -12,4 +12,4 @@ int Main(const wchar_t* cmd_line);
 
 }  // namespace crash_service
 
-#endif  // COMMON_CRASH_REPORTER_WIN_CRASH_SERVICE_MAIN_H_
+#endif  // ATOM_COMMON_CRASH_REPORTER_WIN_CRASH_SERVICE_MAIN_H_
index 1c1d5b57f4a543d1cec78c16e8eaa3c129dc1bc6..b49a4ece50015772680747436aa910b278e8ca3c 100644 (file)
@@ -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 ATOM_COMMON_NODE_BINDINGS_MAC_
-#define ATOM_COMMON_NODE_BINDINGS_MAC_
+#ifndef ATOM_COMMON_NODE_BINDINGS_MAC_H_
+#define ATOM_COMMON_NODE_BINDINGS_MAC_H_
 
 #include "base/compiler_specific.h"
 #include "atom/common/node_bindings.h"
@@ -31,4 +31,4 @@ class NodeBindingsMac : public NodeBindings {
 
 }  // namespace atom
 
-#endif  // ATOM_COMMON_NODE_BINDINGS_MAC_
+#endif  // ATOM_COMMON_NODE_BINDINGS_MAC_H_
index a8cdef880028ae548cb94556a6927481a25abc57..2bec6bdab975ebb3de250f9aa7a8ac0a6c8ea521 100644 (file)
@@ -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 ATOM_COMMON_NODE_BINDINGS_WIN_
-#define ATOM_COMMON_NODE_BINDINGS_WIN_
+#ifndef ATOM_COMMON_NODE_BINDINGS_WIN_H_
+#define ATOM_COMMON_NODE_BINDINGS_WIN_H_
 
 #include "base/compiler_specific.h"
 #include "atom/common/node_bindings.h"
@@ -23,4 +23,4 @@ class NodeBindingsWin : public NodeBindings {
 
 }  // namespace atom
 
-#endif  // ATOM_COMMON_NODE_BINDINGS_WIN_
+#endif  // ATOM_COMMON_NODE_BINDINGS_WIN_H_
index b46f46821323252882f273830eae1fe56ee82c2e..af8a8b55884d82a659e724a973c55008cda408bb 100644 (file)
@@ -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 ATOM_COMMON_OPTIONS_SWITCHES_
-#define ATOM_COMMON_OPTIONS_SWITCHES_
+#ifndef ATOM_COMMON_OPTIONS_SWITCHES_H_
+#define ATOM_COMMON_OPTIONS_SWITCHES_H_
 
 namespace atom {
 
@@ -33,4 +33,4 @@ extern const char kAcceptFirstMouse[];
 
 }  // namespace atom
 
-#endif  // ATOM_COMMON_OPTIONS_SWITCHES_
+#endif  // ATOM_COMMON_OPTIONS_SWITCHES_H_
index ac0abacd13d495f027a750e0e097ac8dcd40fe53..7d2fe47ac1628844d7d453b1758a7613746a6d10 100644 (file)
@@ -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 ATOM_COMMON_SCOPED_PERSISTENT_H_
-#define ATOM_COMMON_SCOPED_PERSISTENT_H_
+#ifndef ATOM_COMMON_V8_SCOPED_PERSISTENT_H_
+#define ATOM_COMMON_V8_SCOPED_PERSISTENT_H_
 
 #include "base/logging.h"
 #include "base/memory/ref_counted.h"
@@ -112,4 +112,4 @@ typedef scoped_refptr<RefCountedPersistent<v8::Object>> RefCountedV8Object;
 
 }  // namespace atom
 
-#endif  // ATOM_COMMON_SCOPED_PERSISTENT_H_
+#endif  // ATOM_COMMON_V8_SCOPED_PERSISTENT_H_
index fd63c0ec026b37a8d3dff83bf7122e5e38952721..ffa3b4d4fd1ea7afcece01381df34fac953e85f3 100644 (file)
@@ -42,4 +42,4 @@ class AtomRendererBindings : public AtomBindings {
 
 }  // namespace atom
 
-#endif  // ATOM_RENDERER_API_ATOM_BINDINGS_H_
+#endif  // ATOM_RENDERER_API_ATOM_RENDERER_BINDINGS_H_
index 213bd384cd57118c2f6aa5cf08e4095e2d874028..252c6e197c3f132379b667dd170f6243591dcbd9 100644 (file)
@@ -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 ATOM_RENDERER_ATOM_RENDER_VIEW_OBSERVER_
-#define ATOM_RENDERER_ATOM_RENDER_VIEW_OBSERVER_
+#ifndef ATOM_RENDERER_ATOM_RENDER_VIEW_OBSERVER_H_
+#define ATOM_RENDERER_ATOM_RENDER_VIEW_OBSERVER_H_
 
 #include "content/public/renderer/render_view_observer.h"
 
@@ -39,4 +39,4 @@ class AtomRenderViewObserver : public content::RenderViewObserver {
 
 }  // namespace atom
 
-#endif  // ATOM_RENDERER_ATOM_RENDER_VIEW_OBSERVER_
+#endif  // ATOM_RENDERER_ATOM_RENDER_VIEW_OBSERVER_H_
index 5acc1bb81ea60b77cc7689f9723095e37f73f22a..0bf8025c2a5f506e3005eac2ed286b76499d018b 100755 (executable)
@@ -7,19 +7,19 @@ import sys
 from lib.util import execute
 
 IGNORE_FILES = [
-  os.path.join('browser', 'atom_application_mac.h'),
-  os.path.join('browser', 'atom_application_delegate_mac.h'),
-  os.path.join('browser', 'native_window_mac.h'),
-  os.path.join('browser', 'resources', 'win', 'resource.h'),
-  os.path.join('browser', 'ui', 'cocoa', 'event_processing_window.h'),
-  os.path.join('browser', 'ui', 'cocoa', 'atom_menu_controller.h'),
-  os.path.join('browser', 'ui', 'cocoa', 'nsalert_synchronous_sheet.h'),
-  os.path.join('browser', 'ui', 'gtk', 'gtk_custom_menu.cc'),
-  os.path.join('browser', 'ui', 'gtk', 'gtk_custom_menu_item.cc'),
-  os.path.join('common', 'api', 'api_messages.cc'),
-  os.path.join('common', 'api', 'api_messages.h'),
-  os.path.join('common', 'atom_version.h'),
-  os.path.join('common', 'swap_or_assign.h'),
+  os.path.join('atom', 'browser', 'atom_application_mac.h'),
+  os.path.join('atom', 'browser', 'atom_application_delegate_mac.h'),
+  os.path.join('atom', 'browser', 'native_window_mac.h'),
+  os.path.join('atom', 'browser', 'resources', 'win', 'resource.h'),
+  os.path.join('atom', 'browser', 'ui', 'cocoa', 'event_processing_window.h'),
+  os.path.join('atom', 'browser', 'ui', 'cocoa', 'atom_menu_controller.h'),
+  os.path.join('atom', 'browser', 'ui', 'gtk', 'gtk_custom_menu.cc'),
+  os.path.join('atom', 'browser', 'ui', 'gtk', 'gtk_custom_menu_item.cc'),
+  os.path.join('atom', 'common', 'api', 'api_messages.cc'),
+  os.path.join('atom', 'common', 'api', 'api_messages.h'),
+  os.path.join('atom', 'common', 'api', 'atom_extensions.h'),
+  os.path.join('atom', 'common', 'atom_version.h'),
+  os.path.join('atom', 'common', 'swap_or_assign.h'),
 ]
 
 SOURCE_ROOT = os.path.dirname(os.path.dirname(__file__))
@@ -35,7 +35,7 @@ def main():
 def list_files(directories, filters):
   matches = []
   for directory in directories:
-    for root, _, filenames, in os.walk(directory):
+    for root, _, filenames, in os.walk(os.path.join('atom', directory)):
       for f in filters:
         for filename in fnmatch.filter(filenames, f):
           matches.append(os.path.join(root, filename))
@@ -44,7 +44,7 @@ def list_files(directories, filters):
 
 def call_cpplint(files):
   cpplint = os.path.join(SOURCE_ROOT, 'vendor', 'depot_tools', 'cpplint.py')
-  rules = '--filter=-build/header_guard,-build/include_what_you_use'
+  rules = '--filter=-build/include_what_you_use'
   execute([sys.executable, cpplint, rules] + files)