Fix code styling problems

This commit is contained in:
Cheng Zhao 2016-05-05 12:26:23 +09:00
parent 3f2a25d07c
commit 7268f434b2
9 changed files with 51 additions and 36 deletions

View file

@ -8,6 +8,8 @@
#include <string>
#include <map>
#include "build/build_config.h"
namespace atom {
class LoginHandler;
@ -46,10 +48,13 @@ class BrowserObserver {
// The browser requests HTTP login.
virtual void OnLogin(LoginHandler* login_handler) {}
#if defined(OS_MACOSX)
// The browser wants to resume a user activity via handoff. (OS X only)
virtual void OnContinueUserActivity(bool* prevent_default,
const std::string& type,
const std::map<std::string, std::string>& user_info) {}
virtual void OnContinueUserActivity(
bool* prevent_default,
const std::string& type,
const std::map<std::string, std::string>& user_info) {}
#endif
protected:
virtual ~BrowserObserver() {}