Skip to content
This repository has been archived by the owner on Mar 6, 2019. It is now read-only.

Commit

Permalink
Improved API comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tmancey committed Nov 17, 2018
1 parent c254587 commit 6d7f86c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions include/bat/ads/ads.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ class ADS_EXPORT Ads {
const NotificationInfo& info,
const NotificationResultInfoResultType type) = 0;

// Should be called to initialize ads, and when ads have been disabled on the
// Client
// Should be called when ads are enabled or disabled on the Client
virtual void Initialize() = 0;

// Should be called whenever the browser gains or loses focus
Expand Down Expand Up @@ -80,8 +79,8 @@ class ADS_EXPORT Ads {
const std::string& url,
const std::string& html) = 0;

// Should be called when the user changes their locale (e.g., "en_US", "fr",
// or "en" etc.)
// Should be called when the user changes their device locale (e.g., "en_US",
// "fr", or "en" etc.)
virtual void ChangeLocale(const std::string& locale) = 0;

// Frequently called to determine whether a notification should be displayed;
Expand Down

0 comments on commit 6d7f86c

Please sign in to comment.