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

Side by Side Diff: chrome/browser/extensions/extension_updater.h

Issue 196097: Do not send or store cookies for extensions autoupdate http requests.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_updater.cc » ('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_BROWSER_EXTENSIONS_EXTENSION_UPDATER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_UPDATER_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_UPDATER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_UPDATER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 std::string version; 77 std::string version;
78 ExtensionFetch() : id(""), url(), package_hash(""), version("") {} 78 ExtensionFetch() : id(""), url(), package_hash(""), version("") {}
79 ExtensionFetch(const std::string& i, const GURL& u, 79 ExtensionFetch(const std::string& i, const GURL& u,
80 const std::string& h, const std::string& v) 80 const std::string& h, const std::string& v)
81 : id(i), url(u), package_hash(h), version(v) {} 81 : id(i), url(u), package_hash(h), version(v) {}
82 }; 82 };
83 83
84 // These are needed for unit testing, to help identify the correct mock 84 // These are needed for unit testing, to help identify the correct mock
85 // URLFetcher objects. 85 // URLFetcher objects.
86 static const int kManifestFetcherId = 1; 86 static const int kManifestFetcherId = 1;
87 static const int kExtensionFetcherId = 1; 87 static const int kExtensionFetcherId = 2;
88 88
89 static const char* kBlacklistUpdateUrl; 89 static const char* kBlacklistUpdateUrl;
90 static const char* kBlacklistAppID; 90 static const char* kBlacklistAppID;
91 91
92 // Does common work from constructors. 92 // Does common work from constructors.
93 void Init(); 93 void Init();
94 94
95 // Computes when to schedule the first update check. 95 // Computes when to schedule the first update check.
96 base::TimeDelta DetermineFirstCheckDelay(); 96 base::TimeDelta DetermineFirstCheckDelay();
97 97
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 MessageLoop* io_loop_; 180 MessageLoop* io_loop_;
181 181
182 PrefService* prefs_; 182 PrefService* prefs_;
183 183
184 scoped_refptr<ExtensionUpdaterFileHandler> file_handler_; 184 scoped_refptr<ExtensionUpdaterFileHandler> file_handler_;
185 185
186 DISALLOW_COPY_AND_ASSIGN(ExtensionUpdater); 186 DISALLOW_COPY_AND_ASSIGN(ExtensionUpdater);
187 }; 187 };
188 188
189 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_UPDATER_H_ 189 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_UPDATER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698