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

Side by Side Diff: chrome/browser/ui/webui/chrome_url_data_manager_backend.cc

Issue 8423055: [Aura] Initial app list webui. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove grabber.js Created 9 years, 1 month 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) 2011 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/browser/ui/webui/chrome_url_data_manager_backend.h" 5 #include "chrome/browser/ui/webui/chrome_url_data_manager_backend.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 insert(chrome::kChromeUISystemInfoHost); 72 insert(chrome::kChromeUISystemInfoHost);
73 #endif 73 #endif
74 #if defined(TOUCH_UI) 74 #if defined(TOUCH_UI)
75 insert(chrome::kChromeUIKeyboardHost); 75 insert(chrome::kChromeUIKeyboardHost);
76 #endif 76 #endif
77 #if defined(OS_CHROMEOS) || defined(TOUCH_UI) || defined(USE_AURA) 77 #if defined(OS_CHROMEOS) || defined(TOUCH_UI) || defined(USE_AURA)
78 insert(chrome::kChromeUICollectedCookiesHost); 78 insert(chrome::kChromeUICollectedCookiesHost);
79 insert(chrome::kChromeUIHttpAuthHost); 79 insert(chrome::kChromeUIHttpAuthHost);
80 insert(chrome::kChromeUIRepostFormWarningHost); 80 insert(chrome::kChromeUIRepostFormWarningHost);
81 #endif 81 #endif
82 #if defined(USE_AURA)
83 insert(chrome::kChromeUIAppListHost);
84 #endif
82 } 85 }
83 }; 86 };
84 87
85 base::LazyInstance<ChromeURLContentSecurityPolicyExceptionSet> 88 base::LazyInstance<ChromeURLContentSecurityPolicyExceptionSet>
86 g_chrome_url_content_security_policy_exceptions(base::LINKER_INITIALIZED); 89 g_chrome_url_content_security_policy_exceptions(base::LINKER_INITIALIZED);
87 90
88 // Parse a URL into the components used to resolve its request. |source_name| 91 // Parse a URL into the components used to resolve its request. |source_name|
89 // is the hostname and |path| is the remaining portion of the URL. 92 // is the hostname and |path| is the remaining portion of the URL.
90 void URLToRequest(const GURL& url, std::string* source_name, 93 void URLToRequest(const GURL& url, std::string* source_name,
91 std::string* path) { 94 std::string* path) {
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 548
546 return new URLRequestChromeJob(request, backend_); 549 return new URLRequestChromeJob(request, backend_);
547 } 550 }
548 551
549 } // namespace 552 } // namespace
550 553
551 net::URLRequestJobFactory::ProtocolHandler* 554 net::URLRequestJobFactory::ProtocolHandler*
552 CreateDevToolsProtocolHandler(ChromeURLDataManagerBackend* backend) { 555 CreateDevToolsProtocolHandler(ChromeURLDataManagerBackend* backend) {
553 return new DevToolsJobFactory(backend); 556 return new DevToolsJobFactory(backend);
554 } 557 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/aura/app_list_ui.cc ('k') | chrome/browser/ui/webui/chrome_web_ui_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698