blob: 50ea5efe6efa596023513249e09d72ab94c106f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// 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.
#ifndef CONTENT_BROWSER_TAB_CONTENTS_TITLE_UPDATED_DETAILS_
#define CONTENT_BROWSER_TAB_CONTENTS_TITLE_UPDATED_DETAILS_
#pragma once
#include "base/basictypes.h"
class NavigationEntry;
class TitleUpdatedDetails {
public:
TitleUpdatedDetails(const NavigationEntry* entry, bool explicit_set)
: entry_(entry),
explicit_set_(explicit_set) {}
~TitleUpdatedDetails() {}
// |entry()| may return null.
const NavigationEntry* entry() const { return entry_; }
bool explicit_set() const { return explicit_set_; }
private:
const NavigationEntry* entry_; // |entry_| may be null.
bool explicit_set_; // If a synthesized title.
TitleUpdatedDetails() {}
DISALLOW_COPY_AND_ASSIGN(TitleUpdatedDetails);
};
#endif // CONTENT_BROWSER_TAB_CONTENTS_TITLE_UPDATED_DETAILS_
|