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

Unified Diff: chrome/browser/chromeos/login/login_utils.h

Issue 6272016: Prevent non-Incognito windows in the Guest session. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser
Patch Set: fixed win warning + indent Created 9 years, 10 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 | « no previous file | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/login_utils.h
diff --git a/chrome/browser/chromeos/login/login_utils.h b/chrome/browser/chromeos/login/login_utils.h
index e04c52abe72d88d1dfbd9c10259a7b8e5ed23d12..05a1a6c136b9b105427ac865d291aeaebf325744 100644
--- a/chrome/browser/chromeos/login/login_utils.h
+++ b/chrome/browser/chromeos/login/login_utils.h
@@ -10,10 +10,15 @@
#include "chrome/common/net/gaia/gaia_auth_consumer.h"
+class CommandLine;
class GURL;
class Profile;
class PrefService;
+namespace {
+class BrowserGuestSessionNavigatorTest;
+} // namespace
+
namespace chromeos {
class Authenticator;
@@ -83,6 +88,16 @@ class LoginUtils {
// Gets the current background view.
virtual BackgroundView* GetBackgroundView() = 0;
+
+ protected:
+ friend class ::BrowserGuestSessionNavigatorTest;
+
+ // Returns command line string to be used for the OTR process. Also modifies
+ // given command line.
+ virtual std::string GetOffTheRecordCommandLine(
+ const GURL& start_url,
+ const CommandLine& base_command_line,
+ CommandLine* command_line) = 0;
};
} // namespace chromeos
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698