OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TITLE_UPDATED_DETAILS_ |
| 6 #define CONTENT_BROWSER_TAB_CONTENTS_TITLE_UPDATED_DETAILS_ |
| 7 #pragma once |
| 8 |
| 9 #include "base/basictypes.h" |
| 10 |
| 11 class NavigationEntry; |
| 12 |
| 13 class TitleUpdatedDetails { |
| 14 public: |
| 15 TitleUpdatedDetails(const NavigationEntry* entry, bool explicit_set) |
| 16 : entry_(entry), |
| 17 explicit_set_(explicit_set) {} |
| 18 ~TitleUpdatedDetails() {} |
| 19 |
| 20 const NavigationEntry* entry() const { return entry_; } |
| 21 bool explicit_set() const { return explicit_set_; } |
| 22 |
| 23 private: |
| 24 const NavigationEntry* entry_; |
| 25 bool explicit_set_; // If a synthesized title. |
| 26 |
| 27 TitleUpdatedDetails() {} |
| 28 |
| 29 DISALLOW_COPY_AND_ASSIGN(TitleUpdatedDetails); |
| 30 }; |
| 31 |
| 32 #endif // CONTENT_BROWSER_TAB_CONTENTS_TITLE_UPDATED_DETAILS_ |
OLD | NEW |