| Index: chrome/browser/profiles/profile.cc
|
| diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
|
| index 433cebf8f5cf847769628029832502ee8438f34c..933ffd10781b3be67a0480b8e84e8958e0ead3a7 100644
|
| --- a/chrome/browser/profiles/profile.cc
|
| +++ b/chrome/browser/profiles/profile.cc
|
| @@ -100,6 +100,12 @@ Profile::Profile()
|
| }
|
|
|
| // static
|
| +Profile* Profile::FromBrowserContext(content::BrowserContext* browser_context) {
|
| + // This is safe; this is the only implementation of the browser context.
|
| + return static_cast<Profile*>(browser_context);
|
| +}
|
| +
|
| +// static
|
| const char* const Profile::kProfileKey = "__PROFILE__";
|
|
|
| #if !defined(OS_MACOSX) && !defined(OS_CHROMEOS) && defined(OS_POSIX)
|
|
|