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

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

Issue 2132163002: Add BlimpClientContext and factory with real and dummy implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-blimp-client-core-public-to-blimp-client
Patch Set: Added delegate-support to BlimpClientContext Created 4 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 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 }
David Trainor- moved to gerrit 2016/07/14 19:07:13 // namespaces? I don't think they're necessary fo
nyquist 2016/07/14 22:56:50 Done.
14 }
15
16 namespace chrome {
17
18 // Attaches a profile to the given BlimpContents as SupportsUserData::Data. This
19 // must be called whenever a new BlimpContents has been created.
20 void AttachProfileToBlimpContents(blimp::client::BlimpContents* blimp_contents,
21 Profile* profile);
22
23 // Returns the profile related to a specific BlimpContents. It must have been
24 // previously attached using AttachProfileToBlimpContents.
25 Profile* GetProfileFromBlimpContents(
26 blimp::client::BlimpContents* blimp_contents);
27
28 } // namespace chrome
29
30 #endif // CHROME_BROWSER_ANDROID_BLIMP_BLIMP_CONTENTS_PROFILE_ATTACHMENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698