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

Side by Side Diff: components/translate/core/browser/translate_url_fetcher.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_URL_FETCHER_H_ 5 #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_URL_FETCHER_H_
6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_URL_FETCHER_H_ 6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_URL_FETCHER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
10 #include "net/url_request/url_fetcher_delegate.h" 11 #include "net/url_request/url_fetcher_delegate.h"
11 #include "url/gurl.h" 12 #include "url/gurl.h"
12 13
13 namespace translate { 14 namespace translate {
14 15
15 // Downloads raw Translate data such as the Translate script and the language 16 // Downloads raw Translate data such as the Translate script and the language
16 // list. 17 // list.
17 class TranslateURLFetcher : public net::URLFetcherDelegate { 18 class TranslateURLFetcher : public net::URLFetcherDelegate {
18 public: 19 public:
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 82
82 // An extra HTTP request header 83 // An extra HTTP request header
83 std::string extra_request_header_; 84 std::string extra_request_header_;
84 85
85 DISALLOW_COPY_AND_ASSIGN(TranslateURLFetcher); 86 DISALLOW_COPY_AND_ASSIGN(TranslateURLFetcher);
86 }; 87 };
87 88
88 } // namespace translate 89 } // namespace translate
89 90
90 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_URL_FETCHER_H_ 91 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_URL_FETCHER_H_
OLDNEW
« no previous file with comments | « components/translate/core/browser/translate_ui_delegate.h ('k') | components/translate/core/common/translate_errors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698