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

Side by Side Diff: chrome_frame/np_proxy_service.h

Issue 385111: Merge 31792 - The ChromeFrameAutomationClient class needs to be refcounted as... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/245/src/
Patch Set: Created 11 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
« no previous file with comments | « chrome_frame/find_dialog.cc ('k') | chrome_frame/plugin_url_request.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) 2009 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_FRAME_NP_PROXY_SERVICE_H_ 5 #ifndef CHROME_FRAME_NP_PROXY_SERVICE_H_
6 #define CHROME_FRAME_NP_PROXY_SERVICE_H_ 6 #define CHROME_FRAME_NP_PROXY_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 bool InitializePrefBranch(nsIPrefService* pref_service); 95 bool InitializePrefBranch(nsIPrefService* pref_service);
96 bool ReadProxySettings(nsIPrefBranch* pref_branch); 96 bool ReadProxySettings(nsIPrefBranch* pref_branch);
97 97
98 std::string GetStringPref(nsIPrefBranch* pref_branch, const char* pref_name); 98 std::string GetStringPref(nsIPrefBranch* pref_branch, const char* pref_name);
99 int GetIntPref(nsIPrefBranch* pref_branch, const char* pref_name); 99 int GetIntPref(nsIPrefBranch* pref_branch, const char* pref_name);
100 bool GetBoolPref(nsIPrefBranch* pref_branch, const char* pref_name); 100 bool GetBoolPref(nsIPrefBranch* pref_branch, const char* pref_name);
101 101
102 void Reset(); 102 void Reset();
103 DictionaryValue* BuildProxyValueSet(); 103 DictionaryValue* BuildProxyValueSet();
104 104
105 ChromeFrameAutomationClient* automation_client_; 105 scoped_refptr<ChromeFrameAutomationClient> automation_client_;
106 106
107 ScopedNsPtr<nsIServiceManager> service_manager_; 107 ScopedNsPtr<nsIServiceManager> service_manager_;
108 ScopedNsPtr<nsIPrefService> pref_service_; 108 ScopedNsPtr<nsIPrefService> pref_service_;
109 ScopedNsPtr<nsIPrefBranch2> observer_pref_branch_; 109 ScopedNsPtr<nsIPrefBranch2> observer_pref_branch_;
110 110
111 struct ProxyNames { 111 struct ProxyNames {
112 // Proxy type (http, https, ftp, etc...). 112 // Proxy type (http, https, ftp, etc...).
113 const char* chrome_scheme; 113 const char* chrome_scheme;
114 // Firefox preference name of the URL for this proxy type. 114 // Firefox preference name of the URL for this proxy type.
115 const char* pref_name; 115 const char* pref_name;
(...skipping 12 matching lines...) Expand all
128 bool system_config_; 128 bool system_config_;
129 bool auto_detect_; 129 bool auto_detect_;
130 bool no_proxy_; 130 bool no_proxy_;
131 int type_; 131 int type_;
132 std::string pac_url_; 132 std::string pac_url_;
133 std::string proxy_bypass_list_; 133 std::string proxy_bypass_list_;
134 ManualProxyList manual_proxies_; 134 ManualProxyList manual_proxies_;
135 }; 135 };
136 136
137 #endif // CHROME_FRAME_NP_PROXY_SERVICE_H_ 137 #endif // CHROME_FRAME_NP_PROXY_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome_frame/find_dialog.cc ('k') | chrome_frame/plugin_url_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698