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

Side by Side Diff: components/safe_browsing/renderer/phishing_classifier_delegate.h

Issue 2667343006: Componentize safe_browsing [X+1] : move the renderer part to component.
Patch Set: Created 3 years, 10 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // This class is used by the RenderView to interact with a PhishingClassifier. 5 // This class is used by the RenderView to interact with a PhishingClassifier.
6 6
7 #ifndef CHROME_RENDERER_SAFE_BROWSING_PHISHING_CLASSIFIER_DELEGATE_H_ 7 #ifndef COMPONENTS_SAFE_BROWSING_RENDERER_PHISHING_CLASSIFIER_DELEGATE_H_
8 #define CHROME_RENDERER_SAFE_BROWSING_PHISHING_CLASSIFIER_DELEGATE_H_ 8 #define COMPONENTS_SAFE_BROWSING_RENDERER_PHISHING_CLASSIFIER_DELEGATE_H_
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 #include "content/public/renderer/render_frame_observer.h" 14 #include "content/public/renderer/render_frame_observer.h"
15 #include "content/public/renderer/render_thread_observer.h" 15 #include "content/public/renderer/render_thread_observer.h"
16 #include "ui/base/page_transition_types.h" 16 #include "ui/base/page_transition_types.h"
17 #include "url/gurl.h" 17 #include "url/gurl.h"
18 18
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 bool have_page_text_; 135 bool have_page_text_;
136 136
137 // Set to true if the classifier is currently running. 137 // Set to true if the classifier is currently running.
138 bool is_classifying_; 138 bool is_classifying_;
139 139
140 DISALLOW_COPY_AND_ASSIGN(PhishingClassifierDelegate); 140 DISALLOW_COPY_AND_ASSIGN(PhishingClassifierDelegate);
141 }; 141 };
142 142
143 } // namespace safe_browsing 143 } // namespace safe_browsing
144 144
145 #endif // CHROME_RENDERER_SAFE_BROWSING_PHISHING_CLASSIFIER_DELEGATE_H_ 145 #endif // COMPONENTS_SAFE_BROWSING_RENDERER_PHISHING_CLASSIFIER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698