Fix CORS header code to be cleaner

This commit is contained in:
Paul Betts 2015-11-25 15:00:34 -08:00
parent 7622bb40a9
commit 65cb1488b0
4 changed files with 5 additions and 4 deletions

View file

@ -17,6 +17,7 @@
#include "v8/include/v8.h"
namespace atom {
extern const std::string kCorsHeader;
using JavaScriptHandler =
base::Callback<void(const net::URLRequest*, v8::Local<v8::Value>)>;