Lines Matching full:profile
14 #include "chrome/browser/profiles/profile.h"
142 void BookmarkNodeData::WriteToClipboard(Profile* profile) const {
163 WriteToPickle(profile, &pickle);
200 void BookmarkNodeData::WriteToClipboard(Profile* profile) const {
220 void BookmarkNodeData::Write(Profile* profile, ui::OSExchangeData* data) const {
234 WriteToPickle(profile, &data_pickle);
263 void BookmarkNodeData::WriteToPickle(Profile* profile, Pickle* pickle) const {
264 FilePath path = profile ? profile->GetPath() : FilePath();
292 Profile* profile) const {
295 if (!IsFromProfile(profile))
300 profile->GetBookmarkModel()->GetNodeByID(elements[i].id_);
310 const BookmarkNode* BookmarkNodeData::GetFirstNode(Profile* profile) const {
311 std::vector<const BookmarkNode*> nodes = GetNodes(profile);
320 void BookmarkNodeData::SetOriginatingProfile(Profile* profile) {
323 if (profile)
324 profile_path_ = profile->GetPath().value();
327 bool BookmarkNodeData::IsFromProfile(Profile* profile) const {
328 // An empty path means the data is not associated with any profile.
329 return !profile_path_.empty() && profile_path_ == profile->GetPath().value();