| OLD | NEW | 
|    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2012 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_TRANSLATE_TRANSLATE_MANAGER_H_ |    5 #ifndef CHROME_BROWSER_TRANSLATE_TRANSLATE_MANAGER_H_ | 
|    6 #define CHROME_BROWSER_TRANSLATE_TRANSLATE_MANAGER_H_ |    6 #define CHROME_BROWSER_TRANSLATE_TRANSLATE_MANAGER_H_ | 
|    7  |    7  | 
|    8 #include <map> |    8 #include <map> | 
|    9 #include <set> |    9 #include <set> | 
|   10 #include <string> |   10 #include <string> | 
|   11 #include <vector> |   11 #include <vector> | 
|   12  |   12  | 
|   13 #include "base/gtest_prod_util.h" |   13 #include "base/gtest_prod_util.h" | 
|   14 #include "base/lazy_instance.h" |   14 #include "base/lazy_instance.h" | 
|   15 #include "base/memory/scoped_ptr.h" |   15 #include "base/memory/scoped_ptr.h" | 
|   16 #include "base/memory/weak_ptr.h" |   16 #include "base/memory/weak_ptr.h" | 
|   17 #include "base/time.h" |   17 #include "base/time.h" | 
|   18 #include "chrome/browser/prefs/pref_change_registrar.h" |   18 #include "chrome/browser/api/prefs/pref_change_registrar.h" | 
|   19 #include "chrome/common/translate_errors.h" |   19 #include "chrome/common/translate_errors.h" | 
|   20 #include "content/public/browser/notification_observer.h" |   20 #include "content/public/browser/notification_observer.h" | 
|   21 #include "content/public/browser/notification_registrar.h" |   21 #include "content/public/browser/notification_registrar.h" | 
|   22 #include "net/url_request/url_fetcher_delegate.h" |   22 #include "net/url_request/url_fetcher_delegate.h" | 
|   23  |   23  | 
|   24 template <typename T> struct DefaultSingletonTraits; |   24 template <typename T> struct DefaultSingletonTraits; | 
|   25 class GURL; |   25 class GURL; | 
|   26 struct PageTranslatedDetails; |   26 struct PageTranslatedDetails; | 
|   27 class PrefService; |   27 class PrefService; | 
|   28 class TranslateInfoBarDelegate; |   28 class TranslateInfoBarDelegate; | 
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  223   // server. |  223   // server. | 
|  224   std::vector<PendingRequest> pending_requests_; |  224   std::vector<PendingRequest> pending_requests_; | 
|  225  |  225  | 
|  226   // The languages supported by the translation server. |  226   // The languages supported by the translation server. | 
|  227   static base::LazyInstance<std::set<std::string> > supported_languages_; |  227   static base::LazyInstance<std::set<std::string> > supported_languages_; | 
|  228  |  228  | 
|  229   DISALLOW_COPY_AND_ASSIGN(TranslateManager); |  229   DISALLOW_COPY_AND_ASSIGN(TranslateManager); | 
|  230 }; |  230 }; | 
|  231  |  231  | 
|  232 #endif  // CHROME_BROWSER_TRANSLATE_TRANSLATE_MANAGER_H_ |  232 #endif  // CHROME_BROWSER_TRANSLATE_TRANSLATE_MANAGER_H_ | 
| OLD | NEW |