💄 for cpplint.
This commit is contained in:
parent
0f6ece2d27
commit
0d8c4dde97
5 changed files with 8 additions and 10 deletions
|
@ -6,10 +6,8 @@
|
||||||
#define ATOM_APP_ATOM_LIBRARY_MAIN_
|
#define ATOM_APP_ATOM_LIBRARY_MAIN_
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
__attribute__((visibility("default")))
|
__attribute__((visibility("default")))
|
||||||
int AtomMain(int argc, const char* argv[]);
|
int AtomMain(int argc, const char* argv[]);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // ATOM_APP_ATOM_LIBRARY_MAIN_
|
#endif // ATOM_APP_ATOM_LIBRARY_MAIN_
|
||||||
|
|
|
@ -29,10 +29,9 @@ namespace atom {
|
||||||
#define NODE_EXT_LIST_ITEM NODE_EXT_STRING
|
#define NODE_EXT_LIST_ITEM NODE_EXT_STRING
|
||||||
#define NODE_EXT_LIST_END NULL};
|
#define NODE_EXT_LIST_END NULL};
|
||||||
|
|
||||||
#include "browser/api/atom_extensions.h"
|
#include "browser/api/atom_extensions.h" // NOLINT
|
||||||
|
|
||||||
node::node_module_struct* get_builtin_module(const char *name)
|
node::node_module_struct* get_builtin_module(const char *name) {
|
||||||
{
|
|
||||||
char buf[128];
|
char buf[128];
|
||||||
node::node_module_struct *cur = NULL;
|
node::node_module_struct *cur = NULL;
|
||||||
snprintf(buf, sizeof(buf), "atom_%s", name);
|
snprintf(buf, sizeof(buf), "atom_%s", name);
|
||||||
|
|
|
@ -32,9 +32,10 @@ class NodeBindings {
|
||||||
|
|
||||||
bool is_browser_;
|
bool is_browser_;
|
||||||
|
|
||||||
|
private:
|
||||||
DISALLOW_COPY_AND_ASSIGN(NodeBindings);
|
DISALLOW_COPY_AND_ASSIGN(NodeBindings);
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace at
|
} // namespace atom
|
||||||
|
|
||||||
#endif // RAVE_COMMON_NODE_BINDINGS_
|
#endif // RAVE_COMMON_NODE_BINDINGS_
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
#include "node_bindings_mac.h"
|
#include "common/node_bindings_mac.h"
|
||||||
|
|
||||||
#include "base/message_loop.h"
|
#include "base/message_loop.h"
|
||||||
#include "content/public/browser/browser_thread.h"
|
#include "content/public/browser/browser_thread.h"
|
||||||
|
|
Loading…
Reference in a new issue