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

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

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_WEBSTORE_DATA_FETCHER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_WEBSTORE_DATA_FETCHER_H_
6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_DATA_FETCHER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_WEBSTORE_DATA_FETCHER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 29 matching lines...) Expand all
40 40
41 void set_max_auto_retries(int max_retries) { 41 void set_max_auto_retries(int max_retries) {
42 max_auto_retries_ = max_retries; 42 max_auto_retries_ = max_retries;
43 } 43 }
44 44
45 private: 45 private:
46 void OnJsonParseSuccess(scoped_ptr<base::Value> parsed_json); 46 void OnJsonParseSuccess(scoped_ptr<base::Value> parsed_json);
47 void OnJsonParseFailure(const std::string& error); 47 void OnJsonParseFailure(const std::string& error);
48 48
49 // net::URLFetcherDelegate overrides: 49 // net::URLFetcherDelegate overrides:
50 virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; 50 virtual void OnURLFetchComplete(const net::URLFetcher* source) override;
51 51
52 WebstoreDataFetcherDelegate* delegate_; 52 WebstoreDataFetcherDelegate* delegate_;
53 net::URLRequestContextGetter* request_context_; 53 net::URLRequestContextGetter* request_context_;
54 GURL referrer_url_; 54 GURL referrer_url_;
55 std::string id_; 55 std::string id_;
56 56
57 // For fetching webstore JSON data. 57 // For fetching webstore JSON data.
58 scoped_ptr<net::URLFetcher> webstore_data_url_fetcher_; 58 scoped_ptr<net::URLFetcher> webstore_data_url_fetcher_;
59 59
60 // Maximum auto retry times on server 5xx error or ERR_NETWORK_CHANGED. 60 // Maximum auto retry times on server 5xx error or ERR_NETWORK_CHANGED.
61 // Default is 0 which means to use the URLFetcher default behavior. 61 // Default is 0 which means to use the URLFetcher default behavior.
62 int max_auto_retries_; 62 int max_auto_retries_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(WebstoreDataFetcher); 64 DISALLOW_COPY_AND_ASSIGN(WebstoreDataFetcher);
65 }; 65 };
66 66
67 } // namespace extensions 67 } // namespace extensions
68 68
69 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_DATA_FETCHER_H_ 69 #endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_DATA_FETCHER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/user_script_loader_unittest.cc ('k') | chrome/browser/extensions/webstore_inline_installer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698