summaryrefslogtreecommitdiffstats
path: root/chrome/browser/page_info_model.h
diff options
context:
space:
mode:
authorbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-02 15:55:39 +0000
committerbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-02 15:55:39 +0000
commiteed164bbe21d93ff54a1ba8e8ac561f473ed29af (patch)
treea269c6bceae6da83ed6cd665a99b2aab295ac06f /chrome/browser/page_info_model.h
parent5fe4a49b78161dfb9b2ba47eb20fef790a792dbe (diff)
downloadchromium_src-eed164bbe21d93ff54a1ba8e8ac561f473ed29af.zip
chromium_src-eed164bbe21d93ff54a1ba8e8ac561f473ed29af.tar.gz
chromium_src-eed164bbe21d93ff54a1ba8e8ac561f473ed29af.tar.bz2
Adds "Certificate Information" label for page_info_model.
On android, we have a slightly different design for the page info requiring this extra label. BUG= TEST= Review URL: http://codereview.chromium.org/9537015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124646 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/page_info_model.h')
-rw-r--r--chrome/browser/page_info_model.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/page_info_model.h b/chrome/browser/page_info_model.h
index 9ddaa14..eb05dc1 100644
--- a/chrome/browser/page_info_model.h
+++ b/chrome/browser/page_info_model.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.
@@ -95,6 +95,9 @@ class PageInfoModel {
int count,
base::Time first_visit);
+ // Returns the label for the "Certificate Information", if needed.
+ string16 GetCertificateLabel() const;
+
protected:
// Testing constructor. DO NOT USE.
PageInfoModel();
@@ -112,6 +115,9 @@ class PageInfoModel {
// Used to request number of visits.
CancelableRequestConsumer request_consumer_;
+ // Label for "Certificate Information", if needed.
+ string16 certificate_label_;
+
private:
DISALLOW_COPY_AND_ASSIGN(PageInfoModel);
};