Reorgnize the platform-specific files
This commit is contained in:
parent
b2542a27c3
commit
5f1c76c688
7 changed files with 18 additions and 24 deletions
|
@ -2,11 +2,12 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "atom/browser/api/atom_api_in_app_purchase.h"
|
||||
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "atom/browser/api/atom_api_in_app_purchase.h"
|
||||
#include "atom/common/native_mate_converters/callback.h"
|
||||
#include "native_mate/dictionary.h"
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
#include "atom/browser/in_app_purchase.h"
|
||||
#include "atom/browser/in_app_purchase_observer.h"
|
||||
#include "atom/browser/mac/in_app_purchase.h"
|
||||
#include "atom/browser/mac/in_app_purchase_observer.h"
|
||||
#include "native_mate/dictionary.h"
|
||||
|
||||
namespace mate {
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef ATOM_BROWSER_IN_APP_PURCHASE_H_
|
||||
#define ATOM_BROWSER_IN_APP_PURCHASE_H_
|
||||
#ifndef ATOM_BROWSER_MAC_IN_APP_PURCHASE_H_
|
||||
#define ATOM_BROWSER_MAC_IN_APP_PURCHASE_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -27,4 +27,4 @@ void PurchaseProduct(const std::string& productID,
|
|||
|
||||
} // namespace in_app_purchase
|
||||
|
||||
#endif // ATOM_BROWSER_IN_APP_PURCHASE_H_
|
||||
#endif // ATOM_BROWSER_MAC_IN_APP_PURCHASE_H_
|
|
@ -2,7 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "atom/browser/in_app_purchase.h"
|
||||
#include "atom/browser/mac/in_app_purchase.h"
|
||||
|
||||
#include "base/bind.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "content/public/browser/browser_thread.h"
|
|
@ -2,8 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef ATOM_BROWSER_IN_APP_PURCHASE_OBSERVER_H_
|
||||
#define ATOM_BROWSER_IN_APP_PURCHASE_OBSERVER_H_
|
||||
#ifndef ATOM_BROWSER_MAC_IN_APP_PURCHASE_OBSERVER_H_
|
||||
#define ATOM_BROWSER_MAC_IN_APP_PURCHASE_OBSERVER_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -38,4 +38,4 @@ void AddTransactionObserver(const InAppTransactionCallback& callback);
|
|||
|
||||
} // namespace in_app_purchase
|
||||
|
||||
#endif // ATOM_BROWSER_IN_APP_PURCHASE_OBSERVER_H_
|
||||
#endif // ATOM_BROWSER_MAC_IN_APP_PURCHASE_OBSERVER_H_
|
|
@ -2,7 +2,8 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "atom/browser/in_app_purchase_observer.h"
|
||||
#include "atom/browser/mac/in_app_purchase_observer.h"
|
||||
|
||||
#include "base/bind.h"
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "content/public/browser/browser_thread.h"
|
|
@ -187,10 +187,6 @@
|
|||
'atom/browser/atom_browser_context.h',
|
||||
'atom/browser/atom_download_manager_delegate.cc',
|
||||
'atom/browser/atom_download_manager_delegate.h',
|
||||
'atom/browser/in_app_purchase.h',
|
||||
'atom/browser/in_app_purchase_mac.mm',
|
||||
'atom/browser/in_app_purchase_observer.h',
|
||||
'atom/browser/in_app_purchase_observer_mac.mm',
|
||||
'atom/browser/atom_browser_main_parts.cc',
|
||||
'atom/browser/atom_browser_main_parts.h',
|
||||
'atom/browser/atom_browser_main_parts_mac.mm',
|
||||
|
@ -238,6 +234,10 @@
|
|||
'atom/browser/mac/atom_application_delegate.mm',
|
||||
'atom/browser/mac/dict_util.h',
|
||||
'atom/browser/mac/dict_util.mm',
|
||||
'atom/browser/mac/in_app_purchase.h',
|
||||
'atom/browser/mac/in_app_purchase.mm',
|
||||
'atom/browser/mac/in_app_purchase_observer.h',
|
||||
'atom/browser/mac/in_app_purchase_observer.mm',
|
||||
'atom/browser/native_browser_view.cc',
|
||||
'atom/browser/native_browser_view.h',
|
||||
'atom/browser/native_browser_view_mac.h',
|
||||
|
@ -733,15 +733,6 @@
|
|||
'atom/browser/osr/osr_view_proxy.h',
|
||||
],
|
||||
}], # enable_osr==1
|
||||
['OS=="mac"', {
|
||||
'app_sources': [
|
||||
'atom/browser/in_app_purchase.h',
|
||||
'atom/browser/in_app_purchase_mac.mm',
|
||||
'atom/browser/in_app_purchase_observer.h',
|
||||
'atom/browser/in_app_purchase_observer_mac.mm'
|
||||
],
|
||||
}], # OS=="mac"
|
||||
|
||||
],
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue