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

Side by Side Diff: chrome/browser/ui/tab_contents/core_tab_helper.cc

Issue 10696158: Rename WasRestored to WasShown across all uses. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Bring to ToT to commit Created 8 years, 4 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
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 "chrome/browser/ui/tab_contents/core_tab_helper.h" 5 #include "chrome/browser/ui/tab_contents/core_tab_helper.h"
6 6
7 #include "chrome/browser/renderer_host/web_cache_manager.h" 7 #include "chrome/browser/renderer_host/web_cache_manager.h"
8 #include "chrome/browser/ui/tab_contents/tab_contents.h" 8 #include "chrome/browser/ui/tab_contents/tab_contents.h"
9 #include "content/public/browser/render_process_host.h" 9 #include "content/public/browser/render_process_host.h"
10 #include "content/public/browser/render_view_host.h" 10 #include "content/public/browser/render_view_host.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 case net::LOAD_STATE_READING_RESPONSE: 72 case net::LOAD_STATE_READING_RESPONSE:
73 break; 73 break;
74 } 74 }
75 75
76 return string16(); 76 return string16();
77 } 77 }
78 78
79 //////////////////////////////////////////////////////////////////////////////// 79 ////////////////////////////////////////////////////////////////////////////////
80 // WebContentsObserver overrides 80 // WebContentsObserver overrides
81 81
82 void CoreTabHelper::WasRestored() { 82 void CoreTabHelper::WasShown() {
83 WebCacheManager::GetInstance()->ObserveActivity( 83 WebCacheManager::GetInstance()->ObserveActivity(
84 web_contents()->GetRenderProcessHost()->GetID()); 84 web_contents()->GetRenderProcessHost()->GetID());
85 } 85 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/tab_contents/core_tab_helper.h ('k') | chrome/browser/ui/tabs/tab_strip_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698