Fully support converting NSDictionary to JS userInfo object

This commit is contained in:
Cheng Zhao 2016-05-05 16:26:44 +09:00
parent 8e1d2479ac
commit 60bd60e1ed
10 changed files with 105 additions and 51 deletions

View file

@ -6,10 +6,13 @@
#define ATOM_BROWSER_BROWSER_OBSERVER_H_
#include <string>
#include <map>
#include "build/build_config.h"
namespace base {
class DictionaryValue;
}
namespace atom {
class LoginHandler;
@ -53,7 +56,7 @@ class BrowserObserver {
virtual void OnContinueUserActivity(
bool* prevent_default,
const std::string& type,
const std::map<std::string, std::string>& user_info) {}
const base::DictionaryValue& user_info) {}
#endif
protected: