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

Side by Side Diff: content/browser/tab_contents/navigation_controller_impl.cc

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "content/browser/tab_contents/navigation_controller_impl.h" 5 #include "content/browser/tab_contents/navigation_controller_impl.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/string_number_conversions.h" // Temporary 9 #include "base/string_number_conversions.h" // Temporary
10 #include "base/string_util.h" 10 #include "base/string_util.h"
(...skipping 22 matching lines...) Expand all
33 #include "net/base/mime_util.h" 33 #include "net/base/mime_util.h"
34 #include "net/base/net_util.h" 34 #include "net/base/net_util.h"
35 #include "webkit/glue/webkit_glue.h" 35 #include "webkit/glue/webkit_glue.h"
36 36
37 using content::BrowserContext; 37 using content::BrowserContext;
38 using content::DOMStorageContext; 38 using content::DOMStorageContext;
39 using content::GlobalRequestID; 39 using content::GlobalRequestID;
40 using content::NavigationController; 40 using content::NavigationController;
41 using content::NavigationEntry; 41 using content::NavigationEntry;
42 using content::NavigationEntryImpl; 42 using content::NavigationEntryImpl;
43 using content::RenderViewHostImpl;
43 using content::SessionStorageNamespace; 44 using content::SessionStorageNamespace;
44 using content::SiteInstance; 45 using content::SiteInstance;
45 using content::UserMetricsAction; 46 using content::UserMetricsAction;
46 using content::WebContents; 47 using content::WebContents;
47 48
48 namespace { 49 namespace {
49 50
50 const int kInvalidateAll = 0xFFFFFFFF; 51 const int kInvalidateAll = 0xFFFFFFFF;
51 52
52 // Invoked when entries have been pruned, or removed. For example, if the 53 // Invoked when entries have been pruned, or removed. For example, if the
(...skipping 1375 matching lines...) Expand 10 before | Expand all | Expand 10 after
1428 for (int i = 0; i < max_index; i++) { 1429 for (int i = 0; i < max_index; i++) {
1429 // When cloning a tab, copy all entries except interstitial pages 1430 // When cloning a tab, copy all entries except interstitial pages
1430 if (source.entries_[i].get()->GetPageType() != 1431 if (source.entries_[i].get()->GetPageType() !=
1431 content::PAGE_TYPE_INTERSTITIAL) { 1432 content::PAGE_TYPE_INTERSTITIAL) {
1432 entries_.insert(entries_.begin() + insert_index++, 1433 entries_.insert(entries_.begin() + insert_index++,
1433 linked_ptr<NavigationEntryImpl>( 1434 linked_ptr<NavigationEntryImpl>(
1434 new NavigationEntryImpl(*source.entries_[i]))); 1435 new NavigationEntryImpl(*source.entries_[i])));
1435 } 1436 }
1436 } 1437 }
1437 } 1438 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698