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

Side by Side Diff: chrome/browser/local_discovery/privet_url_fetcher.h

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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_LOCAL_DISCOVERY_PRIVET_URL_FETCHER_H_ 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_URL_FETCHER_H_
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_URL_FETCHER_H_ 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_URL_FETCHER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 PrivetURLFetcher( 68 PrivetURLFetcher(
69 const GURL& url, 69 const GURL& url,
70 net::URLFetcher::RequestType request_type, 70 net::URLFetcher::RequestType request_type,
71 net::URLRequestContextGetter* request_context, 71 net::URLRequestContextGetter* request_context,
72 Delegate* delegate); 72 Delegate* delegate);
73 73
74 virtual ~PrivetURLFetcher(); 74 virtual ~PrivetURLFetcher();
75 75
76 // net::URLFetcherDelegate methods. 76 // net::URLFetcherDelegate methods.
77 virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE; 77 virtual void OnURLFetchComplete(const net::URLFetcher* source) override;
78 78
79 static void SetTokenForHost(const std::string& host, 79 static void SetTokenForHost(const std::string& host,
80 const std::string& token); 80 const std::string& token);
81 81
82 static void ResetTokenMapForTests(); 82 static void ResetTokenMapForTests();
83 83
84 void DoNotRetryOnTransientError(); 84 void DoNotRetryOnTransientError();
85 85
86 void SendEmptyPrivetToken(); 86 void SendEmptyPrivetToken();
87 87
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 base::FilePath upload_file_path_; 138 base::FilePath upload_file_path_;
139 scoped_ptr<net::URLFetcher> url_fetcher_; 139 scoped_ptr<net::URLFetcher> url_fetcher_;
140 140
141 base::WeakPtrFactory<PrivetURLFetcher> weak_factory_; 141 base::WeakPtrFactory<PrivetURLFetcher> weak_factory_;
142 DISALLOW_COPY_AND_ASSIGN(PrivetURLFetcher); 142 DISALLOW_COPY_AND_ASSIGN(PrivetURLFetcher);
143 }; 143 };
144 144
145 } // namespace local_discovery 145 } // namespace local_discovery
146 146
147 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_URL_FETCHER_H_ 147 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_URL_FETCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698