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

Side by Side Diff: chrome/common/url_constants.cc

Issue 12374007: signin: force web signin flow initiated visits to accounts.google.com to their own process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add browser test Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/url_constants.h" 5 #include "chrome/common/url_constants.h"
6 6
7 #include "googleurl/src/url_util.h" 7 #include "googleurl/src/url_util.h"
8 8
9 namespace chrome { 9 namespace chrome {
10 10
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 kChromeUIPpapiFlashCrashURL, 512 kChromeUIPpapiFlashCrashURL,
513 kChromeUIPpapiFlashHangURL 513 kChromeUIPpapiFlashHangURL
514 }; 514 };
515 const int kNumberOfChromeDebugURLs = 515 const int kNumberOfChromeDebugURLs =
516 static_cast<int>(arraysize(kChromeDebugURLs)); 516 static_cast<int>(arraysize(kChromeDebugURLs));
517 517
518 const char kExtensionResourceScheme[] = "chrome-extension-resource"; 518 const char kExtensionResourceScheme[] = "chrome-extension-resource";
519 519
520 const char kChromeSearchScheme[] = "chrome-search"; 520 const char kChromeSearchScheme[] = "chrome-search";
521 521
522 // This is used to distinguish URLs belonging to the special web signin flow
523 // running in the special signin process from other URLs on the same domain.
524 // We do not grant WebUI privilieges / bindings to this process or to URLs of
525 // this scheme; enforcement of privileges is handled separately by
526 // OneClickSigninHelper.
Charlie Reis 2013/03/04 19:22:24 Great comment. Can you move it to the .h file?
tim (not reviewing) 2013/03/04 23:40:19 Done.
527 const char kChromeSigninScheme[] = "chrome-signin";
528
522 // Google SafeSearch query parameters. 529 // Google SafeSearch query parameters.
523 const char kSafeSearchSafeParameter[] = "safe=active"; 530 const char kSafeSearchSafeParameter[] = "safe=active";
524 const char kSafeSearchSsuiParameter[] = "ssui=on"; 531 const char kSafeSearchSsuiParameter[] = "ssui=on";
525 532
526 const char kMediaAccessLearnMoreUrl[] = 533 const char kMediaAccessLearnMoreUrl[] =
527 "https://support.google.com/chrome/?p=ib_access_cam_mic"; 534 "https://support.google.com/chrome/?p=ib_access_cam_mic";
528 535
529 } // namespace chrome 536 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698