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

Unified Diff: chrome/browser/extensions/extension_webnavigation_unittest.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
Index: chrome/browser/extensions/extension_webnavigation_unittest.cc
diff --git a/chrome/browser/extensions/extension_webnavigation_unittest.cc b/chrome/browser/extensions/extension_webnavigation_unittest.cc
index 5ac378e12a888849e9d8012e4459d2db554b0875..ba9456649552c329844ac1f787197156fe5465e8 100644
--- a/chrome/browser/extensions/extension_webnavigation_unittest.cc
+++ b/chrome/browser/extensions/extension_webnavigation_unittest.cc
@@ -15,6 +15,7 @@
#include "chrome/common/url_constants.h"
#include "chrome/test/testing_profile.h"
+
class FrameNavigationStateTest : public RenderViewHostTestHarness {
};
@@ -22,8 +23,8 @@ class FrameNavigationStateTest : public RenderViewHostTestHarness {
// goes away.
TEST_F(FrameNavigationStateTest, TrackFrame) {
FrameNavigationState navigation_state;
- const long long frame_id1 = 23;
- const long long frame_id2 = 42;
+ const int64 frame_id1 = 23;
+ const int64 frame_id2 = 42;
const GURL url1("http://www.google.com/");
const GURL url2("http://mail.google.com/");
@@ -54,7 +55,7 @@ TEST_F(FrameNavigationStateTest, TrackFrame) {
// before a new navigation happened in this frame.
TEST_F(FrameNavigationStateTest, ErrorState) {
FrameNavigationState navigation_state;
- const long long frame_id = 42;
+ const int64 frame_id = 42;
const GURL url("http://www.google.com/");
navigation_state.TrackFrame(frame_id, url, true, contents());
@@ -78,8 +79,8 @@ TEST_F(FrameNavigationStateTest, ErrorState) {
// before a new navigation happened in this frame.
TEST_F(FrameNavigationStateTest, ErrorStateFrame) {
FrameNavigationState navigation_state;
- const long long frame_id1 = 23;
- const long long frame_id2 = 42;
+ const int64 frame_id1 = 23;
+ const int64 frame_id2 = 42;
const GURL url("http://www.google.com/");
navigation_state.TrackFrame(frame_id1, url, true, contents());
« no previous file with comments | « chrome/browser/extensions/extension_webnavigation_apitest.cc ('k') | chrome/browser/renderer_host/render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698