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

Unified Diff: chrome/browser/tab_contents/tab_contents.cc

Issue 4997001: C++ readability change for jochen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser/extensions
Patch Set: more long long to int64 Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.h ('k') | chrome/common/notification_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/tab_contents.cc
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index cfa1ac00be62906643a4ec12b6b00af5364441f2..a41206ee5f001f860c65e82e33ab37f881534ff3 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -2126,7 +2126,7 @@ void TabContents::OnInstantSupportDetermined(int32 page_id, bool result) {
void TabContents::DidStartProvisionalLoadForFrame(
RenderViewHost* render_view_host,
- long long frame_id,
+ int64 frame_id,
bool is_main_frame,
const GURL& url) {
ProvisionalLoadDetails details(is_main_frame,
@@ -2190,7 +2190,7 @@ void TabContents::DidRunInsecureContent(const std::string& security_origin) {
void TabContents::DidFailProvisionalLoadWithError(
RenderViewHost* render_view_host,
- long long frame_id,
+ int64 frame_id,
bool is_main_frame,
int error_code,
const GURL& url,
@@ -2245,19 +2245,19 @@ void TabContents::DidFailProvisionalLoadWithError(
Details<ProvisionalLoadDetails>(&details));
}
-void TabContents::DocumentLoadedInFrame(long long frame_id) {
+void TabContents::DocumentLoadedInFrame(int64 frame_id) {
controller_.DocumentLoadedInFrame();
NotificationService::current()->Notify(
NotificationType::FRAME_DOM_CONTENT_LOADED,
Source<NavigationController>(&controller_),
- Details<long long>(&frame_id));
+ Details<int64>(&frame_id));
}
-void TabContents::DidFinishLoad(long long frame_id) {
+void TabContents::DidFinishLoad(int64 frame_id) {
NotificationService::current()->Notify(
NotificationType::FRAME_DID_FINISH_LOAD,
Source<NavigationController>(&controller_),
- Details<long long>(&frame_id));
+ Details<int64>(&frame_id));
}
void TabContents::OnContentSettingsAccessed(bool content_was_blocked) {
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.h ('k') | chrome/common/notification_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698