Make sure the code compiles also with clang.
password_manager_client_efl.cc:23:1: error: cannot define or redeclare
'kLocatorKey' here because namespace 'password_manager' does not enclose
namespace 'WebContentsUserData<password_manager::PasswordManagerClientEfl>
Reviewed by: Kamil Klimek, Piotr Tworek, arno renevier
Change-Id: Ie4bf056185c45bd8ff1a1ccce96cc5f43e9bc5f5
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
#include "components/password_manager/core/browser/password_manager_metrics_util.h"
#include "content/public/browser/web_contents.h"
-namespace password_manager {
DEFINE_WEB_CONTENTS_USER_DATA_KEY(PasswordManagerClientEfl);
+namespace password_manager {
+
PasswordManagerClientEfl::PasswordManagerClientEfl(content::WebContents* web_contents)
: web_contents_(web_contents)
, driver_(web_contents, this)