From eed164bbe21d93ff54a1ba8e8ac561f473ed29af Mon Sep 17 00:00:00 2001 From: "bulach@chromium.org" Date: Fri, 2 Mar 2012 15:55:39 +0000 Subject: 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 --- chrome/browser/page_info_model.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'chrome/browser/page_info_model.h') 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); }; -- cgit v1.1