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

Unified Diff: chrome/browser/ui/views/extensions/browser_action_drag_data_unittest.cc

Issue 7346024: Get rid of the ProfileId. It was added for ceee. I reverted the original change, since it led to ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/extensions/browser_action_drag_data.cc ('k') | chrome/test/testing_profile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/extensions/browser_action_drag_data_unittest.cc
===================================================================
--- chrome/browser/ui/views/extensions/browser_action_drag_data_unittest.cc (revision 92309)
+++ chrome/browser/ui/views/extensions/browser_action_drag_data_unittest.cc (working copy)
@@ -35,12 +35,12 @@
TEST_F(BrowserActionDragDataTest, BrowserActionDragDataFormat) {
TestingProfile profile;
+ Profile* profile_ptr = &profile;
profile.SetID(L"id");
const std::string extension_id = "42";
- const ProfileId profile_id = profile.GetRuntimeId();
Pickle pickle;
- pickle.WriteBytes(&profile_id, sizeof(profile_id));
+ pickle.WriteBytes(&profile_ptr, sizeof(&profile));
pickle.WriteString(extension_id);
pickle.WriteInt(42);
« no previous file with comments | « chrome/browser/ui/views/extensions/browser_action_drag_data.cc ('k') | chrome/test/testing_profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698