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

Side by Side Diff: chrome/browser/password_manager/native_backend_kwallet_x.cc

Issue 469993006: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/password_manager/native_backend_kwallet_x.h" 5 #include "chrome/browser/password_manager/native_backend_kwallet_x.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/pickle.h" 11 #include "base/pickle.h"
12 #include "base/stl_util.h" 12 #include "base/stl_util.h"
13 #include "base/strings/stringprintf.h" 13 #include "base/strings/stringprintf.h"
14 #include "base/synchronization/waitable_event.h" 14 #include "base/synchronization/waitable_event.h"
15 #include "base/threading/thread_restrictions.h" 15 #include "base/threading/thread_restrictions.h"
16 #include "chrome/grit/chromium_strings.h"
16 #include "components/autofill/core/common/password_form.h" 17 #include "components/autofill/core/common/password_form.h"
17 #include "content/public/browser/browser_thread.h" 18 #include "content/public/browser/browser_thread.h"
18 #include "dbus/bus.h" 19 #include "dbus/bus.h"
19 #include "dbus/message.h" 20 #include "dbus/message.h"
20 #include "dbus/object_path.h" 21 #include "dbus/object_path.h"
21 #include "dbus/object_proxy.h" 22 #include "dbus/object_proxy.h"
22 #include "grit/chromium_strings.h"
23 #include "ui/base/l10n/l10n_util.h" 23 #include "ui/base/l10n/l10n_util.h"
24 24
25 using autofill::PasswordForm; 25 using autofill::PasswordForm;
26 using content::BrowserThread; 26 using content::BrowserThread;
27 27
28 namespace { 28 namespace {
29 29
30 // We could localize this string, but then changing your locale would cause 30 // We could localize this string, but then changing your locale would cause
31 // you to lose access to all your stored passwords. Maybe best not to do that. 31 // you to lose access to all your stored passwords. Maybe best not to do that.
32 // Name of the folder to store passwords in. 32 // Name of the folder to store passwords in.
(...skipping 905 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 } 938 }
939 939
940 return handle; 940 return handle;
941 } 941 }
942 942
943 std::string NativeBackendKWallet::GetProfileSpecificFolderName() const { 943 std::string NativeBackendKWallet::GetProfileSpecificFolderName() const {
944 // Originally, the folder name was always just "Chrome Form Data". 944 // Originally, the folder name was always just "Chrome Form Data".
945 // Now we use it to distinguish passwords for different profiles. 945 // Now we use it to distinguish passwords for different profiles.
946 return base::StringPrintf("%s (%d)", kKWalletFolder, profile_id_); 946 return base::StringPrintf("%s (%d)", kKWalletFolder, profile_id_);
947 } 947 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698