| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_PREDICTORS_LOGGED_IN_PREDICTOR_TABLE_H_ | 5 #ifndef CHROME_BROWSER_PREDICTORS_LOGGED_IN_PREDICTOR_TABLE_H_ |
| 6 #define CHROME_BROWSER_PREDICTORS_LOGGED_IN_PREDICTOR_TABLE_H_ | 6 #define CHROME_BROWSER_PREDICTORS_LOGGED_IN_PREDICTOR_TABLE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 const base::Time& delete_end); | 42 const base::Time& delete_end); |
| 43 void GetAllData(LoggedInStateMap* state_map); | 43 void GetAllData(LoggedInStateMap* state_map); |
| 44 | 44 |
| 45 static std::string GetKey(const GURL& url); | 45 static std::string GetKey(const GURL& url); |
| 46 static std::string GetKeyFromDomain(const std::string& domain); | 46 static std::string GetKeyFromDomain(const std::string& domain); |
| 47 | 47 |
| 48 private: | 48 private: |
| 49 friend class PredictorDatabaseInternal; | 49 friend class PredictorDatabaseInternal; |
| 50 | 50 |
| 51 LoggedInPredictorTable(); | 51 LoggedInPredictorTable(); |
| 52 virtual ~LoggedInPredictorTable(); | 52 ~LoggedInPredictorTable() override; |
| 53 | 53 |
| 54 // PredictorTableBase methods. | 54 // PredictorTableBase methods. |
| 55 virtual void CreateTableIfNonExistent() override; | 55 void CreateTableIfNonExistent() override; |
| 56 virtual void LogDatabaseStats() override; | 56 void LogDatabaseStats() override; |
| 57 | 57 |
| 58 DISALLOW_COPY_AND_ASSIGN(LoggedInPredictorTable); | 58 DISALLOW_COPY_AND_ASSIGN(LoggedInPredictorTable); |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 } // namespace predictors | 61 } // namespace predictors |
| 62 | 62 |
| 63 #endif // CHROME_BROWSER_PREDICTORS_LOGGED_IN_PREDICTOR_TABLE_H_ | 63 #endif // CHROME_BROWSER_PREDICTORS_LOGGED_IN_PREDICTOR_TABLE_H_ |
| OLD | NEW |