Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(628)

Side by Side Diff: content/browser/tab_contents/title_updated_details.h

Issue 7054008: Remove history dependency from content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698