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

Unified Diff: content/public/browser/browser_context.h

Issue 1770533002: Change userid from a uint32_t to a string guid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@33connector
Patch Set: . Created 4 years, 9 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
« no previous file with comments | « content/common/mojo/mojo_shell_connection_impl.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index 26a208ca8d8e85937aba356a0440ee3797e048dd..6f199bbe3fb3cc96da2914d03b09785527fa3d1c 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -133,9 +133,9 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
static void Initialize(BrowserContext* browser_context,
const base::FilePath& path);
- // Returns a randomized user ID number associated with this
- // BrowserContext. This ID is not persistent across runs.
- static uint32_t GetMojoUserIdFor(BrowserContext* browser_context);
+ // Returns a Mojo User ID associated with this BrowserContext. This ID is not
+ // persistent across runs. See mojo/shell/public/interfaces/connector.mojom.
+ static const std::string& GetMojoUserIdFor(BrowserContext* browser_context);
~BrowserContext() override;
« no previous file with comments | « content/common/mojo/mojo_shell_connection_impl.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698