Index: chrome/browser/prefs/pref_member.h |
diff --git a/chrome/browser/prefs/pref_member.h b/chrome/browser/prefs/pref_member.h |
index 977e1f10b17a7fe5974c0b8db5b8176e1acba22b..1884edc120ef3f24f2dbab6475a24273707325a1 100644 |
--- a/chrome/browser/prefs/pref_member.h |
+++ b/chrome/browser/prefs/pref_member.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 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. |
// |
@@ -192,6 +192,11 @@ class PrefMember : public subtle::PrefMemberBase { |
} |
} |
+ // Returns the pref name. |
+ const std::string& GetPrefName() const { |
+ return pref_name(); |
+ } |
+ |
private: |
class Internal : public subtle::PrefMemberBase::Internal { |
public: |