fixup! WCS Feature: Autofill and Password Manager changes
authorPiotr Tworek <p.tworek@samsung.com>
Fri, 13 Feb 2015 17:21:40 +0000 (18:21 +0100)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
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>
tizen_src/impl/browser/password_manager/password_manager_client_efl.cc

index 41b5365a737e96ed53d6b849adcae8bcd1560999..6dfdea29a6b7c17495f9828e69a3ac0a8d6b2ef9 100644 (file)
 #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)