Fix more code styles.

This commit is contained in:
Haojian Wu 2015-06-20 10:41:40 +08:00
parent c164da5a38
commit bafbee805c
5 changed files with 39 additions and 37 deletions

View file

@ -9,7 +9,7 @@
#include "native_mate/wrappable.h"
namespace content {
class WebContents;
class BrowserContext;
}
namespace atom {
@ -19,10 +19,10 @@ namespace api {
class Session: public mate::Wrappable {
public:
static mate::Handle<Session> Create(v8::Isolate* isolate,
content::WebContents* web_contents);
content::BrowserContext* browser_context);
protected:
explicit Session(content::WebContents* web_contents);
explicit Session(content::BrowserContext* browser_context);
~Session();
// mate::Wrappable implementations:
@ -35,7 +35,7 @@ class Session: public mate::Wrappable {
v8::Global<v8::Value> cookies_;
// The webContents which owns the Sesssion.
content::WebContents* web_contents_;
content::BrowserContext* browser_context_;
DISALLOW_COPY_AND_ASSIGN(Session);
};