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

Side by Side Diff: chrome/browser/safe_browsing/client_side_model_loader.h

Issue 2546183004: Remove unused linked_ptr inclusion (Closed)
Patch Set: Created 4 years 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 (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 // Helper class loads models for client-side phishing detection 5 // Helper class loads models for client-side phishing detection
6 // from the the SafeBrowsing backends. 6 // from the the SafeBrowsing backends.
7 // 7 //
8 // This class is not thread-safe and expects all calls to be made on the UI 8 // This class is not thread-safe and expects all calls to be made on the UI
9 // thread. 9 // thread.
10 10
11 #ifndef CHROME_BROWSER_SAFE_BROWSING_CLIENT_SIDE_MODEL_LOADER_H_ 11 #ifndef CHROME_BROWSER_SAFE_BROWSING_CLIENT_SIDE_MODEL_LOADER_H_
12 #define CHROME_BROWSER_SAFE_BROWSING_CLIENT_SIDE_MODEL_LOADER_H_ 12 #define CHROME_BROWSER_SAFE_BROWSING_CLIENT_SIDE_MODEL_LOADER_H_
13 13
14 #include <stddef.h> 14 #include <stddef.h>
15 #include <stdint.h> 15 #include <stdint.h>
16 16
17 #include <memory> 17 #include <memory>
18 #include <string> 18 #include <string>
19 19
20 #include "base/callback.h" 20 #include "base/callback.h"
21 #include "base/gtest_prod_util.h" 21 #include "base/gtest_prod_util.h"
22 #include "base/macros.h" 22 #include "base/macros.h"
23 #include "base/memory/linked_ptr.h"
24 #include "base/memory/ref_counted.h" 23 #include "base/memory/ref_counted.h"
25 #include "base/memory/weak_ptr.h" 24 #include "base/memory/weak_ptr.h"
26 #include "content/public/browser/browser_thread.h" 25 #include "content/public/browser/browser_thread.h"
27 #include "net/url_request/url_fetcher_delegate.h" 26 #include "net/url_request/url_fetcher_delegate.h"
28 #include "url/gurl.h" 27 #include "url/gurl.h"
29 28
30 namespace base { 29 namespace base {
31 class TimeDelta; 30 class TimeDelta;
32 } 31 }
33 32
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 FRIEND_TEST_ALL_PREFIXES(ModelLoaderTest, RescheduleFetchTest); 133 FRIEND_TEST_ALL_PREFIXES(ModelLoaderTest, RescheduleFetchTest);
135 FRIEND_TEST_ALL_PREFIXES(ModelLoaderTest, UpdateRenderersTest); 134 FRIEND_TEST_ALL_PREFIXES(ModelLoaderTest, UpdateRenderersTest);
136 FRIEND_TEST_ALL_PREFIXES(ClientSideDetectionServiceTest, 135 FRIEND_TEST_ALL_PREFIXES(ClientSideDetectionServiceTest,
137 SetEnabledAndRefreshState); 136 SetEnabledAndRefreshState);
138 DISALLOW_COPY_AND_ASSIGN(ModelLoader); 137 DISALLOW_COPY_AND_ASSIGN(ModelLoader);
139 }; 138 };
140 139
141 } // namespace safe_browsing 140 } // namespace safe_browsing
142 141
143 #endif // CHROME_BROWSER_SAFE_BROWSING_CLIENT_SIDE_MODEL_LOADER_H_ 142 #endif // CHROME_BROWSER_SAFE_BROWSING_CLIENT_SIDE_MODEL_LOADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698