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

Side by Side Diff: content/renderer/history_entry.h

Issue 1532323002: Remove unused constant kInvalidFrameRoutingID (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /* 5 /*
6 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 6 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
8 * (http://www.torchmobile.com/) 8 * (http://www.torchmobile.com/)
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "third_party/WebKit/public/web/WebHistoryItem.h" 44 #include "third_party/WebKit/public/web/WebHistoryItem.h"
45 45
46 namespace blink { 46 namespace blink {
47 class WebFrame; 47 class WebFrame;
48 } 48 }
49 49
50 namespace content { 50 namespace content {
51 class RenderFrameImpl; 51 class RenderFrameImpl;
52 class RenderViewImpl; 52 class RenderViewImpl;
53 53
54 const int kInvalidFrameRoutingID = -1;
55
56 class CONTENT_EXPORT HistoryEntry { 54 class CONTENT_EXPORT HistoryEntry {
57 public: 55 public:
58 class HistoryNode { 56 class HistoryNode {
59 public: 57 public:
60 HistoryNode(const base::WeakPtr<HistoryEntry>& entry, 58 HistoryNode(const base::WeakPtr<HistoryEntry>& entry,
61 const blink::WebHistoryItem& item); 59 const blink::WebHistoryItem& item);
62 ~HistoryNode(); 60 ~HistoryNode();
63 61
64 HistoryNode* AddChild(const blink::WebHistoryItem& item); 62 HistoryNode* AddChild(const blink::WebHistoryItem& item);
65 HistoryNode* AddChild(); 63 HistoryNode* AddChild();
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 104
107 typedef base::hash_map<std::string, HistoryNode*> UniqueNamesToItems; 105 typedef base::hash_map<std::string, HistoryNode*> UniqueNamesToItems;
108 UniqueNamesToItems unique_names_to_items_; 106 UniqueNamesToItems unique_names_to_items_;
109 107
110 base::WeakPtrFactory<HistoryEntry> weak_ptr_factory_; 108 base::WeakPtrFactory<HistoryEntry> weak_ptr_factory_;
111 }; 109 };
112 110
113 } // namespace content 111 } // namespace content
114 112
115 #endif // CONTENT_RENDERER_HISTORY_ENTRY_H_ 113 #endif // CONTENT_RENDERER_HISTORY_ENTRY_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698