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

Side by Side Diff: chrome/browser/android/blimp/blimp_contents_profile_attachment.h

Issue 2623023002: Remove //chrome as an embedder of blimp. (Closed)
Patch Set: One more rebase for good measure Created 3 years, 11 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_ANDROID_BLIMP_BLIMP_CONTENTS_PROFILE_ATTACHMENT_H_
6 #define CHROME_BROWSER_ANDROID_BLIMP_BLIMP_CONTENTS_PROFILE_ATTACHMENT_H_
7
8 class Profile;
9
10 namespace blimp {
11 namespace client {
12 class BlimpContents;
13 } // namespace client
14 } // namespace blimp
15
16 // Attaches a profile to the given BlimpContents as SupportsUserData::Data. This
17 // must be called whenever a new BlimpContents has been created.
18 void AttachProfileToBlimpContents(blimp::client::BlimpContents* blimp_contents,
19 Profile* profile);
20
21 // Returns the profile related to a specific BlimpContents. It must have been
22 // previously attached using AttachProfileToBlimpContents.
23 Profile* GetProfileFromBlimpContents(
24 blimp::client::BlimpContents* blimp_contents);
25
26 #endif // CHROME_BROWSER_ANDROID_BLIMP_BLIMP_CONTENTS_PROFILE_ATTACHMENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698