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

Side by Side Diff: chrome/browser/external_protocol/external_protocol_handler.cc

Issue 10539169: Prototype version of the first-run dialog for Windows 8 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: An oops. Created 8 years, 6 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
grt (UTC plus 2) 2012/06/21 15:18:43 you can remove this file from the CL if this is th
motek. 2012/06/21 18:28:10 Done.
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/browser/external_protocol/external_protocol_handler.h" 5 #include "chrome/browser/external_protocol/external_protocol_handler.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 // static 296 // static
297 void ExternalProtocolHandler::RegisterPrefs(PrefService* prefs) { 297 void ExternalProtocolHandler::RegisterPrefs(PrefService* prefs) {
298 prefs->RegisterDictionaryPref(prefs::kExcludedSchemes); 298 prefs->RegisterDictionaryPref(prefs::kExcludedSchemes);
299 } 299 }
300 300
301 // static 301 // static
302 void ExternalProtocolHandler::PermitLaunchUrl() { 302 void ExternalProtocolHandler::PermitLaunchUrl() {
303 DCHECK_EQ(MessageLoop::TYPE_UI, MessageLoop::current()->type()); 303 DCHECK_EQ(MessageLoop::TYPE_UI, MessageLoop::current()->type());
304 g_accept_requests = true; 304 g_accept_requests = true;
305 } 305 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698