Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(477)

Unified Diff: chrome/browser/password_manager/password_store_factory.cc

Issue 1371593002: Move password manager file names into components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed copyrights Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/common/chrome_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/password_store_factory.cc
diff --git a/chrome/browser/password_manager/password_store_factory.cc b/chrome/browser/password_manager/password_store_factory.cc
index 1879e4175828803d974ecfd49b04d6043a770cef..bcd664cb0594f40e6f0eec8fb3e197c1df0f4abb 100644
--- a/chrome/browser/password_manager/password_store_factory.cc
+++ b/chrome/browser/password_manager/password_store_factory.cc
@@ -16,7 +16,6 @@
#include "chrome/browser/sync/profile_sync_service.h"
#include "chrome/browser/sync/profile_sync_service_factory.h"
#include "chrome/browser/web_data_service_factory.h"
-#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_switches.h"
#include "components/keyed_service/content/browser_context_dependency_manager.h"
#include "components/os_crypt/os_crypt_switches.h"
@@ -24,6 +23,7 @@
#include "components/password_manager/core/browser/affiliation_service.h"
#include "components/password_manager/core/browser/affiliation_utils.h"
#include "components/password_manager/core/browser/login_database.h"
+#include "components/password_manager/core/browser/password_manager_constants.h"
#include "components/password_manager/core/browser/password_store.h"
#include "components/password_manager/core/browser/password_store_default.h"
#include "components/password_manager/core/common/password_manager_pref_names.h"
@@ -69,7 +69,8 @@ const char kLibsecretFieldTrialDisabledGroupName[] = "Disabled";
base::FilePath GetAffiliationDatabasePath(Profile* profile) {
DCHECK(profile);
- return profile->GetPath().Append(chrome::kAffiliationDatabaseFileName);
+ return profile->GetPath().Append(
+ password_manager::kAffiliationDatabaseFileName);
}
bool ShouldAffiliationBasedMatchingBeActive(Profile* profile) {
@@ -233,7 +234,8 @@ KeyedService* PasswordStoreFactory::BuildServiceInstanceFor(
// Given that LoginDatabase::Init() takes ~100ms on average; it will be called
// by PasswordStore::Init() on the background thread to avoid UI jank.
base::FilePath login_db_file_path = profile->GetPath();
- login_db_file_path = login_db_file_path.Append(chrome::kLoginDataFileName);
+ login_db_file_path =
+ login_db_file_path.Append(password_manager::kLoginDataFileName);
scoped_ptr<password_manager::LoginDatabase> login_db(
new password_manager::LoginDatabase(login_db_file_path));
« no previous file with comments | « no previous file | chrome/common/chrome_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698