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

Side by Side Diff: components/ntp_snippets/content_suggestions_provider.h

Issue 2744253004: NTP: clang-format (Closed)
Patch Set: Created 3 years, 9 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_NTP_SNIPPETS_CONTENT_SUGGESTIONS_PROVIDER_H_ 5 #ifndef COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTIONS_PROVIDER_H_
6 #define COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTIONS_PROVIDER_H_ 6 #define COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTIONS_PROVIDER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // suggestions for the given |category|, if present, so that no suggestions 144 // suggestions for the given |category|, if present, so that no suggestions
145 // are suppressed. This does not necessarily make previously dismissed 145 // are suppressed. This does not necessarily make previously dismissed
146 // suggestions reappear, as they may have been permanently deleted, depending 146 // suggestions reappear, as they may have been permanently deleted, depending
147 // on the provider implementation. 147 // on the provider implementation.
148 virtual void ClearDismissedSuggestionsForDebugging(Category category) = 0; 148 virtual void ClearDismissedSuggestionsForDebugging(Category category) = 0;
149 149
150 protected: 150 protected:
151 ContentSuggestionsProvider(Observer* observer); 151 ContentSuggestionsProvider(Observer* observer);
152 152
153 Observer* observer() const { return observer_; } 153 Observer* observer() const { return observer_; }
154
154 private: 155 private:
155 Observer* observer_; 156 Observer* observer_;
156 }; 157 };
157 158
158 } // namespace ntp_snippets 159 } // namespace ntp_snippets
159 160
160 #endif // COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTIONS_PROVIDER_H_ 161 #endif // COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTIONS_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698