Put common constants in atom_constants

This commit is contained in:
Cheng Zhao 2015-12-01 16:21:15 +08:00
parent a2f1390b0d
commit 0f17a0163d
8 changed files with 35 additions and 9 deletions

View file

@ -5,8 +5,6 @@
#ifndef ATOM_BROWSER_NET_JS_ASKER_H_
#define ATOM_BROWSER_NET_JS_ASKER_H_
#include <string>
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
@ -19,7 +17,6 @@
#include "v8/include/v8.h"
namespace atom {
extern const std::string kCorsHeader;
using JavaScriptHandler =
base::Callback<void(const net::URLRequest*, v8::Local<v8::Value>)>;