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

Unified Diff: chrome/browser/printing/print_preview_data_service.h

Issue 1308823002: Move Singleton and related structs to namespace base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ToT Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/printing/print_preview_data_service.h
diff --git a/chrome/browser/printing/print_preview_data_service.h b/chrome/browser/printing/print_preview_data_service.h
index 9ed94fdd70f27f175812c351b4e786b69da21f63..af7aa84ebc6a209a53387ccd172be79ded5fe83e 100644
--- a/chrome/browser/printing/print_preview_data_service.h
+++ b/chrome/browser/printing/print_preview_data_service.h
@@ -10,11 +10,11 @@
#include "base/memory/ref_counted.h"
-template<typename T> struct DefaultSingletonTraits;
-
class PrintPreviewDataStore;
namespace base {
+template <typename T>
+struct DefaultSingletonTraits;
class RefCountedBytes;
}
@@ -46,7 +46,7 @@ class PrintPreviewDataService {
int GetAvailableDraftPageCount(int32_t preview_ui_id);
private:
- friend struct DefaultSingletonTraits<PrintPreviewDataService>;
+ friend struct base::DefaultSingletonTraits<PrintPreviewDataService>;
// 1:1 relationship between PrintPreviewUI and data store object.
// Key: PrintPreviewUI ID.

Powered by Google App Engine
This is Rietveld 408576698