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

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: easy reading Created 9 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 side-by-side diff with in-line comments
Download patch
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..212cbb052c4068a50b9586c112870230b443c7e3 100644
--- a/chrome/browser/chromeos/login/login_utils.h
+++ b/chrome/browser/chromeos/login/login_utils.h
@@ -8,12 +8,17 @@
#include <string>
+#include "base/command_line.h"
Evan Stade 2011/01/31 21:06:22 forward declare CommandLine
altimofeev 2011/02/01 12:42:15 Done.
#include "chrome/common/net/gaia/gaia_auth_consumer.h"
class GURL;
class Profile;
class PrefService;
+namespace {
+ class BrowserGuestSessionNavigatorTest;
Evan Stade 2011/01/31 21:06:22 no indent necessary inside namespaces.
altimofeev 2011/02/01 12:42:15 Done.
+} // 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') | chrome/browser/chromeos/login/mock_authenticator.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698