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

Side by Side Diff: chrome/browser/external_protocol_handler.h

Issue 3080031: Delete obviously unneeded forward declarations in chrome/browser/*.h. (Closed)
Patch Set: bah Created 10 years, 4 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
« no previous file with comments | « chrome/browser/encoding_menu_controller.h ('k') | chrome/browser/file_watcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_EXTERNAL_PROTOCOL_HANDLER_H_ 5 #ifndef CHROME_BROWSER_EXTERNAL_PROTOCOL_HANDLER_H_
6 #define CHROME_BROWSER_EXTERNAL_PROTOCOL_HANDLER_H_ 6 #define CHROME_BROWSER_EXTERNAL_PROTOCOL_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 class DictionaryValue; 11 class DictionaryValue;
12 class GURL; 12 class GURL;
13 class MessageLoop;
14 class PrefService; 13 class PrefService;
15 14
16 class ExternalProtocolHandler { 15 class ExternalProtocolHandler {
17 public: 16 public:
18 enum BlockState { 17 enum BlockState {
19 DONT_BLOCK, 18 DONT_BLOCK,
20 BLOCK, 19 BLOCK,
21 UNKNOWN, 20 UNKNOWN,
22 }; 21 };
23 22
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 static void PrepopulateDictionary(DictionaryValue* win_pref); 69 static void PrepopulateDictionary(DictionaryValue* win_pref);
71 70
72 // Allows LaunchUrl to proceed with launching an external protocol handler. 71 // Allows LaunchUrl to proceed with launching an external protocol handler.
73 // This is typically triggered by a user gesture, but is also called for 72 // This is typically triggered by a user gesture, but is also called for
74 // each extension API function. Note that each call to LaunchUrl resets 73 // each extension API function. Note that each call to LaunchUrl resets
75 // the state to false (not allowed). 74 // the state to false (not allowed).
76 static void PermitLaunchUrl(); 75 static void PermitLaunchUrl();
77 }; 76 };
78 77
79 #endif // CHROME_BROWSER_EXTERNAL_PROTOCOL_HANDLER_H_ 78 #endif // CHROME_BROWSER_EXTERNAL_PROTOCOL_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/encoding_menu_controller.h ('k') | chrome/browser/file_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698