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

Unified Diff: chrome/browser/ui/views/extensions/browser_action_drag_data.h

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
Index: chrome/browser/ui/views/extensions/browser_action_drag_data.h
===================================================================
--- chrome/browser/ui/views/extensions/browser_action_drag_data.h (revision 92309)
+++ chrome/browser/ui/views/extensions/browser_action_drag_data.h (working copy)
@@ -9,7 +9,6 @@
#include <string>
#include "base/basictypes.h"
-#include "chrome/browser/profiles/profile.h"
#if defined(TOOLKIT_VIEWS)
#include "ui/base/dragdrop/os_exchange_data.h"
@@ -18,6 +17,7 @@
class BrowserActionButton;
class FilePath;
class Pickle;
+class Profile;
class BrowserActionDragData {
public:
@@ -45,8 +45,8 @@
void WriteToPickle(Profile* profile, Pickle* pickle) const;
bool ReadFromPickle(Pickle* pickle);
- // ID of the profile we originated from.
- ProfileId profile_id_;
+ // The profile we originated from.
+ void* profile_;
// The id of the view being dragged.
std::string id_;

Powered by Google App Engine
This is Rietveld 408576698