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

Unified Diff: chrome/browser/password_manager/native_backend_kwallet_x.h

Issue 9447084: Refactor Pickle Read methods to use higher performance PickleIterator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile (racing with incoming CLs) Created 8 years, 9 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
Index: chrome/browser/password_manager/native_backend_kwallet_x.h
diff --git a/chrome/browser/password_manager/native_backend_kwallet_x.h b/chrome/browser/password_manager/native_backend_kwallet_x.h
index 23d259b331f2ccbbea6b911fde393649ca63c405..6774a8e764e6fe3fb0e03aec79ed692068b020db 100644
--- a/chrome/browser/password_manager/native_backend_kwallet_x.h
+++ b/chrome/browser/password_manager/native_backend_kwallet_x.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -15,6 +15,7 @@
#include "chrome/browser/profiles/profile.h"
class Pickle;
+class PickleIterator;
class PrefService;
namespace webkit {
@@ -129,7 +130,7 @@ class NativeBackendKWallet : public PasswordStoreX::NativeBackend {
// Convenience function to read a GURL from a Pickle. Assumes the URL has
// been written as a std::string. Returns true on success.
- static bool ReadGURL(const Pickle& pickle, void** iter, GURL* url);
+ static bool ReadGURL(const Pickle& pickle, PickleIterator* iter, GURL* url);
// In case the fields in the pickle ever change, version them so we can try to
// read old pickles. (Note: do not eat old pickles past the expiration date.)
« no previous file with comments | « chrome/browser/importer/profile_import_process_messages.h ('k') | chrome/browser/password_manager/native_backend_kwallet_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698