Order header files.

This commit is contained in:
Cheng Zhao 2014-03-16 09:37:04 +08:00
parent 375228f266
commit b6ac06c022
29 changed files with 37 additions and 34 deletions

View file

@ -4,9 +4,9 @@
// Multiply-included file, no traditional include guard.
#include "atom/common/draggable_region.h"
#include "base/strings/string16.h"
#include "base/values.h"
#include "atom/common/draggable_region.h"
#include "content/public/common/common_param_traits.h"
#include "ipc/ipc_message_macros.h"

View file

@ -6,9 +6,9 @@
#include <vector>
#include "base/logging.h"
#include "atom/browser/api/atom_api_event.h"
#include "atom/common/v8/native_type_conversions.h"
#include "base/logging.h"
#include "atom/common/v8/node_common.h"

View file

@ -7,9 +7,9 @@
#include <algorithm>
#include "base/logging.h"
#include "atom/common/v8/native_type_conversions.h"
#include "atom/common/v8/node_common.h"
#include "base/logging.h"
namespace atom {

View file

@ -8,14 +8,15 @@
#include <map>
#include "base/basictypes.h"
#include "atom/common/v8/scoped_persistent.h"
#include "base/basictypes.h"
#include "vendor/node/src/node_object_wrap.h"
namespace atom {
namespace api {
// Like ES6's WeakMap, but the key is Integer and the value is Weak Pointer.
class IDWeakMap : public node::ObjectWrap {
public:
static void Initialize(v8::Handle<v8::Object> target);

View file

@ -6,9 +6,9 @@
#include <string>
#include "base/files/file_path.h"
#include "atom/common/platform_util.h"
#include "atom/common/v8/native_type_conversions.h"
#include "base/files/file_path.h"
#include "url/gurl.h"
#include "atom/common/v8/node_common.h"

View file

@ -6,9 +6,9 @@
#include <string>
#include "base/logging.h"
#include "atom/common/atom_version.h"
#include "atom/common/v8/native_type_conversions.h"
#include "base/logging.h"
#include "atom/common/v8/node_common.h"

View file

@ -6,8 +6,8 @@
#ifndef ATOM_COMMON_API_OBJECT_LIFE_MONITOR_H_
#define ATOM_COMMON_API_OBJECT_LIFE_MONITOR_H_
#include "base/basictypes.h"
#include "atom/common/v8/scoped_persistent.h"
#include "base/basictypes.h"
namespace atom {

View file

@ -4,9 +4,9 @@
#include "atom/common/crash_reporter/crash_reporter.h"
#include "base/command_line.h"
#include "atom/browser/browser.h"
#include "atom/common/atom_version.h"
#include "base/command_line.h"
#include "content/public/common/content_switches.h"
namespace crash_reporter {

View file

@ -7,10 +7,10 @@
#include <string>
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "atom/common/crash_reporter/crash_reporter.h"
#include "atom/common/crash_reporter/linux/crash_dump_handler.h"
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
template <typename T> struct DefaultSingletonTraits;

View file

@ -7,8 +7,8 @@
#include <string>
#include "base/compiler_specific.h"
#include "atom/common/crash_reporter/crash_reporter.h"
#include "base/compiler_specific.h"
#import "vendor/breakpad/src/client/mac/Framework/Breakpad.h"
template <typename T> struct DefaultSingletonTraits;

View file

@ -8,9 +8,9 @@
#include <string>
#include <vector>
#include "atom/common/crash_reporter/crash_reporter.h"
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "atom/common/crash_reporter/crash_reporter.h"
#include "vendor/breakpad/src/client/windows/handler/exception_handler.h"
template <typename T> struct DefaultSingletonTraits;

View file

@ -4,12 +4,12 @@
#include "atom/common/crash_reporter/win/crash_service_main.h"
#include "atom/common/crash_reporter/win/crash_service.h"
#include "base/at_exit.h"
#include "base/command_line.h"
#include "base/file_util.h"
#include "base/logging.h"
#include "base/strings/string_util.h"
#include "atom/common/crash_reporter/win/crash_service.h"
namespace crash_service {

View file

@ -7,11 +7,11 @@
#include <string>
#include <vector>
#include "atom/common/v8/native_type_conversions.h"
#include "base/command_line.h"
#include "base/message_loop/message_loop.h"
#include "base/base_paths.h"
#include "base/path_service.h"
#include "atom/common/v8/native_type_conversions.h"
#include "content/public/browser/browser_thread.h"
#if defined(OS_WIN)

View file

@ -5,8 +5,8 @@
#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"
#include "base/compiler_specific.h"
namespace atom {

View file

@ -5,8 +5,8 @@
#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"
#include "base/compiler_specific.h"
namespace atom {

View file

@ -9,14 +9,14 @@
#include <string>
#include <vector>
#include "base/files/file_path.h"
#include "base/strings/string16.h"
#include "base/template_util.h"
#include "base/values.h"
#include "atom/browser/api/atom_api_window.h"
#include "atom/common/swap_or_assign.h"
#include "atom/common/v8/scoped_persistent.h"
#include "atom/common/v8/v8_value_converter.h"
#include "base/files/file_path.h"
#include "base/strings/string16.h"
#include "base/template_util.h"
#include "base/values.h"
#include "ui/gfx/point.h"
#include "ui/gfx/rect.h"
#include "ui/gfx/size.h"